#
whycq
2024-06-14 ecc23221e3344bc4a82a80290498f41553db3d5f
pages/phyz/wrkMast/wrkMast.vue
@@ -165,15 +165,15 @@
      onLoad() {
         this.baseUrl = uni.getStorageSync('baseUrl');
         this.token = uni.getStorageSync('token');
         this.searchValue = uni.getStorageSync('bcpThreeCode');
         this.searchValue = uni.getStorageSync('wrkNo');
         this.getOrderDetlList(this.searchValue,10)
         console.log("onLoad");
      },
      onShow() {
         console.log(uni.getStorageSync('pakinOrderCar'));
         console.log(uni.getStorageSync('wrkNo'));
      },
      onHide() {
         uni.setStorageSync('pakinOrderCar', this.orderCarList);
         uni.setStorageSync('wrkNo', this.orderCarList);
      },
      methods: {
         getOrderDetlList(threeCode,limit) {
@@ -218,7 +218,7 @@
         searchValueInput2() {
            this.dataList = []
            this.data.curr = 1
            uni.setStorageSync('bcpThreeCode', this.searchValue);
            uni.setStorageSync('wrkNo', this.searchValue);
            if (this.searchValue.length == 0) {
               this.getOrderDetlList(this.searchValue,10)
            } else {
@@ -273,7 +273,7 @@
                     console.log(data);
                     if (data.data == 1) {
                        _this.orderCarList = []
                        _this.getOrderDetlList(uni.getStorageSync('bcpThreeCode'),10)
                        _this.getOrderDetlList(uni.getStorageSync('wrkNo'),10)
                     }
                  }
               }