From e355fcedc7a06f2ef441a1e905b23b82585fdf57 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 25 Dec 2023 12:48:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=206=E8=BD=A6=E9=97=B4=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=89=A7=E8=A1=8C=E7=AD=9B=E9=80=89=E5=8F=8A=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm/mlog_dept6.vue | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/src/views/wpm/mlog_dept6.vue b/src/views/wpm/mlog_dept6.vue index 350a8451..bd38d1c4 100644 --- a/src/views/wpm/mlog_dept6.vue +++ b/src/views/wpm/mlog_dept6.vue @@ -7,30 +7,17 @@
- - 查询 +
- + - - - - - - - - + @@ -59,7 +46,6 @@ - @@ -98,7 +84,6 @@ - @@ -162,10 +147,10 @@ - - + + @@ -245,7 +230,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 => { From 02162eb83ee4bd4885fd4103a93add28745b41a3 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 25 Dec 2023 13:09:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E8=BD=A6=E9=97=B4=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E6=98=BE=E7=A4=BAcount=5F=5Fgte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm/mlog_dept10.vue | 1 + src/views/wpm/mlog_dept6.vue | 11 ++---- src/views/wpm/mlog_dept7.vue | 21 +++++----- src/views/wpm/mlog_tui.vue | 73 +++++++++++++++++------------------ 4 files changed, 50 insertions(+), 56 deletions(-) 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 bd38d1c4..bf42a642 100644 --- a/src/views/wpm/mlog_dept6.vue +++ b/src/views/wpm/mlog_dept6.vue @@ -17,7 +17,7 @@ - + @@ -86,11 +86,7 @@ - - + @@ -188,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车间', 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 @@ }}
- - + +
@@ -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 @@ @@ -67,7 +67,7 @@ @@ -130,10 +130,10 @@ }} - - + + @@ -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 @@ 提交 - +