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 || '请选择经办人' }} - - - - - - - - 备注 - - -