From 5f592a0fdbafd5d1febcc39e087324907b7e1b13 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期一, 17 三月 2025 13:14:24 +0800
Subject: [PATCH] 1.IQC列表界面优化

---
 H5/Js/PurchaseInventory.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/H5/Js/PurchaseInventory.js b/H5/Js/PurchaseInventory.js
index 37ac38f..f535e6e 100644
--- a/H5/Js/PurchaseInventory.js
+++ b/H5/Js/PurchaseInventory.js
@@ -51,6 +51,7 @@
                     var json = res;
                     if (json.status == 0) {
                         that.formData.sectionName = json.data.tbBillList;
+                        that.$refs.barcode.focus();
                     }
                     else {
                         that.$toast.fail(json.message);
@@ -84,10 +85,13 @@
                         that.itemTableData = json.data.tbBillList.itemInDetails;
                         that.tableData = json.data.tbBillList.invItemInCDetails;
                         that.barMessage = json.data.tbBillList.message;
+                        that.$refs.barcode.focus();
+                        that.formData.barcode = null;
                     }
                     else {
                         that.$toast.fail(json.message);
                         that.$refs.barcode.focus();
+                        that.formData.barcode = null;
                     }
                     that.$notify({ type: 'success', message: json.message });
                     that.isLoading = false;

--
Gitblit v1.9.3