1
zhangc
2025-03-07 fc549ce40b7c58c32daf5238e5e274a15455f651
pages/phyz/orderOut/orderOutSelect.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>
@@ -119,12 +120,13 @@
      onShow() {
         this.baseUrl = uni.getStorageSync('baseUrl');
         this.token = uni.getStorageSync('token');
         this.searchValue1 = uni.getStorageSync('threeCodeOut1');
         this.searchValue1 = uni.getStorageSync('threeCodeOut193');
         this.searchValue2 = uni.getStorageSync('threeCodeOut2');
         this.getOrderDetlList(this.searchValue1,10)
      },
      methods: {
         getOrderDetlList(threeCode,limit) {
            // this.get(threeCode,limit)
            uni.showLoading({})
            let _this = this
            _this.mask = true
@@ -162,10 +164,28 @@
               }
            })
         },
         get(threeCode,limit) {
            let _this = this
            _this.mask = true
            _this.data.three_code = threeCode
            _this.data.limit = 10
            for   (var i = 0; i < 30; i++) {
               console.log(1);
               uni.request({
                  url: `${_this.baseUrl}/orderDetl/pakout/list/authV3`,
                  header: {'token': uni.getStorageSync('token')},
                  data: _this.data,
                  method: 'GET',
                  success(res) {
                  }
               })
            }
         },
         searchValueInput1() {
            this.dataList = []
            this.data.curr = 1
            uni.setStorageSync('threeCodeOut1', this.searchValue1);
            uni.setStorageSync('threeCodeOut193', this.searchValue1);
            uni.setStorageSync('threeCodeOut2', this.searchValue2);
            if (this.searchValue1.length == 0) {
               this.getOrderDetlList(this.searchValue1,10)
@@ -175,7 +195,7 @@
            
         },
         searchValueInput2() {
            uni.setStorageSync('threeCodeOut1', this.searchValue1);
            uni.setStorageSync('threeCodeOut193', this.searchValue1);
            uni.setStorageSync('threeCodeOut2', this.searchValue2);
            if (this.searchValue1.length == 0) {
               this.getOrderDetlList(this.searchValue1,10)
@@ -203,7 +223,7 @@
            }
            let _this = this
            uni.navigateTo({
               url: './orderList',
               url: './orderCheck',
               success(res) {
                  res.eventChannel.emit('item', {
                     item: item
@@ -225,7 +245,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.searchValue1,10)
            this.$refs.filter.close()