| | |
| | | |
| | | var that = this; |
| | | that.isLoading = true; |
| | | that.AxiosHttp("post", 'Womdaa/GetBarKwByItem', { |
| | | that.AxiosHttp("post", 'Womdaa/GetBarKwByItemCK', { |
| | | itemId: that.selItem.itemid, |
| | | userName: that.userInfo.loginAccount |
| | | userName: that.userInfo.loginAccount, |
| | | //type: 'XSCK', |
| | | //billNo: that.billNo |
| | | }, false) |
| | | .then(function (res) { |
| | | var json = res; |
| | |
| | | this.show = false; |
| | | |
| | | this.billNo = item.name; |
| | | |
| | | // 清空库位列表 |
| | | this.ItemBarKw = []; |
| | | this.GetMesItemDetailByBillNo(); |
| | | //this.$toast(item.name); |
| | | |
| | |
| | | that.zdy = json.data.tbBillList.allList[0].createNmae; |
| | | //that.daa001 = json.data.tbBillList.item1; |
| | | that.$refs.barcode.focus(); |
| | | // 重置所有行的选中状态 |
| | | that.currentIndex = -1; |
| | | that.ItemBarKw = []; |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | |
| | | if (json.status == 0) { |
| | | that.ItemBlDetail = json.data.pendingList; |
| | | that.$notify({ type: 'success', message: '扫描成功' }); |
| | | that.$playSound('success'); |
| | | that.sendPrintMessage(json.data.tbBillList); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| | | that.num = ""; |