From e358345cf12b1ddf472947fe979168cb94c6dc5d Mon Sep 17 00:00:00 2001 From: zhongwenkai <3478244299@qq.com> Date: Wed, 24 Jun 2026 13:51:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=A4=87=E4=BB=B6?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E8=AF=A6=E7=BB=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/sparepartInbound.js | 9 + src/pages.json | 7 + .../pages/sparepartInbound/create.vue | 579 ++++++------------ .../pages/sparepartInbound/detail.vue | 277 +++++++++ 4 files changed, 470 insertions(+), 402 deletions(-) create mode 100644 src/pages_function/pages/sparepartInbound/detail.vue diff --git a/src/api/mes/sparepartInbound.js b/src/api/mes/sparepartInbound.js index dd0656b..25c7de6 100644 --- a/src/api/mes/sparepartInbound.js +++ b/src/api/mes/sparepartInbound.js @@ -43,3 +43,12 @@ export function deleteSparepartInbound(id) { params: { ids: String(id) } }) } + +// 备件入库单详情 +export function getSparepartInboundDetail(id) { + return request({ + url: '/admin-api/erp/stock-in/get', + method: 'get', + params: { id } + }) +} diff --git a/src/pages.json b/src/pages.json index 3403dc3..5b8ec78 100644 --- a/src/pages.json +++ b/src/pages.json @@ -379,6 +379,13 @@ "navigationStyle": "custom" } }, + { + "path": "sparepartInbound/detail", + "style": { + "navigationBarTitleText": "备件入库详情", + "navigationStyle": "custom" + } + }, { diff --git a/src/pages_function/pages/sparepartInbound/create.vue b/src/pages_function/pages/sparepartInbound/create.vue index 8588227..4d2df0b 100644 --- a/src/pages_function/pages/sparepartInbound/create.vue +++ b/src/pages_function/pages/sparepartInbound/create.vue @@ -2,8 +2,8 @@ - - + + - + {{ t('sparepartInbound.selectSparepart') }} - - - - - - *入库时间 - - - - {{ inboundDate || '请选择入库时间' }} - - - - - - - - *经办人 - - - - {{ selectedOperatorName || '请选择经办人' }} - - - - - - - - 备注 - - -