#
zjj
2025-05-05 93c861f445641d96cd794638c41f81805a02bdb2
pages/rece/other.vue
@@ -90,8 +90,7 @@
                     <view class="cu-form-group padding-lr-0">
                        <view class="title text-blue"><text
                              class="text-red text-xl vertical-middle">*</text>收货数量:</view>
                        <uni-number-box style="width: 70%;" v-model="item.receiptQty"
                           :step='1'></uni-number-box>
                        <uni-number-box style="width: 70%;" :max="max" v-model="item.receiptQty" :step='1'></uni-number-box>
                     </view>
                  </view>
                  <view class="content" v-else>
@@ -160,8 +159,8 @@
      </view>
      <view class="cu-bar btn-group foot" v-show="isconfirm">
         <button class="cu-btn text-blue line-blue shadow" @click="prev">上一步</button>
         <button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="confirm(false)">收货</button>
         <button class="cu-btn text-blue line-blue shadow" @click="prev">上一步</button>
         <button class="cu-btn bg-blue shadow-blur" @click="confirm(false)">收货</button>
      </view>
   </view>
@@ -185,8 +184,8 @@
            whAreaId: '',
            list: [],
            range: [],
            repeatClick: false,
            isconfirm: false
            isconfirm: false,
            max: 99999999
         }
      },
      computed: {
@@ -237,7 +236,7 @@
            this.list = []
            this.barcode = ''
         },
         next(event) {
         next() {
            if (this.list.length) {
               this.isconfirm = true
            } else {
@@ -287,7 +286,7 @@
                  };
               }).filter(el => el.receiptQty !== 0);
               this.repeatClick = true
               const {
                  code,
                  data,
@@ -303,15 +302,13 @@
                  })
                  this.list = []
                  this.barcode = ''
                  this.isconfirm = false
                  this.repeatClick = false
                  this.isconfirm = false
                  isCom && this.complete(data.id)
               } else {
                  uni.showToast({
                     title: msg,
                     icon: "none",
                  })
                  this.repeatClick = false
               }
            }
         },