diff --git a/src/api/mes/materialInbound.js b/src/api/mes/materialInbound.js index 40b6533..0f0c67b 100644 --- a/src/api/mes/materialInbound.js +++ b/src/api/mes/materialInbound.js @@ -43,3 +43,12 @@ export function deleteMaterialInbound(id) { params: { ids: String(id) } }) } + +// 物料入库单详情 +export function getMaterialInboundDetail(id) { + return request({ + url: '/admin-api/erp/stock-in/get', + method: 'get', + params: { id } + }) +} 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/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 2034190..cf81e8f 100644 --- a/src/pages.json +++ b/src/pages.json @@ -379,6 +379,13 @@ "navigationStyle": "custom" } }, + { + "path": "sparepartInbound/detail", + "style": { + "navigationBarTitleText": "备件入库详情", + "navigationStyle": "custom" + } + }, { @@ -570,6 +577,13 @@ "navigationStyle": "custom" } }, + { + "path": "sparepartOutbound/detail", + "style": { + "navigationBarTitleText": "备件出库详情", + "navigationStyle": "custom" + } + }, { "path": "sparepartOutbound/sparepartConfirm", "style": { @@ -633,6 +647,13 @@ "navigationStyle": "custom" } }, + { + "path": "materialInbound/detail", + "style": { + "navigationBarTitleText": "物料入库详情", + "navigationStyle": "custom" + } + }, { "path": "materialInbound/materialSelect", "style": { diff --git a/src/pages_function/pages/materialInbound/create.vue b/src/pages_function/pages/materialInbound/create.vue index a711380..746bad0 100644 --- a/src/pages_function/pages/materialInbound/create.vue +++ b/src/pages_function/pages/materialInbound/create.vue @@ -2,8 +2,8 @@ - - + + - + 选择物料 - - - - - - *入库时间 - - - - {{ inboundDate || '请选择入库时间' }} - - - - - - - - *经办人 - - - - {{ selectedOperatorName || '请选择经办人' }} - - - + + + + + + + + + 入库信息 + - - - - 备注 - - -