From 191c8a8cfbf22395ad8256dc41538a46ce7af94c Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 04 一月 2024 18:46:02 +0800 Subject: [PATCH] 销售 报价单目前是查询的对应的客户下的报价单,没有依赖于销售机会,修改为报价单依赖于选择的销售机会的查询 --- src/views/other/payment/receipt/addReceipt.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/other/payment/receipt/addReceipt.vue b/src/views/other/payment/receipt/addReceipt.vue index ed5daa4..a778fdb 100644 --- a/src/views/other/payment/receipt/addReceipt.vue +++ b/src/views/other/payment/receipt/addReceipt.vue @@ -391,6 +391,7 @@ } }, created() { + console.log() this.$store.dispatch("geClient") this.$store.dispatch("geServiceContract") this.$store.dispatch("geSalesDetails") @@ -409,8 +410,8 @@ await getPaymentTypeList().then((res) => { console.log("鏀粯鏂瑰紡") console.log(res.data) - if (res.data.code === 200) { - this.paymentTypeListOptions = res.data.data.data + if (res.code === 200) { + this.paymentTypeListOptions = res.data.data } }) }, @@ -418,8 +419,8 @@ await getBankAccountList().then((res) => { console.log("璐︽埛") console.log(res.data) - if (res.data.code === 200) { - this.bankAccountOptions = res.data.data.data + if (res.code === 200) { + this.bankAccountOptions = res.data.data } }) }, @@ -527,7 +528,7 @@ this.editConfig.infomation.serviceContract_Number = row.number this.serviceContractId = row.id } else if (value === "contract") { - this.editConfig.infomation.number = row.number + this.editConfig.infomation.saleDetailNumber = row.number this.SalesDetailsId = row.id } }, @@ -540,7 +541,7 @@ this.editConfig.infomation.serviceContract_Number = "" this.serviceContractId = 0 } else if (value === "contract") { - this.editConfig.infomation.number = "" + this.editConfig.infomation.saleDetailNumber = "" this.SalesDetailsId = 0 } }, -- Gitblit v1.8.0