From 5ce44c47af535cef581ce82e4e53abc04d70d151 Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Wed, 10 Apr 2024 16:19:00 +0800 Subject: [PATCH] '123' --- ruoyi-ui/src/views/quot/quot/index.vue | 2 +- ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/quot/quot/index.vue b/ruoyi-ui/src/views/quot/quot/index.vue index 75257a1..982a9e3 100644 --- a/ruoyi-ui/src/views/quot/quot/index.vue +++ b/ruoyi-ui/src/views/quot/quot/index.vue @@ -713,7 +713,7 @@ export default { const quotId = row.quotId || this.ids getQuot(quotId).then(response => { this.form = response.data; - this.$set(this.form, "quotJsxzGroup", this.form.quotJsxzGroup==''?[]:this.form.quotJsxzGroup.split(',')); + this.$set(this.form, "quotJsxzGroup", (this.form.quotJsxzGroup==''||this.form.quotJsxzGroup==null)?[]:this.form.quotJsxzGroup.split(',')); this.quotMaterialList = response.data.quotMaterialList; this.open = true; this.title = "修改报价"; diff --git a/ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue b/ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue index d7c8f94..89e67b9 100644 --- a/ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue +++ b/ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue @@ -889,7 +889,7 @@ export default { const quotJsqrId = row.quotJsqrId || this.ids getJsqr(quotJsqrId).then(response => { this.form = response.data; - this.$set(this.form, "quotJsxzGroup", this.form.quotJsxzGroup==''?[]:this.form.quotJsxzGroup.split(',')); + this.$set(this.form, "quotJsxzGroup", (this.form.quotJsxzGroup==''||this.form.quotJsxzGroup==null)?[]:this.form.quotJsxzGroup.split(',')); var quotJsxzGroup = this.form.quotJsxzGroup; if(quotJsxzGroup.indexOf("TL")!==-1){ this.showTl = true; @@ -934,6 +934,7 @@ export default { commitQuot(this.form).then(response => { this.open = false; }) + this.form.quotJsxzGroup = quotJsxzGroups.split(","); }, /** 删除按钮操作 */ handleDelete(row) {