| | |
| | | size: this.size |
| | | }; |
| | | // 使ç¨åæºå®æ´æ¥å£ |
| | | this.$u.post(res.data.CZFJiP, null).then(res => { |
| | | this.$u.post(res.data.CZFJiP + '/api/PDA/AGVPage', null).then(res => { |
| | | console.log(res); |
| | | this.$t.message.closeLoading(); |
| | | cb && cb(); |
| | |
| | | return; |
| | | } |
| | | let formDataParam = { |
| | | dTaskId: this.generateUUID(), |
| | | productCode: productCode, |
| | | orderNo: orderNo, |
| | | number: availableQuantity > 4 ? 4 : availableQuantity, |
| | | inputValue: inputValue, |
| | | DTaskId: this.generateUUID(), |
| | | ProductCode: productCode, |
| | | OrderNo: orderNo, |
| | |
| | | // ...å
¶ä»éè¦ä¼ éçåæ° |
| | | }; |
| | | |
| | | // 使ç¨åæºå®æ´æ¥å£ |
| | | this.$u.post('/api/PDA/insertTask', formDataParam).then(res => { |
| | | this.$u.post('/api/PDA/AddCZTask', formDataParam).then(res => { |
| | | if (res.status) { |
| | | this.$u.post('/api/PDA/AddCZTask', formDataParam).then(res => { |
| | | const value = uni.getStorageSync('storage_key_ipAddress'); |
| | | // 使ç¨åæºå®æ´æ¥å£ |
| | | this.$u.post(value.CZFJiP + '/api/PDA/insertTask', formDataParam).then(res => { |
| | | this.$t.message.closeLoading(); |
| | | if (res.status) { |
| | | console.log(formDataParam); |
| | | if (res.code == 200) { |
| | | this.$t.message.toast('å¼å«æå'); |
| | | this.$refs.popup.close(); |
| | | // this.submit(); |