From 6be74fae87a57996e8cf1b8778ad16ddbb1f870b Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 27 二月 2024 16:57:10 +0800 Subject: [PATCH] 如果销售机会,客户名称为空查询所有销售报价单列表,否则查对应报价单,如果客户名称为空查所有销售机会列表 --- src/views/other/commonDialog/SelectChanceDialog.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/other/commonDialog/SelectChanceDialog.vue b/src/views/other/commonDialog/SelectChanceDialog.vue index 2d8af06..0c1ed41 100644 --- a/src/views/other/commonDialog/SelectChanceDialog.vue +++ b/src/views/other/commonDialog/SelectChanceDialog.vue @@ -54,8 +54,8 @@ return { editVisible: false, title: "", - infomation: {}, - search_map:{} + clientId: 0, + infomation: {} } } } @@ -83,6 +83,9 @@ } }, created() { + this.search_map = { + client_id: this.editConfig.clientId + } this.setTable() this.getData() }, @@ -122,7 +125,7 @@ async getData() { this.loading = true await getSaleChanceList({ - search_map: this.editCommonConfig.search_map, + search_map: this.search_map, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }) -- Gitblit v1.8.0