wankeda
2025-04-18 b9740c5fc85e626cb455bc5bac685fa247839d00
´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_PDA/pages/½ÐÁÏ/Õý¼«½ÐÁÏ.vue
@@ -101,7 +101,7 @@
                     size: this.size
                  };
                  // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
               this.$u.post(res.data.CZFJiP + '/makerwit/selectKHWareType', null).then(res => {
                  this.$u.post(res.data.CZFJiP + '/makerwit/selectKHWareType', null).then(res => {
                     console.log(res);
                     this.$t.message.closeLoading();
                     cb && cb();
@@ -120,7 +120,7 @@
               },
            });
         },
         clickLoadMore(e) {
            this.status = 'loading';
            this.current += 1;
@@ -152,19 +152,20 @@
               this.$t.message.toast('可叫数量为0,无法叫任务');
               return;
            }
            let guid = this.generateUUID()
            let formDataParam = {
            dTaskId: this.generateUUID(),
            productCode: productCode,
            orderNo: orderNo,
            taskNo:2,
            number: availableQuantity > 4 ? 4 : availableQuantity,
            inputValue: inputValue,
            DTaskId: this.generateUUID(),
            ProductCode: productCode,
            OrderNo: orderNo,
            Number: availableQuantity > 4 ? 4 : availableQuantity,
            InputValue: inputValue,
            TaskType: "正极"
               dTaskId: guid,
               productCode: productCode,
               orderNo: orderNo,
               taskNo: 2,
               number: availableQuantity > 4 ? 4 : availableQuantity,
               inputValue: inputValue,
               DTaskId: guid,
               ProductCode: productCode,
               OrderNo: orderNo,
               Number: availableQuantity > 4 ? 4 : availableQuantity,
               InputValue: inputValue,
               TaskType: "正极"
               // ...其他需要传递的参数
            };
            this.$u.post('/api/PDA/AddCZTask', formDataParam).then(res => {
@@ -173,17 +174,19 @@
                  // ä½¿ç”¨åˆ›æ™ºå®Œæ•´æŽ¥å£
                  this.$u.post(value.CZZJip + '/makerwit/insertTask', formDataParam).then(res => {
                     this.$t.message.closeLoading();
                           if (res.code == 200) {
                     if (res.code == 200) {
                        this.$t.message.toast('呼叫成功');
                        this.inputValue="",
                        this.numberValue="",
                        this.$refs.popup.close();
                        // this.submit();
                     } else {
                        this.$t.message.toast(res.msg);
                        this.$t.message.toast(res.message);
                     }
                  });
                  // this.submit();
               } else {
                  this.$t.message.toast(res.msg);
                  this.$t.message.toast(res.message);
               }
            }).catch((err) => {
               this.$t.message.toast(err.message);