1
zhangc
2025-03-07 fc549ce40b7c58c32daf5238e5e274a15455f651
pages/phyz/orderOut/orderOutSelectV2.vue
@@ -21,6 +21,7 @@
            <view>订单数量:{{orderDetl.anfme}}</view>
            <view>库存数量:{{orderDetl.stock}}</view>
            <view>已出数量:{{orderDetl.qty}}</view>
            <view v-if="orderDetl.workNum">正在作业数量:{{orderDetl.workNum}}</view>
         </view>
         <view class="list-right" @click="goToLocDetl(orderDetl)">
            <uni-icons type="right" size="25"  color="#fff"></uni-icons>
@@ -121,13 +122,24 @@
         let _this = this
         const eventChannel = this.getOpenerEventChannel();
         eventChannel.on('param', function(data) {
            _this.data.orderType = data.param.orderType
            var orderType = data.param.orderType
            if (orderType != [] || orderType != null) {
               uni.setStorageSync('dataOrderTypeOut', orderType);
               _this.data.orderType = orderType
            } else {
               orderType = uni.getStorageSync('dataOrderTypeOut');
               if (orderType != [] || orderType != null) {
                  _this.data.orderType = orderType
               } else {
                  _this.data.orderType = []
               }
            }
            _this.baseUrl = uni.getStorageSync('baseUrl');
            _this.token = uni.getStorageSync('token');
            _this.searchValue = uni.getStorageSync('threeCode');
            _this.getOrderDetlList(_this.searchValue,10)
            console.log("onLoad");
         })
         this.baseUrl = uni.getStorageSync('baseUrl');
         this.token = uni.getStorageSync('token');
         this.searchValue1 = uni.getStorageSync('threeCodeOut193');
         this.searchValue2 = uni.getStorageSync('threeCodeOut2');
         this.getOrderDetlList(this.searchValue1,10)
      },
      methods: {
         getOrderDetlList(threeCode,limit) {