From 3ea0a424f9798833e2ad2e261c03e1cc7391e8c9 Mon Sep 17 00:00:00 2001 From: "maxw@mesnac.com" Date: Mon, 13 Jan 2025 14:20:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=BA=93=E5=AD=98=E5=91=8A?= =?UTF-8?q?=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/inventory/index.ts | 14 + src/router/index.ts | 21 +- src/views/wms/allocateOrder/index.vue | 12 +- src/views/wms/inventoryAlarm/index.vue | 365 +++++++++++++++++++++++++ 4 files changed, 388 insertions(+), 24 deletions(-) create mode 100644 src/views/wms/inventoryAlarm/index.vue diff --git a/src/api/wms/inventory/index.ts b/src/api/wms/inventory/index.ts index 29c95af..08ea8f0 100644 --- a/src/api/wms/inventory/index.ts +++ b/src/api/wms/inventory/index.ts @@ -16,6 +16,20 @@ export const listInventory = (query?: InventoryQuery): AxiosPromise => { + return request({ + url: '/wms/inventory/listInventoryAlarm', + method: 'get', + params: query + }); +}; + /** * 查询物料库存详细 * @param inventoryId diff --git a/src/router/index.ts b/src/router/index.ts index 943c7fe..d91255d 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -84,7 +84,7 @@ export const constantRoutes: RouteRecordRaw[] = [ path: 'instockDetail', component: () => import('@/views/wms/instockDetail/index.vue'), name: 'instockDetail', - meta: { title: '入库明细', icon: 'dashboard', affix: true }, + meta: { title: '入库明细', icon: 'dashboard'}, hidden: true } ] @@ -98,7 +98,7 @@ export const constantRoutes: RouteRecordRaw[] = [ path: 'allocateOrderDetail', component: () => import('@/views/wms/allocateOrderDetail/index.vue'), name: 'allocateOrderDetail', - meta: { title: '调拨单明细', icon: 'dashboard', affix: true }, + meta: { title: '调拨单明细', icon: 'dashboard'}, hidden: true } ] @@ -112,7 +112,7 @@ export const constantRoutes: RouteRecordRaw[] = [ path: 'outStockDetail', component: () => import('@/views/wms/outstockDetail/index.vue'), name: 'outstockDetail', - meta: { title: '出库明细', icon: 'dashboard', affix: true }, + meta: { title: '出库明细', icon: 'dashboard' }, hidden: true } ] @@ -218,22 +218,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [ meta: { title: '请假申请', activeMenu: '/workflow/leave', noCache: true } } ] - }, -{ - path: '/mes/product-plan', - component: Layout, - hidden: true, - permissions: ['mes:orderInfo:edit'], - children: [ - { - path: 'index/:productOrderId(\\d+)', - component: () => import('@/views/mes/orderInfo/editProductPlan.vue'), - name: 'productPlanEdit', - meta: { title: '生产派工', activeMenu: '/mes/productplan', noCache: true } } -] -}, - ]; /** diff --git a/src/views/wms/allocateOrder/index.vue b/src/views/wms/allocateOrder/index.vue index d3055ab..4b52598 100644 --- a/src/views/wms/allocateOrder/index.vue +++ b/src/views/wms/allocateOrder/index.vue @@ -393,15 +393,15 @@ const data = reactive>({ auditComments: [ { required: true, message: "审核意见不能为空", trigger: "blur" } ], - createOut: [ - { required: true, message: "是否创建出库单不能为空", trigger: "blur" } - ], + // createOut: [ + // { required: true, message: "是否创建出库单不能为空", trigger: "blur" } + // ], outCode: [ { required: true, message: "出库单号不能为空", trigger: "blur" } ], - createIn: [ - { required: true, message: "是否创建入库单不能为空", trigger: "blur" } - ], + // createIn: [ + // // { required: true, message: "是否创建入库单不能为空", trigger: "blur" } + // ], inCode: [ { required: true, message: "入库单号不能为空", trigger: "blur" } ], diff --git a/src/views/wms/inventoryAlarm/index.vue b/src/views/wms/inventoryAlarm/index.vue new file mode 100644 index 0000000..fc59f5f --- /dev/null +++ b/src/views/wms/inventoryAlarm/index.vue @@ -0,0 +1,365 @@ + + +