From 443b9fb0817a30c2075ec59424d06f9374894cf2 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 17 十月 2023 12:13:51 +0800 Subject: [PATCH] 客户管理的 收款单 添加 列表接口的参数问题 --- src/views/other/payment/receipt/index.vue | 4 ++-- src/views/client/client/DetailClientManage.vue | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/client/client/DetailClientManage.vue b/src/views/client/client/DetailClientManage.vue index 5f31ccf..2b89beb 100644 --- a/src/views/client/client/DetailClientManage.vue +++ b/src/views/client/client/DetailClientManage.vue @@ -278,7 +278,8 @@ contact_name: this.detailConfig.infomation.contact_name, client_status_id: this.detailConfig.infomation.client_status_id, client_id: this.detailConfig.infomation.id, - contact_id: this.detailConfig.infomation.contact_id + contact_id: this.detailConfig.infomation.contact_id, + sourceType:1, } }, mounted() {}, diff --git a/src/views/other/payment/receipt/index.vue b/src/views/other/payment/receipt/index.vue index c6ad29d..98d506c 100644 --- a/src/views/other/payment/receipt/index.vue +++ b/src/views/other/payment/receipt/index.vue @@ -180,7 +180,7 @@ // console.log() this.loading = true let params = {} - let sourceTyle = this.addConfig.keywordType === "閿�鍞槑缁嗗崟" ? 1 : 2 + let sourceTyle = (this.addConfig.keywordType === "閿�鍞槑缁嗗崟"||this.addConfig.keywordType ==='瀹㈡埛鍚嶇О') ? 1 : 2 if (this.addConfig.id) { params = { sourceID: this.addConfig.id, @@ -246,7 +246,7 @@ addBtnClick() { this.editConfig.visible = true this.editConfig.title = "鏂板缓" - this.editConfig.sourceType = this.sourceType + this.editConfig.sourceType = this.addConfig.keywordType ==='瀹㈡埛鍚嶇О'?1:this.sourceType this.editConfig.infomation = { ...this.addConfig, saleDetailNumber: "" } } } -- Gitblit v1.8.0