diff --git a/src/views/wpm/mlog_dept10.vue b/src/views/wpm/mlog_dept10.vue index b1915dbc..b762fa02 100644 --- a/src/views/wpm/mlog_dept10.vue +++ b/src/views/wpm/mlog_dept10.vue @@ -360,6 +360,7 @@ export default { this.apiObjHandover = this.$API.wpm.handover.list this.paramsWm.belong_dept = this.currentDept.id + this.paramsWm.count__gte = 1 this.apiObjWm = this.$API.wpm.wmaterial.list } else { this.$message.error("未找到车间"); diff --git a/src/views/wpm/mlog_dept6.vue b/src/views/wpm/mlog_dept6.vue index 350a8451..bf42a642 100644 --- a/src/views/wpm/mlog_dept6.vue +++ b/src/views/wpm/mlog_dept6.vue @@ -7,30 +7,17 @@ - - 查询 + - + - - - {{ scope.row.material_out_.name }} - - - - - {{ scope.row.material_out_.specification }} - - - - - {{ scope.row.material_out_.model }} - + @@ -59,7 +46,6 @@ - @@ -98,14 +84,9 @@ - - - {{ - scope.row.material_.name - }} - + @@ -162,10 +143,10 @@ - {{ - scope.row.material_.process_name - }} - + {{ + scope.row.material_.process_name + }} + @@ -203,7 +184,8 @@ export default { recive_dept__name: '6车间' }, paramsWm: { - belong_dept__name: '6车间' + belong_dept__name: '6车间', + count__gte: 1 }, paramsMtask: { mgroup__belong_dept__name: '6车间', @@ -245,7 +227,7 @@ export default { }); }, handleQueryMtask() { - this.$refs.table.refresh(this.queryMtask); + this.$refs.table.queryData(this.queryMtask); }, table_submit(row) { this.$API.pm.mtask.submit.req(row.id).then(res => { diff --git a/src/views/wpm/mlog_dept7.vue b/src/views/wpm/mlog_dept7.vue index 3f2302f8..62081be2 100644 --- a/src/views/wpm/mlog_dept7.vue +++ b/src/views/wpm/mlog_dept7.vue @@ -84,7 +84,8 @@ 新增 + v-if="currentMtask && currentMtask.state == 20" + v-auth="'mlog.create'">新增 @@ -242,10 +243,10 @@ }} - {{ - scope.row.material_.process_name - }} - + {{ + scope.row.material_.process_name + }} + @@ -255,13 +256,8 @@ - @@ -370,6 +366,7 @@ export default { this.apiObjHandover = this.$API.wpm.handover.list this.paramsWm.belong_dept = this.currentDept.id + this.paramsWm.count__gte = 1 this.apiObjWm = this.$API.wpm.wmaterial.list } else { this.$message.error("未找到车间"); diff --git a/src/views/wpm/mlog_tui.vue b/src/views/wpm/mlog_tui.vue index aafb7840..a92aa826 100644 --- a/src/views/wpm/mlog_tui.vue +++ b/src/views/wpm/mlog_tui.vue @@ -13,7 +13,7 @@ - {{scope.row.material_out_.name}} + {{ scope.row.material_out_.name }} @@ -67,7 +67,7 @@ - {{scope.row.material_out_.name}} + {{ scope.row.material_out_.name }} @@ -130,10 +130,10 @@ }} - {{ - scope.row.material_.process_name - }} - + {{ + scope.row.material_.process_name + }} + @@ -144,19 +144,20 @@ - + + style="width: 100%" :disabled="handoverType == 'edit'" /> - + @@ -171,7 +172,8 @@ - + @@ -179,7 +181,7 @@ + @change="getUserList2" :disabled="handoverType == 'edit'"> @@ -187,7 +189,8 @@ - + @@ -199,13 +202,8 @@ 提交 - +