dengjunjie
2025-10-17 4e81beaf39a525c1ecb86d50dd05438959af6e12
н¨Îļþ¼Ð/PDA/pages/stash/outFinish.vue
ÎļþÃû´Ó н¨Îļþ¼Ð/PDA/pages/stash/Outorderboxing.vue ÐÞ¸Ä
@@ -8,22 +8,22 @@
               <uni-forms label-width="180">
                  <uni-forms-item :label="label">
                  </uni-forms-item>
                  <uni-forms-item :label="goods_no">
                  </uni-forms-item>
                  <uni-forms-item :label="batch_num">
                  </uni-forms-item>
                  <uni-forms-item :label="order_qty">
                  <uni-forms-item :label="goods_no">
                  </uni-forms-item>
                  <uni-forms-item :label="order_Inqty">
                  </uni-forms-item>
                  <uni-forms-item :label="order_qty">
                  </uni-forms-item>
                  <uni-forms-item label="库位编号:">
                     <uni-easyinput type="text" placeholder="请扫描库位编号" ref='midInput' :focus="!focus"
                        v-model="barcode" @confirm="barcodeInput" />
                  </uni-forms-item>
                  <uni-forms-item label="出库数量:">
                  <!-- <uni-forms-item label="出库数量:">
                     <uni-easyinput type="text" placeholder="请输入出库数量" ref='midInput' :focus="focus"
                        v-model="materSn" @confirm="snInput" />
                  </uni-forms-item>
                  </uni-forms-item> -->
                  <uni-forms-item :label="Testlabel" v-if="Test">
                     <uni-easyinput type="text" :placeholder="Testplaceholder" ref='midInput'
@@ -132,6 +132,7 @@
         return {
            items: ['出库'], //, '解盘''组盘', , '单据信息'
            current: 0,
            taskId:"",
            matTotal: [],
            matInfos: [],
            orderNo: "",
@@ -174,16 +175,17 @@
         this.focus = false;
         this.addressFocus = false;
         this.orderNo = res.orderNo;
         this.taskId=res.taskId;
         this.Inqty=res.order_Inqty;
         this.orderqty=res.order_qty;
         this.batchNo=res.batchNo;
         this.warehouseId = res.warehouseId;
         this.label = "单据编号:" + this.orderNo;
         this.batch_num="批次号:"+res.batchNo;
         this.order_qty="单据数量:"+res.order_qty;
         this.order_Inqty="已出库数量:"+this.Inqty;
         this.goods_no="物料编号:"+res.goods_no;
         this.getData();
         this.order_qty="出库数量:"+res.stockQuantity;
         this.order_Inqty="物料名称:"+res.materielName;
         this.goods_no="物料编号:"+res.materielCode;
         // this.getData();
      },
      methods: {
         // voiceSpeech(src) {
@@ -444,22 +446,23 @@
               })
               return;
            }
            if (this.materSn.length == 0) {
               this.$refs.uToast.show({
                  title: "请输入出库数量",
                  type: 'error'
               })
               return;
            }
            this.$u.post('/api/DeliveryOrder/FeedbackOut', {
            // if (this.materSn.length == 0) {
            //    this.$refs.uToast.show({
            //       title: "请输入出库数量",
            //       type: 'error'
            //    })
            //    return;
            // }
            this.$u.post('/api/DeliveryOrder/OutFinish', {
               MainData: {
                  "LocationCode": this.barcode,
                  "warehouseCode": this.warehouseId,
                  "orderNo": this.orderNo,
                  "Inqty": this.materSn,
                  "batchNo": this.batchNo,
                  "locationCode": this.barcode,
                  "taskId":this.taskId,
                  // "warehouseCode": this.warehouseId,
                  // "orderNo": this.orderNo,
                  // "Inqty": this.materSn,
                  // "batchNo": this.batchNo,
               },
               DelKeys: this.sns
               // DelKeys: this.sns
            }).then(res => {
               this.Testcheck = false;
               if (res.status) {
@@ -468,9 +471,9 @@
                     type: "success"
                  })
                  this.Inqty=res.message;
                  this.order_Inqty="已出库数量:"+this.Inqty;
                  // this.order_Inqty="已出库数量:"+this.Inqty;
                  this.barcode="";
                  this.materSn="";
                  // this.materSn="";
               } else {
                  this.$refs.uToast.show({
                     title: res.message,