From 344e7a96e12cc43d050afc7e47debd6b875d382a Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 6 Aug 2024 15:28:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=94=80=E5=94=AE=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/operation/repairbill/repairbillAdd.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue index 9219a7c0da..2899ccdecd 100644 --- a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue +++ b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue @@ -86,8 +86,8 @@
班组
- - + +
@@ -1018,6 +1018,7 @@ export default { req.fetchBySid(sid).then((res) => { if (res.success) { this.formobj = res.data + this.groupChange(this.formobj.groupSid) if (this.formobj.fileName.length > 0) { this.fileList = this.formobj.fileName } @@ -1084,12 +1085,12 @@ export default { } }, groupChange(value) { - const choose = this.group_list.filter((item) => item.groupName === value) + const choose = this.group_list.filter((item) => item.groupSid === value) if (choose.length > 0 && choose !== null) { - this.formobj.groupSid = choose[0].groupSid + this.formobj.groupName = choose[0].groupName this.mainRepairersChange_list = choose[0].members } else { - this.formobj.groupSid = '' + this.formobj.groupName = '' this.mainRepairersChange_list = [] this.formobj.mainRepairers = '' }