From 26c39cd359bc0d2edc88408ff51ef70554e32a90 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 29 二月 2024 09:48:17 +0800 Subject: [PATCH] 跟进记录明细报价单没点击弹框下拉数据为空的问题选择机会或者报价单赋值客户名称 --- src/views/other/commonDialog/SelectContactDialog.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/other/commonDialog/SelectContactDialog.vue b/src/views/other/commonDialog/SelectContactDialog.vue index 515a796..5d97367 100644 --- a/src/views/other/commonDialog/SelectContactDialog.vue +++ b/src/views/other/commonDialog/SelectContactDialog.vue @@ -54,8 +54,8 @@ return { editVisible: false, title: "", - infomation: {}, - search_map:{}, + clientId: 0, + infomation: {} } } } @@ -74,14 +74,17 @@ search_map: {}, tableColumn: [ { label: "鑱旂郴浜哄鍚�", prop: "name", isContactClick: true, default: true }, // 鑱旂郴浜哄鍚� - { label: "鑱旂郴浜虹紪鍙�", prop: "number" }, // 鑱旂郴浜虹紪鍙� + // { label: "鑱旂郴浜虹紪鍙�", prop: "number" }, // 鑱旂郴浜虹紪鍙� { label: "瀹㈡埛鍚嶇О", prop: "client_name" }, // 瀹㈡埛鍚嶇О { label: "鎵嬫満", prop: "phone" } // 鎵嬫満鍙风爜 ], - showCol: ["鑱旂郴浜哄鍚�", "鑱旂郴浜虹紪鍙�", "瀹㈡埛鍚嶇О", "鎵嬫満"] + showCol: ["鑱旂郴浜哄鍚�", "瀹㈡埛鍚嶇О", "鎵嬫満"] } }, created() { + this.search_map = { + client_id: this.editConfig.clientId + } this.setTable() this.getData() }, @@ -121,7 +124,7 @@ async getData() { this.loading = true await getContactList({ - search_map: this.editCommonConfig.search_map, + search_map: this.search_map, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }) -- Gitblit v1.8.0