#
whycq
2025-02-11 efd037de2d6caab356775e4fdffbc74fa3ac6522
pages/phyz/bcp/bcpOrder.vue
@@ -46,7 +46,7 @@
               <!-- 标题 -->
               <view class="title">入库数量</view>
               <view class="popup-item">
                  <uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" />
                  <uni-number-box :value="count" :step='0.01' :max="9999999" color="#747474" @change="changeValue" />
               </view>
               <view class="btn">
                  <view class="btn-left" @click="addClose">取消</view>
@@ -139,12 +139,14 @@
      onLoad() {
         this.baseUrl = uni.getStorageSync('baseUrl');
         this.token = uni.getStorageSync('token');
         this.searchValue = uni.getStorageSync('threeCode');
         // this.searchValue = uni.getStorageSync('bcpThreeCode');
         this.searchValue = ''
         this.getOrderDetlList(this.searchValue,10)
         console.log("onLoad");
      },
      onShow() {
         console.log(uni.getStorageSync('pakinOrderCar'));
         this.searchValue = ''
         this.getOrderDetlList(this.searchValue,10)
      },
      onHide() {
         uni.setStorageSync('pakinOrderCar', this.orderCarList);
@@ -192,7 +194,7 @@
         searchValueInput2() {
            this.dataList = []
            this.data.curr = 1
            uni.setStorageSync('threeCode', this.searchValue);
            uni.setStorageSync('bcpThreeCode', this.searchValue);
            if (this.searchValue.length == 0) {
               this.getOrderDetlList(this.searchValue,10)
            } else {
@@ -246,7 +248,7 @@
               return
            }
            uni.navigateTo({
               url: '../order/orderCar',
               url: './orderCar',
               success(res) {
                  res.eventChannel.emit('item', {
                     item: _this.orderCarList
@@ -257,7 +259,7 @@
                     console.log(data);
                     if (data.data == 1) {
                        _this.orderCarList = []
                        _this.getOrderDetlList(uni.getStorageSync('threeCode'),10)
                        _this.getOrderDetlList(uni.getStorageSync('bcpThreeCode'),10)
                     }
                  }
               }
@@ -275,7 +277,7 @@
            this.data.curr = 1
            this.data.maktx = this.maktx
            this.data.matnr = this.matnr
            this.data.order_no = this.order_no
            this.data.order_no = this.orderNo
            this.data.brand = this.brand
            this.getOrderDetlList(this.searchValue,10)
            this.$refs.filter.close()