From 6be74fae87a57996e8cf1b8778ad16ddbb1f870b Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 27 二月 2024 16:57:10 +0800
Subject: [PATCH] 如果销售机会,客户名称为空查询所有销售报价单列表,否则查对应报价单,如果客户名称为空查所有销售机会列表
---
src/views/client/followupRecords/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/client/followupRecords/index.vue b/src/views/client/followupRecords/index.vue
index ec8d7f6..5edba03 100644
--- a/src/views/client/followupRecords/index.vue
+++ b/src/views/client/followupRecords/index.vue
@@ -171,10 +171,11 @@
if (this.addConfig.keywordType === "閿�鍞満浼�") {
content = this.addConfig.id
} else {
- content = this.addConfig.common_name
+ content = this.addConfig.id
}
this.search_map = {
- [this.addConfig.id_name]: content
+ // [this.addConfig.id_name]: content
+ contact_id: content
}
}
this.getData(this.search_map)
@@ -256,7 +257,7 @@
// 鏂板缓
addBtnClick() {
this.editConfig.title = "鏂板缓"
- this.editConfig.infomation = { ...this.addConfig }
+ this.editConfig.infomation = { ...this.addConfig ,contact_name:"",sales_leads_name:"",sale_chance_name:""}
this.editConfig.visible = true
},
// 缂栬緫
@@ -266,7 +267,7 @@
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.infomation = { ...config, sale_chance_name:row.sale_chance.name, sales_leads_name: "" }
this.editConfig.visible = true
},
// 鍒犻櫎
--
Gitblit v1.8.0