1
wankeda
2 天以前 786c5ca17012ff3a01faf466b751bdbe70629b97
代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/负极叫料.vue
@@ -112,7 +112,7 @@
                     size: this.size
                  };
                  // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛
                     // this.$u.post('http://192.168.31.240:9090/makerwit/selectKHWareType', null).then(res => {
                  // this.$u.post('http://192.168.31.240:9090/makerwit/selectKHWareType', null).then(res => {
                  this.$u.post(res.data.CZFJiP + '/makerwit/selectKHWareType', null).then(res => {
                     console.log(res);
                     this.$t.message.closeLoading();
@@ -170,15 +170,15 @@
               this.$t.message.toast('鍙枡鏁伴噺涓嶈兘瓒呰繃鍙彨鏁伴噺');
               return;
            }
            let guid =this.generateUUID()
            let formDataParam = {
               dTaskId: this.generateUUID(),
               dTaskId: guid,
               productCode: productCode,
               orderNo: orderNo,
               taskNo:2,
               number: numberValue,
               inputValue: inputValue,
               DTaskId: this.generateUUID(),
               DTaskId: guid,
               ProductCode: productCode,
               OrderNo: orderNo,
               Number: numberValue,
@@ -193,9 +193,10 @@
                  // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛
                  this.$u.post(value.CZFJiP + '/makerwit/insertTask', formDataParam).then(res => {
                     this.$t.message.closeLoading();
                     console.log(formDataParam);
                     if (res.code == 200) {
                        this.$t.message.toast('鍛煎彨鎴愬姛');
                        this.inputValue="",
                        this.numberValue="",
                        this.$refs.popup.close();
                        // this.submit();
                     } else {
@@ -204,7 +205,12 @@
                  });
                  // this.submit();
               } else {
                  this.$t.message.toast(res.msg);
                  this.$t.message.toast(res.message);
                  this.$u.post('/api/PDA/DeleteCZTask', formDataParam).then(res=>{
                     this.inputValue="",
                     this.numberValue="",
                     this.$refs.popup.close();
                  })
               }
            }).catch((err) => {
               this.$t.message.toast(err.message);