1
wankeda
2025-03-22 867aba2636e34a1050b1c4c84bbe78cc9c39b553
´úÂë¹ÜÀí/AGVjiaoliaoPDA/pages/materielGroup/Inorderboxing.vue
@@ -57,10 +57,10 @@
                  <uni-forms-item label="任务编号">
                     <uni-easyinput type="text" v-model="taskname" placeholder="请确认任务号" ref='midInput':focus="addressFocus"/>
                  </uni-forms-item>
<!--                   <uni-forms-item label="托盘条码">
                  <uni-forms-item label="物料类型">
                     <uni-easyinput type="text" :focus="!addressFocus" v-model="inboundBarcode"
                        placeholder="请扫描托盘条码" ref='midInput' @input="inputChangebarcode" />
                  </uni-forms-item> -->
                        placeholder="请扫描物料类型" ref='midInput' @input="inputChangebarcode" />
                  </uni-forms-item>
                  <uni-forms-item label="起始地址条码">
                     <uni-easyinput type="text" v-model="address" placeholder="请扫描起始地址条码" ref='midInput'
                        :focus="addressFocus" />
@@ -182,6 +182,7 @@
         this.addressFocus = false;
         this.orderNo = res.orderNo;
         this.label = "单据编号:" + this.orderNo;
         this.taskname=res.orderNo;
         this.getData();
      },
      methods: {
@@ -375,22 +376,22 @@
            })
         },
         inbound() {
            var postData = {
               MainData: {
                  "barcode": this.inboundBarcode,
                  "startPoint": this.address,
                  "taskname":this.taskname,
               }
         var postData = {
            MainData: {
               "barcode": this.inboundBarcode,
               "startPoint": this.address,
               "taskname":this.taskname,
            }
            this.$u.post('/api/Task/RequestInbound', postData).then(res => {
               if (res.status) {
                  uni.$showMsg("任务添加成功");
                  this.inboundBarcode = "";
                  this.address = "";
                  this.taskname="";
                  setTimeout(() => {
                     this.addressFocus = false;
                  }, 200);
         }
         this.$u.post('/api/Task/RequestInbound', postData).then(res => {
            if (res.status) {
               uni.$showMsg("任务添加成功");
               this.inboundBarcode = "";
               this.address = "";
               this.taskname="";
               setTimeout(() => {
                  this.addressFocus = false;
               }, 200);
               } else {
                  this.$refs.uToast.show({
                     title: res.message,