From f43a490d6d4f670fa9717c9666c8e104e50e473f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A6=82=E5=88=9D?= <3236758982@qq.com>
Date: Tue, 26 May 2026 17:52:56 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9D=8E=E7=BA=A2=E6=94=80=EF=BC=9AV2.0?=
=?UTF-8?q?.063=EF=BC=8C=E5=85=B6=E5=AE=83=E5=85=A5=E5=BA=93=E3=80=81?=
=?UTF-8?q?=E5=85=B6=E5=AE=83=E5=87=BA=E5=BA=93=E6=89=AB=E7=A0=81=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../scan/components/recent-scan-list.vue | 149 +++
.../scan/components/scan-context-bar.vue | 68 +
.../scan/components/scan-feedback-bar.vue | 43 +
src/pages-erp/stock-in/scan/index.vue | 1028 ++++++++++-----
.../scan/components/recent-scan-list.vue | 156 +++
.../scan/components/scan-context-bar.vue | 68 +
.../scan/components/scan-feedback-bar.vue | 43 +
src/pages-erp/stock-out/scan/index.vue | 1136 ++++++++++++-----
8 files changed, 2050 insertions(+), 641 deletions(-)
create mode 100644 src/pages-erp/stock-in/scan/components/recent-scan-list.vue
create mode 100644 src/pages-erp/stock-in/scan/components/scan-context-bar.vue
create mode 100644 src/pages-erp/stock-in/scan/components/scan-feedback-bar.vue
create mode 100644 src/pages-erp/stock-out/scan/components/recent-scan-list.vue
create mode 100644 src/pages-erp/stock-out/scan/components/scan-context-bar.vue
create mode 100644 src/pages-erp/stock-out/scan/components/scan-feedback-bar.vue
diff --git a/src/pages-erp/stock-in/scan/components/recent-scan-list.vue b/src/pages-erp/stock-in/scan/components/recent-scan-list.vue
new file mode 100644
index 0000000..4f067d5
--- /dev/null
+++ b/src/pages-erp/stock-in/scan/components/recent-scan-list.vue
@@ -0,0 +1,149 @@
+
+
+
+ 暂无扫码记录,开始扫码入库
+
+
+
+
+
+
+ 条码:{{ record.productBarCode || '-' }}
+ 规格:{{ record.productSpec || '-' }}
+
+
+ 仓库:{{ record.warehouseName || '-' }}
+ 单位:{{ record.productUnit || '-' }}
+
+
+ 库位:{{ record.locationCode || '-' }}
+ 批次:{{ record.batchNo || '-' }}
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-erp/stock-in/scan/components/scan-context-bar.vue b/src/pages-erp/stock-in/scan/components/scan-context-bar.vue
new file mode 100644
index 0000000..029f0f8
--- /dev/null
+++ b/src/pages-erp/stock-in/scan/components/scan-context-bar.vue
@@ -0,0 +1,68 @@
+
+
+
+
+ 仓库
+ {{ warehouseName || '未选择仓库' }}
+
+
+ 明细 {{ recordCount }} 条
+ 累计 {{ scannedCount }} 件
+
+
+
+
+
+
+
+
diff --git a/src/pages-erp/stock-in/scan/components/scan-feedback-bar.vue b/src/pages-erp/stock-in/scan/components/scan-feedback-bar.vue
new file mode 100644
index 0000000..ff15817
--- /dev/null
+++ b/src/pages-erp/stock-in/scan/components/scan-feedback-bar.vue
@@ -0,0 +1,43 @@
+
+
+ {{ message }}
+
+
+
+
+
+
diff --git a/src/pages-erp/stock-in/scan/index.vue b/src/pages-erp/stock-in/scan/index.vue
index 9f265d3..a9b6342 100644
--- a/src/pages-erp/stock-in/scan/index.vue
+++ b/src/pages-erp/stock-in/scan/index.vue
@@ -10,68 +10,162 @@
/>
-
-
- 单据信息
-
-
-
- {{ currentWarehouse?.name || '请选择入库仓库' }}
+
+
+
+
+
+
+
+
+
+
+ 1
+ 扫库位
+
+
+
+ 2
+ 扫产品
+
-
-
-
- {{ currentSupplierName }}
+
+
+
+ 请扫描库位条码
+ 产品已入库,请继续扫码
-
-
-
-
-
- 扫码录入
+
+
+
+
+
+
+
+
+
+ 仓库
+ {{ locationInfo.warehouseName }}
+
+
+ 库位
+
+ {{ locationInfo.locationCode }}
+
+
+ {{ locationInfo.enableLocation ? '库位管理' : '无库位管理' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 产品
+
+ {{ productPreview.name }}
+
+
+
+ 规格
+ {{ productPreview.standard || '-' }}
+
+
+ 条码
+ {{ productPreview.barCode || '-' }}
+
+
+
+
-
-
-
-
-
-
- 入库明细
+
+
+
+
-
-
-
+
+
+
diff --git a/src/pages-erp/stock-out/scan/components/recent-scan-list.vue b/src/pages-erp/stock-out/scan/components/recent-scan-list.vue
new file mode 100644
index 0000000..b662794
--- /dev/null
+++ b/src/pages-erp/stock-out/scan/components/recent-scan-list.vue
@@ -0,0 +1,156 @@
+
+
+
+ 暂无扫码记录,开始扫码出库
+
+
+
+
+
+
+ 条码:{{ record.productBarCode || '-' }}
+ 规格:{{ record.productSpec || '-' }}
+
+
+ 仓库:{{ record.warehouseName || '-' }}
+ 单位:{{ record.productUnit || '-' }}
+
+
+ 库位:{{ record.locationCode || '-' }}
+ 库存:{{ record.stockCount ?? '-' }}
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-erp/stock-out/scan/components/scan-context-bar.vue b/src/pages-erp/stock-out/scan/components/scan-context-bar.vue
new file mode 100644
index 0000000..46a1f39
--- /dev/null
+++ b/src/pages-erp/stock-out/scan/components/scan-context-bar.vue
@@ -0,0 +1,68 @@
+
+
+
+
+ 仓库
+ {{ warehouseName || '未选择仓库' }}
+
+
+ 明细 {{ recordCount }} 条
+ 累计 {{ scannedCount }} 件
+
+
+
+
+
+
+
+
diff --git a/src/pages-erp/stock-out/scan/components/scan-feedback-bar.vue b/src/pages-erp/stock-out/scan/components/scan-feedback-bar.vue
new file mode 100644
index 0000000..ff15817
--- /dev/null
+++ b/src/pages-erp/stock-out/scan/components/scan-feedback-bar.vue
@@ -0,0 +1,43 @@
+
+
+ {{ message }}
+
+
+
+
+
+
diff --git a/src/pages-erp/stock-out/scan/index.vue b/src/pages-erp/stock-out/scan/index.vue
index 826463b..31d7232 100644
--- a/src/pages-erp/stock-out/scan/index.vue
+++ b/src/pages-erp/stock-out/scan/index.vue
@@ -10,70 +10,168 @@
/>
-
-
- 单据信息
-
-
-
- {{ currentWarehouse?.name || '请选择出库仓库' }}
+
+
+
+
+
+
+
+
+
+
+ 1
+ 扫库位
+
+
+
+ 2
+ 扫产品
+
-
-
-
- {{ currentCustomerName }}
+
+
+
+ 请扫描库位条码
+ 产品已出库,请继续扫码
-
-
-
-
-
- 扫码录入
+
+
+
+
+
+
+
+
+
+ 仓库
+ {{ locationInfo.warehouseName }}
+
+
+ 库位
+
+ {{ locationInfo.locationCode }}
+
+
+ {{ locationInfo.enableLocation ? '库位管理' : '无库位管理' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 产品
+
+ {{ productPreview.name }}
+
+
+
+ 规格
+ {{ productPreview.standard || '-' }}
+
+
+ 条码
+ {{ productPreview.barCode || '-' }}
+
+
+ 库存
+ {{ currentStockCount }}
+
+
+
+
-
-
-
-
-
-
- 出库明细
+
+
+
+
-
-
-
+
+
+