| | |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | that.itemOutNoList = json.data.tbBillList; |
| | | that.$playSound('success'); |
| | | that.itemOutNoStr = that.itemOutNoList.map(s => { |
| | | return { name: s.billNo } |
| | | }); |
| | |
| | | if (json.status == 0) { |
| | | that.ItemDetail = json.data.tbBillList; |
| | | that.$refs.barcode.focus(); |
| | | that.$playSound('success'); |
| | | } |
| | | else { |
| | | that.$playSound('error'); |
| | |
| | | //if (json.data.tbBillList) { |
| | | // //this.ToErp(); |
| | | //} else { |
| | | |
| | | //} |
| | | that.scanFormData.quantity = json.data.tbBillList.barcodeNum |
| | | that.getItem(); |
| | |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | // that.modeInfo = json.data.tbBillList; |
| | | that.getItem(); |
| | | that.scanInfo.splitNum = null; |
| | | that.scanFormData.quantity = null; |
| | | that.scanFormData.barcode = null; |
| | | that.$notify({ type: 'success', message: json.message }); |
| | | that.$playSound('success'); |
| | | |
| | | that.sendMessage(json.data.tbBillList); |
| | | //kyy |
| | | // that.sendMessage(json.data.tbBillList); |
| | | that.sendPrintMessage(json.data.tbBillList); |
| | | |
| | | that.$refs.barcode.focus(); |
| | | that.getItem(); |
| | | //kyy |
| | | // that.getItem(); |
| | | } |
| | | else { |
| | | that.$playSound('error'); |