From 6c03505f24d8a22eb2988ab16d7154e95da5a358 Mon Sep 17 00:00:00 2001 From: 况洋洋 <3283105747@qq.com> Date: 星期四, 10 七月 2025 11:31:16 +0800 Subject: [PATCH] 入库前拆分 --- H5/Js/PurchaseInventory.js | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/H5/Js/PurchaseInventory.js b/H5/Js/PurchaseInventory.js index f00beb1..b680737 100644 --- a/H5/Js/PurchaseInventory.js +++ b/H5/Js/PurchaseInventory.js @@ -34,6 +34,9 @@ sectionCode:"", depotData: [], ItemDetail: [], + rkType: "姝e父鍏ュ簱", + show: false,//涓嬫媺妗嗙殑鏄剧ず + actions: [{ name: "姝e父鍏ュ簱" }, { name: "宸ュ簾鍏ュ簱" }, { name: "鏂欏簾鍏ュ簱" }],//涓嬫媺妗嗙殑鏁板�� } }, mounted() { @@ -44,6 +47,19 @@ }; }, 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; @@ -93,17 +109,15 @@ 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 }); -- Gitblit v1.9.3