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 @@
+ 批量入库
+
+
{{ scope.row.material_.name }}
@@ -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
}}
-
+
{{
actstate_[scope.row.act_state]
}}
-
-
- 已执行
- 待执行
-
-
+
{{
@@ -701,12 +696,13 @@ export default {
showPrise1: false,
actstate_: {
6: "待复检",
- 10: "生产中",
+ 10: "操作进行中",
20: "待检验",
30: "已合格",
40: "库存中",
50: "不合格",
60: "待成品检验",
+ 8:"操作准备中",
},
state_: {
0: "制定中",