From c25c96c5dd793c999b2796c0d00f662ce98317f3 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 24 十月 2023 17:56:27 +0800 Subject: [PATCH] 修改编码的 trigger设置 --- src/views/sales/salesDetails/index.vue | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/views/sales/salesDetails/index.vue b/src/views/sales/salesDetails/index.vue index 0e4a733..ccf54eb 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.id, + 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 } }, @@ -302,7 +318,7 @@ console.log(row) this.editConfig.visible = true this.editConfig.title = "缂栬緫" - this.editConfig.infomation = { ...row, sale_chance_name: "", currency: "浜烘皯甯�" } + this.editConfig.infomation = { ...row, sale_chance_name: "", currency: "浜烘皯甯�",sale_chance_name:row.saleChance.name,} }, // 鍒犻櫎 delClick(rowID) { @@ -350,9 +366,8 @@ }, // 鑱旂郴浜鸿鎯� selCommonClick(row) { - console.log(row) - this.specificationDetail.visible = true this.specificationDetail.infomation = { ...row } + this.specificationDetail.visible = true }, addCollectionPlanClick(row) { this.addCollectionConfig.visible = true -- Gitblit v1.8.0