wangxinhui
2025-11-18 b513ce3a4527e998da66c6f179a279472c7262a8
ÏîÄ¿´úÂë/ÁúÀûµÃPDA/pages/stash/boxing.vue
@@ -84,14 +84,16 @@
                     <uni-easyinput type="text" v-model="addressEmpty" placeholder="请扫描地址条码" ref='midInput'
                        :focus="addressEmptyFocus" />
                  </uni-forms-item>
                  <uni-forms-item label="叠盘/立库">
                     <uni-data-checkbox v-model="target" :localdata="targetAddress" style="margin-top: 5px;"/>
                  </uni-forms-item>
                  <uni-forms-item>
                     <button @click="inEmpty" type="primary" size="default" style="margin-top: 2%;">入库确认</button>
                     <button @click="inEmpty" type="primary" size="default" style="margin-top: 2%;">呼叫确认</button>
                  </uni-forms-item>
               </uni-forms>
            </view>
         </view>
         <view v-if="current === 2" class="headerstyle">
            <view class="itemstyle">
               <uni-forms label-width="120">
                  <uni-forms-item label="物料编码">
@@ -148,6 +150,14 @@
            bindCode: "",
            rfidCode: "",
            rfid:"",
            targetAddress: [{
                  text: '叠盘',
                  value: 0
               }, {
                  text: '立库',
                  value: 1
               }],
            target: 0,
            outCount: 0,
            addressEmptyFocus: false,
            startPointRange: []
@@ -195,12 +205,6 @@
            } else {
               this.addressEmptyFocus = false;
            }
            if (this.inboundCode) {
               this.addressEmptyFocus = true;
            } else {
               this.addressEmptyFocus = false;
            }
         },
         inEmpty() {
            if (this.emptyCode == "") {
@@ -217,11 +221,13 @@
               })
               return;
            }
            var url = "?barCode=" + this.emptyCode + "&startPoint=" + this.addressEmpty;
            var url = "?barCode=" + this.emptyCode + "&startPoint=" + this.addressEmpty + "&target=" + this.target;
            this.$u.post('/api/Task/EmptyBackTask' + url, {}).then(res => {
               if (res.status) {
                  this.emptyCode = "";
                  this.addressEmpty = "";
                  this.target=0;
                  this.addressEmptyFocus=false;
                  //获取总数量
                  setTimeout(() => {
                     this.addressEmptyFocus = false;