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 c0764b2..b5f6bf7 100644 --- a/hb_client/src/views/wpm/need.vue +++ b/hb_client/src/views/wpm/need.vue @@ -78,42 +78,49 @@ + + + + + + + + + + 批量入库 + - - - - - - - - - - - - - + > + + + + + + @@ -183,250 +190,308 @@ - - - - - - - - - - - - + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + diff --git a/hb_client/src/views/wpm/operationdo.vue b/hb_client/src/views/wpm/operationdo.vue index fd974e0..30526a8 100644 --- a/hb_client/src/views/wpm/operationdo.vue +++ b/hb_client/src/views/wpm/operationdo.vue @@ -813,6 +813,7 @@ export default { handlesubmit() { submitOperation(this.id).then((res) => { if (res.code >= 200) { + this.$router.push({name: "operation" }) this.$message.success("操作提交成功!"); } }); diff --git a/hb_client/src/views/wpm/productjy.vue b/hb_client/src/views/wpm/productjy.vue new file mode 100644 index 0000000..37fd54b --- /dev/null +++ b/hb_client/src/views/wpm/productjy.vue @@ -0,0 +1,542 @@ + + 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 }} - + - - - +