| | |
| | | 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(); |
| | |
| | | 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, |
| | |
| | | // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛 |
| | | 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 { |
| | |
| | | }); |
| | | // 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); |