| | |
| | | sectionCode:"", |
| | | depotData: [], |
| | | ItemDetail: [], |
| | | rkType: "正常入库", |
| | | show: false,//下拉框的显示 |
| | | actions: [{ name: "正常入库" }, { name: "工废入库" }, { name: "料废入库" }],//下拉框的数值 |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | getInfo() { |
| | | this.show = true; |
| | | }, |
| | | onSelect(item) { |
| | | // 默认情况下点击选项时不会自动收起 |
| | | // 可以通过 close-on-click-action 属性开启自动收起 |
| | | this.show = false; |
| | | |
| | | this.rkType = item.name; |
| | | //this.GetMesItemBlDetailByBillNo(); |
| | | //this.$toast(item.name); |
| | | |
| | | }, |
| | | getModel() { |
| | | var that = this; |
| | | that.isLoading = true; |
| | |
| | | sectionCode: that.sectionCode, |
| | | userName: that.userInfo.loginAccount, |
| | | barcode: that.formData.barcode, |
| | | cgrkType: that.actions |
| | | }, false) |
| | | .then(function (res) { |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | //that.formData.itemNo = json.data.tbBillList.itemNo; |
| | | //that.formData.sumQuantity = json.data.tbBillList.sumQuantity; |
| | | |
| | | that.ItemDetail = json.data.tbBillList.itemInDetails; |
| | | //that.itemInsFormData = json.data.tbBillList.itemIns; |
| | | //that.itemTableData = json.data.tbBillList.itemInDetails;g |
| | | that.tableData = json.data.tbBillList.itemBarCDetails; |
| | | //that.barMessage = json.data.tbBillList.message; |
| | | |
| | | that.$refs.barcode.focus(); |
| | | that.formData.barcode = null; |
| | | that.$notify({ type: 'success', message: json.message }); |