diff --git a/src/api/production/production-inbound.js b/src/api/production/production-inbound.js index 133f274..7f63157 100644 --- a/src/api/production/production-inbound.js +++ b/src/api/production/production-inbound.js @@ -31,3 +31,14 @@ export const scanMaterialLabel = data => createAPI(`/production/inbound/scanMate export const getRequestMaterials = data => createAPI(`/production/inbound/getRequestMaterials`,'post',data) // 确认生产入库 export const confirmProductionInbound = data => createAPI(`/production/inbound/confirmProductionInbound`,'post',data) + +// 根据工单号从IFS获取工单信息 +export const getShopOrderFromIfs = data => createAPI(`/production/inbound/getShopOrderFromIfs`,'post',data) +// 获取下一个序号 +export const getNextSequenceNo = data => createAPI(`/production/inbound/getNextSequenceNo`,'post',data) +// 提交生产订单入库 +export const submitShopOrderInbound = data => createAPI(`/production/inbound/submitShopOrderInbound`,'post',data) +// 验证物料是否已发料 +export const validateMaterialIssued = data => createAPI(`/production/inbound/validateMaterialIssued`,'post',data) +// 打印标签 +export const printLabel = data => createAPI('/label/setting/printLabel','post',data) diff --git a/src/router/index.js b/src/router/index.js index d6434db..6dc3128 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -65,10 +65,7 @@ const globalRoutes = [ meta: { transition: 'instant' ,preload: true,keepAlive: true}}, // 生产入库 {path: "/productionInboundProduction",name: "productionInboundProduction", component: resolve => require(["@/views/modules/production-inbound/production.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, - {path: "/productionPick",name: "productionPick", component: resolve => require(["@/views/modules/production-inbound/productionPick.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, - {path: "/productionInboundDetail/:inboundNo",name: "productionInboundDetail", component: resolve => require(["@/views/modules/production-inbound/productionPickingDetail.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, - {path: "/inboundRegister",name: "inboundRegister", component: resolve => require(["@/views/modules/production-inbound/inboundRegister.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, - {path: "/inboundRegisterDetail/:inboundNo",name: "inboundRegisterDetail", component: resolve => require(["@/views/modules/production-inbound/inboundRegisterDetail.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, + {path: "/productionInboundRegister",name: "productionInboundRegister", component: resolve => require(["@/views/modules/production-inbound/inboundRegister.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, // 委外发料 { path: "/outsource",name: "outsource", component: resolve => require(["@/views/modules/outsourcing-issue/index.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, diff --git a/src/views/main.vue b/src/views/main.vue index 96e269b..5cdc14e 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -46,7 +46,7 @@ -