From 20054b8a41e5ae5edd10c95e7df20e0e475da1b8 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 16 十月 2023 15:42:49 +0800 Subject: [PATCH] 修改销售线索的bug --- src/views/client/followupRecords/index.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/client/followupRecords/index.vue b/src/views/client/followupRecords/index.vue index e593d33..72a09e5 100644 --- a/src/views/client/followupRecords/index.vue +++ b/src/views/client/followupRecords/index.vue @@ -249,22 +249,25 @@ }, // 鎼滅储 onFilterSearch(searchText) { - this.search_map.name = searchText ?? "" + this.search_map.client_name = searchText ?? "" this.pagerOptions.currPage = 1 this.getData() }, // 鏂板缓 addBtnClick() { - this.editConfig.visible = true this.editConfig.title = "鏂板缓" this.editConfig.infomation = { ...this.addConfig } + this.editConfig.visible = true }, // 缂栬緫 handleClick(row) { console.log(row) - this.editConfig.visible = true this.editConfig.title = "缂栬緫" - this.editConfig.infomation = { ...row, sale_chance_name: "", sales_leads_name: "" } + let config=JSON.parse(JSON.stringify(row)); + config.client_status_id=config.client_status_id?config.client_status_id:null + config.contact_information_id=config.contact_information_id?config.contact_information_id:null + this.editConfig.infomation = { ...config, sale_chance_name: "", sales_leads_name: "" } + this.editConfig.visible = true }, // 鍒犻櫎 delClick(id) { -- Gitblit v1.8.0