From 55442ddb05bdadb4672b5de0ce2a1dc6ec78ded3 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期四, 20 三月 2025 14:00:07 +0800 Subject: [PATCH] 1.样式确认。 --- 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