| | |
| | | var matObj = { |
| | | matCode: matInfo[1], |
| | | matProductionDate: matInfo[3], |
| | | matQty: matInfo[5], |
| | | orderNo: matInfo[6], |
| | | matQty: matInfo[4], |
| | | orderNo: matInfo[5], |
| | | sn: matSn |
| | | } |
| | | var temp = this.matInfos.find(x => x.orderNo == matObj.orderNo); |
| | | var temp = this.matInfos.find(x => x.sn == matObj.sn); |
| | | if (!temp) { |
| | | var tmp = this.matTotal.find(x => x.matCode == matObj.matCode); |
| | | if (!tmp) { |
| | |
| | | }, |
| | | inbound() { |
| | | var postData = { |
| | | MainData: { |
| | | "barcode": this.inboundBarcode, |
| | | "startPoint": this.address |
| | | } |
| | | // MainData: { |
| | | // "barcode": this.inboundBarcode, |
| | | // "startPoint": this.address |
| | | // } |
| | | } |
| | | this.$u.post('/api/Inbound/RequestInbound', postData).then(res => { |
| | | this.$u.post('/api/Task/GenerateInboundTask?stationCode=' + this.address + '&inboundType=200&palletCode=' + |
| | | this.inboundBarcode, {}).then(res => { |
| | | if (res.status) { |
| | | uni.$showMsg(res.message); |
| | | // uni.$showMsg(res.message); |
| | | uni.$showMsg("鎴愬姛"); |
| | | this.inboundBarcode = ""; |
| | | this.address = ""; |
| | | setTimeout(() => { |
| | |
| | | }) |
| | | return; |
| | | } |
| | | this.$u.post('/api/Bill_group_stock/PDA_ScanInStock', { |
| | | MainData: { |
| | | "pallet_barcode": this.barcode, |
| | | "orderNo": this.orderNo, |
| | | "isFull": this.check |
| | | }, |
| | | DelKeys: this.sns |
| | | this.$u.post('/api/PDA/MaterielGroup', { |
| | | "PalletCode": this.barcode, |
| | | "OrderNo": this.orderNo, |
| | | "SerialNumbers": this.sns |
| | | // MainData: { |
| | | // "pallet_barcode": this.barcode, |
| | | // "orderNo": this.orderNo, |
| | | // "isFull": this.check |
| | | // }, |
| | | // DelKeys: this.sns |
| | | }).then(res => { |
| | | if (res.status) { |
| | | this.$refs.uToast.show({ |