diff --git a/src/api/mes/sparepartOutbound.js b/src/api/mes/sparepartOutbound.js index 0fafdd3..9381526 100644 --- a/src/api/mes/sparepartOutbound.js +++ b/src/api/mes/sparepartOutbound.js @@ -44,3 +44,12 @@ export function deleteSparepartOutbound(id) { params: { ids: String(id) } }) } + +// 备件出库单详情 +export function getSparepartOutboundDetail(id) { + return request({ + url: '/admin-api/erp/stock-out/get', + method: 'get', + params: { id } + }) +} diff --git a/src/pages.json b/src/pages.json index 5b8ec78..fcf3eea 100644 --- a/src/pages.json +++ b/src/pages.json @@ -577,6 +577,13 @@ "navigationStyle": "custom" } }, + { + "path": "sparepartOutbound/detail", + "style": { + "navigationBarTitleText": "备件出库详情", + "navigationStyle": "custom" + } + }, { "path": "sparepartOutbound/sparepartConfirm", "style": { diff --git a/src/pages_function/pages/sparepartOutbound/create.vue b/src/pages_function/pages/sparepartOutbound/create.vue index cf867b6..caee599 100644 --- a/src/pages_function/pages/sparepartOutbound/create.vue +++ b/src/pages_function/pages/sparepartOutbound/create.vue @@ -2,8 +2,8 @@ - - + + - + 选择备件 - - - - - - *出库时间 - - - - {{ outboundDate || '请选择出库时间' }} - - - - - - - - *经办人 - - - {{ selectedOperatorName || '请选择经办人' }} - - - - - - - 备注 - - -