diff --git a/src/api/po/po.js b/src/api/po/po.js index 7c0173a..b538e17 100644 --- a/src/api/po/po.js +++ b/src/api/po/po.js @@ -45,3 +45,6 @@ export const getPoReceiveRecords = data => createAPI(`po/getPoReceiveRecords`,'p // 根据接收单号获取HandlingUnit列表 export const getHandlingUnitsByReceiptNo = data => createAPI(`po/getHandlingUnitsByReceiptNo`,'post',data) + +// 确认库存移库 +export const confirmInventoryMove = data => createAPI(`other/confirmInventoryMove`,'post',data) \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 78712fd..1d923a4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -97,6 +97,7 @@ const globalRoutes = [ {path: "/scrap",name: "scrap", component: resolve => require(["@/views/modules/other-transaction/scrap.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: "/other-inbound",name: "other-inbound", component: resolve => require(["@/views/modules/other-transaction/other-inbound.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: "/other-outbound",name: "other-outbound", component: resolve => require(["@/views/modules/other-transaction/other-outbound.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, + {path: "/inventory-move",name: "inventory-move", component: resolve => require(["@/views/modules/other-transaction/inventory-move.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, // Material Requisition {path: "/mrissue",name: "mrissue", component: resolve => require(["@/views/modules/mr-issue/index.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, diff --git a/src/views/modules/other-transaction/index.vue b/src/views/modules/other-transaction/index.vue index 73b8422..c63e368 100644 --- a/src/views/modules/other-transaction/index.vue +++ b/src/views/modules/other-transaction/index.vue @@ -60,11 +60,11 @@ export default { disabled: false, }, { - icon: "scan", + icon: "exchange", label: "移库", - iconClass: "purchase", - to: "productionPicking", - disabled: true, + iconClass: "inventory-move", + to: "inventory-move", + disabled: false, }, /* { icon: "records", @@ -210,6 +210,11 @@ export default { box-shadow: 0 4px 8px rgba(245, 34, 45, 0.3); } +.menu-icon.inventory-move { + background: linear-gradient(135deg, #722ed1 0%, #9254de 100%); + box-shadow: 0 4px 8px rgba(114, 46, 209, 0.3); +} + .menu-text { font-size: 10px; color: #333; diff --git a/src/views/modules/other-transaction/inventory-move.vue b/src/views/modules/other-transaction/inventory-move.vue new file mode 100644 index 0000000..4d05911 --- /dev/null +++ b/src/views/modules/other-transaction/inventory-move.vue @@ -0,0 +1,688 @@ + + + + +