| | |
| | | this.$t.message.toast('鍙枡鏁伴噺涓嶈兘瓒呰繃鍙彨鏁伴噺'); |
| | | return; |
| | | } |
| | | |
| | | let guid =this.generateUUID() |
| | | let formDataParam = { |
| | | dTaskId: guid, |
| | | productCode: productCode, |
| | |
| | | // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛 |
| | | 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); |