diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js index a6f998a..7e3462d 100644 --- a/hb_client/src/api/wpm.js +++ b/hb_client/src/api/wpm.js @@ -58,6 +58,15 @@ export function wproductTest(data) { data }) } +//半成品复检 +export function wproductRetest(data) { + return request({ + url: '/wpm/wproduct/retest/', + method: 'post', + data + }) +} + //半成品入库 diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js index 2212e45..b739f6c 100644 --- a/hb_client/src/router/index.js +++ b/hb_client/src/router/index.js @@ -103,6 +103,7 @@ export const asyncRoutes = [ name: 'material', component: () => import('@/views/mtm/material'), meta: { title: '物料清单', icon: 'example', perms: ['mtm_material'] } + } , { @@ -337,6 +338,12 @@ export const asyncRoutes = [ component: () => import('@/views/inm/wproduct'), meta: { title: '半成品', icon: 'example', perms: ['index_manage'] } }, + { + path: 'product', + name: 'product', + component: () => import('@/views/inm/product'), + meta: { title: '成品', icon: 'example', perms: ['index_manage'] } + }, ] }, diff --git a/hb_client/src/views/inm/inventory.vue b/hb_client/src/views/inm/inventory.vue index a221592..668a027 100644 --- a/hb_client/src/views/inm/inventory.vue +++ b/hb_client/src/views/inm/inventory.vue @@ -49,9 +49,13 @@ - + + + + + @@ -90,7 +94,16 @@ export default { page: 1, page_size: 20, }, - + options_:{ + + "1":'成品', + "2":'半成品', + "3":'主要原料', + "4":'辅助材料', + "5":'加工工具', + "6":'辅助工装', + + }, listLoading: true, dialogVisible: false, dialogType: "new", diff --git a/hb_client/src/views/inm/materialbatch.vue b/hb_client/src/views/inm/materialbatch.vue index a4f883b..5272e5b 100644 --- a/hb_client/src/views/inm/materialbatch.vue +++ b/hb_client/src/views/inm/materialbatch.vue @@ -44,7 +44,10 @@ - + + + +