From ffd88d66e16c6c7a37135bb2631c3f1aa4b43e98 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 10 九月 2025 15:22:30 +0800 Subject: [PATCH] 111 --- H5/Js/PurchaseInventory.js | 28 ++++++---------------------- 1 files changed, 6 insertions(+), 22 deletions(-) diff --git a/H5/Js/PurchaseInventory.js b/H5/Js/PurchaseInventory.js index 10780cb..f00beb1 100644 --- a/H5/Js/PurchaseInventory.js +++ b/H5/Js/PurchaseInventory.js @@ -34,9 +34,6 @@ sectionCode:"", depotData: [], ItemDetail: [], - rkType: "姝e父鍏ュ簱", - show: false,//涓嬫媺妗嗙殑鏄剧ず - actions: [{ name: "姝e父鍏ュ簱" }, { name: "宸ュ簾鍏ュ簱" }, { name: "鏂欏簾鍏ュ簱" }],//涓嬫媺妗嗙殑鏁板�� } }, mounted() { @@ -47,19 +44,6 @@ }; }, methods: { - - getInfo() { - this.show = true; - }, - - // 淇 onSelect 鏂规硶 - onSelect(item) { // item 鏄�変腑鐨勫璞★紙濡� { name: "姝e父鍏ュ簱" }锛� - this.rkType = item.name; // 鎻愬彇 name 瀛楁浣滀负閫変腑鍊� - this.show = false; - console.log('閫変腑鐨勫叆搴撶被鍨�:', this.rkType); - }, - - getModel() { var that = this; that.isLoading = true; @@ -70,7 +54,6 @@ var json = res; if (json.status == 0) { that.depotData = json.data.tbBillList; - that.$playSound('success'); that.$refs.barcode.focus(); } else { @@ -104,22 +87,23 @@ that.$playSound('error'); return; } - console.log('鎻愪氦鍓� rkType 鐨勫��:', this.rkType); // 纭鏄惁涓哄崟涓瓧绗︿覆 - console.log('鎻愪氦鍓� rkType 鐨勭被鍨�:', typeof this.rkType); // 搴旇緭鍑� "string" + that.isLoading = true; that.AxiosHttp("post", 'MesInvItemInCDetails/SaveBarCodes', { sectionCode: that.sectionCode, userName: that.userInfo.loginAccount, barcode: that.formData.barcode, - cgrkType: this.rkType // 鐩存帴浣跨敤 rkType锛岄粯璁ゅ�兼垨閫変腑鍊� }, 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