| | |
| | | .then(function (res) { |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | that.ItemBlDetail = json.data.tbBillList.item; |
| | | that.daa001 = json.data.tbBillList.bl001; |
| | | that.ItemBlDetail = json.data.tbBillList.item2; |
| | | that.daa001 = json.data.tbBillList.item1; |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | |
| | | that.barcode = json.data.tbBillList.item.barcode; |
| | | that.sms = json.data.tbBillList.item.fum; |
| | | that.num = json.data.tbBillList.item.num; |
| | | that.ItemBlDetail = json.data.tbBillList.pendingList |
| | | that.barcode = null; |
| | | that.sms = null; |
| | | that.num = null; |
| | | //that.ItemBlDetail = json.data.tbBillList.item2 |
| | | that.$notify({ type: 'success', message: '扫描成功' }); |
| | | that.GetMesItemBlDetailByBillNo(); |
| | | } else if (json.status == 2) { |
| | | that.$refs.splitNum.focus(); |
| | | that.scanInfo.splitNum = json.data.tbBillList.splitNum; |
| | | that.scanInfo.barcodeNum = json.data.tbBillList.barcodeNum; |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |