From 50a2d67583b66fdf65dd42e484e1ae292f78b531 Mon Sep 17 00:00:00 2001 From: zhongwenkai <3478244299@qq.com> Date: Tue, 23 Jun 2026 11:26:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=89=A9=E6=96=99=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/materialInbound/create.vue | 2 +- .../pages/materialInbound/index.vue | 91 ++++++++++++++++--- .../pages/materialInbound/materialConfirm.vue | 50 +++------- .../pages/sparepartInbound/index.vue | 85 ++++++++++++++--- .../pages/sparepartOutbound/index.vue | 33 +++++-- 5 files changed, 181 insertions(+), 80 deletions(-) diff --git a/src/pages_function/pages/materialInbound/create.vue b/src/pages_function/pages/materialInbound/create.vue index 964e29a..9fc77df 100644 --- a/src/pages_function/pages/materialInbound/create.vue +++ b/src/pages_function/pages/materialInbound/create.vue @@ -178,7 +178,7 @@ async function handleScanCode(code) { return } try { - const apiRes = await getSparepartDetail(materialId) + const apiRes = await getProductDetail(materialId) const detail = apiRes?.data || apiRes if (detail && detail.id) { getApp().globalData._materialFromScan = true diff --git a/src/pages_function/pages/materialInbound/index.vue b/src/pages_function/pages/materialInbound/index.vue index 0d854dc..318b73e 100644 --- a/src/pages_function/pages/materialInbound/index.vue +++ b/src/pages_function/pages/materialInbound/index.vue @@ -14,12 +14,24 @@ @confirm="handleSearch" /> - - + + {{ currentStatusLabel }} - + + + {{ item.label }} + + + + 重置 @@ -140,26 +152,23 @@