From fae3873170a2772a1780f8f7f08d790614f229ed Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Wed, 1 Dec 2021 13:07:26 +0800 Subject: [PATCH] xiugaitijiao --- hb_client/src/api/wpm.js | 9 ++ hb_client/src/router/index.js | 7 ++ hb_client/src/views/inm/inventory.vue | 17 +++- hb_client/src/views/inm/materialbatch.vue | 5 +- hb_client/src/views/inm/product.vue | 89 ++++++++++++++++++++ hb_client/src/views/mtm/material.vue | 43 ++++++++-- hb_client/src/views/mtm/process.vue | 30 ++++++- hb_client/src/views/mtm/productprocess.vue | 17 +++- hb_client/src/views/mtm/step.vue | 31 +++++-- hb_client/src/views/pm/plan.vue | 20 +++-- hb_client/src/views/pm/resources.vue | 9 +- hb_client/src/views/pm/work.vue | 25 ++++-- hb_client/src/views/sam/order.vue | 4 +- hb_client/src/views/wpm/need.vue | 98 ++++++++++++++++++++-- hb_client/src/views/wpm/operation.vue | 4 +- hb_client/src/views/wpm/operationdo.vue | 8 +- hb_client/src/views/wpm/worktask.vue | 30 +++++-- 17 files changed, 376 insertions(+), 70 deletions(-) create mode 100644 hb_client/src/views/inm/product.vue 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 @@ - + + + +