From ac8749d1f785ee58cec73c27254562c940363205 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 16 十月 2023 16:52:54 +0800
Subject: [PATCH] feat: 销售总单添加必填校验
---
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