From 8a1cf4a25bcf3d45f03f60558ab5f0483201f601 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 11 Sep 2024 16:47:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=88=90=E5=93=81=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E4=B8=AD=E4=BA=A4=E6=8E=A5=E8=AE=B0=E5=BD=95=E7=9A=84=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/handover.vue | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue index 58af3668..ae24d515 100644 --- a/src/views/wpm_gx/handover.vue +++ b/src/views/wpm_gx/handover.vue @@ -406,14 +406,26 @@ export default { searchTypeQuery() { let that = this; if (that.searchType == "send") { - that.query.send_mgroup = that.mgroupId; - that.query.recive_mgroup = ""; + if(that.mgroupName=="size"||that.mgroupName=="facade"){ + that.query.send_dept = that.deptId; + that.query.recive_dept = ""; + }else{ + that.query.send_mgroup = that.mgroupId; + that.query.recive_mgroup = ""; + } } else if (that.searchType == "recive") { - that.query.recive_mgroup = that.mgroupId; - that.query.send_mgroup = ""; + if(that.mgroupName=="size"||that.mgroupName=="facade"){ + that.query.send_dept = ""; + that.query.recive_dept =that.deptId; + }else{ + that.query.recive_mgroup = that.mgroupId; + that.query.send_mgroup = ""; + } } else { that.query.send_mgroup = ""; that.query.recive_mgroup = ""; + that.query.recive_dept = ""; + that.query.send_dept = ""; } console.log(that.query); this.$refs.table.queryData(that.query);