| | |
| | | this.$t.message.toast('è¯·éæ©ä¸æå£ï¼') |
| | | return; |
| | | } |
| | | |
| | | uni.showModal({ |
| | | title: '确认', |
| | | content: '车轮信æ¯ï¼'+this.barcode+',æ¯å¦å¼å«AGVï¼', |
| | | success: (res) => { |
| | | if (res.confirm) { |
| | | // this.$u.post("/api/ToWms/OutsourceInbound", { |
| | | // MainData: { |
| | | // dataSN: this.barcode, |
| | | // stationNo: this.stationNo, |
| | | // creator: uni.getStorageSync('jo_user').userName, |
| | | // } |
| | | // }).then(res => { |
| | | // if (res.status) { |
| | | // this.barcode = '', |
| | | // this.station = '', |
| | | // this.stationNo = '', |
| | | // this.$t.message.toast('å¼å«AGVæåï¼è¯·çå¾
AGVåè´§'); |
| | | // } else { |
| | | // this.$t.message.toast(res.message); |
| | | // } |
| | | // console.log(res); |
| | | // }).catch(err => { |
| | | |
| | | // }) |
| | | } |
| | | } |
| | | }); |
| | | |
| | | this.$u.post("/api/ToWms/OutsourceInbound", { |
| | | MainData: { |
| | | dataSN: this.barcode, |
| | | stationNo: this.stationNo, |
| | | creator: uni.getStorageSync('jo_user').userName, |
| | | } |
| | | }).then(res => { |
| | | if (res.status) { |
| | | this.barcode = '', |
| | | this.station = '', |
| | | this.stationNo = '', |
| | | this.$t.message.toast('å¼å«AGVæåï¼è¯·çå¾
AGVåè´§'); |
| | | } else { |
| | | this.$t.message.toast(res.message); |
| | | } |
| | | console.log(res); |
| | | }).catch(err => { |
| | | |
| | | }) |
| | | } |
| | | } |
| | | } |