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