From af2b318da9d4c51b5b8afb2f4cefe86ff049bc7c Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 17 十月 2023 21:16:45 +0800 Subject: [PATCH] feat: 添加缺失的请求 --- src/views/sales/salesDetails/index.vue | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/views/sales/salesDetails/index.vue b/src/views/sales/salesDetails/index.vue index 3cd9d8f..ba6058b 100644 --- a/src/views/sales/salesDetails/index.vue +++ b/src/views/sales/salesDetails/index.vue @@ -237,9 +237,23 @@ async getData() { this.loading = true let params = {} - if (this.addConfig.id) { + console.log("ssssssssssss") + console.log(this.addConfig) + if (this.addConfig.keywordType === "瀹㈡埛鍚嶇О") { params = { - number: this.addConfig.keyword, + clientId: this.addConfig.client_id, + page: this.pagerOptions.currPage, + pageSize: this.pagerOptions.pageSize + } + } else if (this.addConfig.keywordType === "閿�鍞満浼�") { + params = { + saleChanceId: this.addConfig.sale_chance_id, + page: this.pagerOptions.currPage, + pageSize: this.pagerOptions.pageSize + } + } else if (this.addConfig.keywordType === "閿�鍞瓙鍗�") { + params = { + number: this.addConfig.subbill_name, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize } @@ -294,6 +308,8 @@ this.editConfig.infomation = { ...this.addConfig, currency: "浜烘皯甯�", + sale_chance_name:"", + subbill_name:"", client_name: Object.keys(this.addConfig).length === 0 ? "" : this.addConfig.client_name } }, -- Gitblit v1.8.0