From 786c5ca17012ff3a01faf466b751bdbe70629b97 Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期一, 25 八月 2025 15:25:46 +0800 Subject: [PATCH] 1 --- 代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/负极叫料.vue | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" index 9693c0d..39d2cce 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.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); -- Gitblit v1.9.3