| | |
| | | active: 0, |
| | | show: false, |
| | | actions: [], |
| | | ItemDetail: [], |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | GetMesItemBlDetailByBillNo() { |
| | | var that = this; |
| | | that.isLoading = true; |
| | | that.AxiosHttp("post", 'TransferOut/GetTransferOutDetailListByBillNo', { |
| | | that.AxiosHttp("post", 'TransferOut/GetTransferInDetailListByBillNo', { |
| | | billNo: that.billNo |
| | | }, false) |
| | | .then(function (res) { |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | that.ItemBlDetail = json.data.tbBillList; |
| | | //that.ItemBlDetail = json.data.tbBillList; |
| | | that.ItemDetail = json.data.tbBillList; |
| | | that.$refs.sectionCode.focus(); |
| | | that.sectionCode = ""; |
| | | } |
| | |
| | | return; |
| | | } |
| | | |
| | | if (!that.billNo) { |
| | | this.$toast.fail("申请单号不能为空"); |
| | | that.isLoading = false; |
| | | return; |
| | | } |
| | | //if (!that.billNo) { |
| | | // this.$toast.fail("申请单号不能为空"); |
| | | // that.isLoading = false; |
| | | // return; |
| | | //} |
| | | |
| | | that.AxiosHttp("post", 'TransferOut/ScanReceiveBarcode', { |
| | | userName: that.userInfo.loginAccount, |
| | |
| | | that.$notify({ type: 'success', message: '扫码成功' }); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| | | //that.GetMesItemBlDetailByBillNo(); |
| | | that.billNo = json.data.form.billNo; |
| | | that.GetMesItemBlDetailByBillNo(); |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |