From fa34bd0df870d3892580644ab5c7381a06f34a11 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 28 三月 2025 11:07:32 +0800
Subject: [PATCH] 1.登录新增菜单权限 2.个人信息页面优化

---
 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