From 7752f459683033eea82ba3d5c3280b41b153885e Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Fri, 3 Dec 2021 15:18:49 +0800 Subject: [PATCH] xiugai --- hb_client/src/api/wpm.js | 18 +- hb_client/src/router/index.js | 18 +- hb_client/src/views/mtm/material.vue | 17 +- hb_client/src/views/mtm/materialDetail.vue | 230 +++++++++ hb_client/src/views/mtm/productprocess.vue | 4 +- hb_client/src/views/wpm/need.vue | 69 ++- hb_client/src/views/wpm/productjy.vue | 538 +++++++++++++++++++++ hb_client/src/views/wpm/worktask.vue | 12 +- 8 files changed, 884 insertions(+), 22 deletions(-) create mode 100644 hb_client/src/views/mtm/materialDetail.vue create mode 100644 hb_client/src/views/wpm/productjy.vue diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js index 7e3462d..b274167 100644 --- a/hb_client/src/api/wpm.js +++ b/hb_client/src/api/wpm.js @@ -58,14 +58,6 @@ export function wproductTest(data) { data }) } -//半成品复检 -export function wproductRetest(data) { - return request({ - url: '/wpm/wproduct/retest/', - method: 'post', - data - }) -} //半成品入库 @@ -261,4 +253,14 @@ export function createTool(data) { }) } +//检验合格的半成品批量入库 +export function createputins(data) { + return request({ + url: '/wpm/wproduct/putins/', + method: 'post', + data + }) +} + + diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js index b739f6c..2aa5dcb 100644 --- a/hb_client/src/router/index.js +++ b/hb_client/src/router/index.js @@ -112,6 +112,14 @@ export const asyncRoutes = [ component: () => import('@/views/mtm/materialdo.vue'), meta: { title: '绑定检查表', perms: ['vendor_manage'] }, hidden: true + } + , + { + path: 'materialDetail/:id', + name: 'MaterialDetail', + component: () => import('@/views/mtm/materialDetail.vue'), + meta: { title: '物料详情', perms: ['vendor_manage'] }, + hidden: true }, { path: 'process', @@ -201,11 +209,19 @@ export const asyncRoutes = [ hidden: true }, { - path: 'need/:id', + path: 'need', name: 'need', component: () => import('@/views/wpm/need'), meta: { title: '半成品检验', icon: 'example', perms: ['index_manage'] } } + , + { + path: 'productjy', + name: 'productjy', + component: () => import('@/views/wpm/productjy'), + meta: { title: '成品检验', icon: 'example', perms: ['index_manage'] } + } + ] }, { diff --git a/hb_client/src/views/mtm/material.vue b/hb_client/src/views/mtm/material.vue index afaf129..8d1677a 100644 --- a/hb_client/src/views/mtm/material.vue +++ b/hb_client/src/views/mtm/material.vue @@ -92,10 +92,16 @@ @click="handlebind(scope)" >检查表 + 编辑 + 详情 diff --git a/hb_client/src/views/mtm/productprocess.vue b/hb_client/src/views/mtm/productprocess.vue index f874189..7dd2203 100644 --- a/hb_client/src/views/mtm/productprocess.vue +++ b/hb_client/src/views/mtm/productprocess.vue @@ -46,14 +46,14 @@ {{products.name}} {{products.number}} diff --git a/hb_client/src/views/wpm/need.vue b/hb_client/src/views/wpm/need.vue index 37be5ee..1f6f670 100644 --- a/hb_client/src/views/wpm/need.vue +++ b/hb_client/src/views/wpm/need.vue @@ -99,15 +99,24 @@ + 批量入库 + + @@ -328,11 +337,38 @@ 取 消 确 定 + + + + + + + + + + + + + + + diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue index 598af64..12da811 100644 --- a/hb_client/src/views/wpm/worktask.vue +++ b/hb_client/src/views/wpm/worktask.vue @@ -162,17 +162,12 @@ scope.row.step_.name }} - + - - - +