From 1249ca8ff44f8de7992fdb5866eae19613d606c3 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 16 八月 2023 19:37:49 +0800 Subject: [PATCH] 详情页联调 --- src/views/sales/quotation/DetailQuotation.vue | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/views/sales/quotation/DetailQuotation.vue b/src/views/sales/quotation/DetailQuotation.vue index 9ff8004..8f65d45 100644 --- a/src/views/sales/quotation/DetailQuotation.vue +++ b/src/views/sales/quotation/DetailQuotation.vue @@ -126,10 +126,10 @@ <!-- <FollowupRecords :isDetail="true" /> --> </div> <div v-if="activeName === 'detail'" class="second"> - <SalesDetails :isDetail="true" /> + <SalesDetails :isDetail="true" :add-config="addConfig" /> </div> <div v-if="activeName === 'serviceContract'" class="second"> - <ServiceContract :isDetail="true" /> + <ServiceContract :isDetail="true" :add-config="addConfig" /> </div> </div> </el-drawer> @@ -174,11 +174,23 @@ sumProp: ["other1", "other2", "other3", "other4"], mergeNumber: 3 }, - productTableList: {} + productTableList: {}, + addConfig: {} } }, created() { this.setData(this.detailConfig.infomation) + this.addConfig = { + id_name: "quotation_number", + keywordType: "鎶ヤ环鍗�", + keyword: this.detailConfig.infomation.number, + id: this.detailConfig.infomation.id, + common_name: this.detailConfig.infomation.name, + client_name: this.detailConfig.infomation.client.name, + contact_name: this.detailConfig.infomation.contact_name, + client_id: this.detailConfig.infomation.client_id, + contact_id: this.detailConfig.infomation.contact_id + } this.setTableForm() }, mounted() {}, @@ -193,7 +205,7 @@ }, { leftStr: "鎶ヤ环鍗曠姸鎬�", - leftValue: item.quotation_status_id, + leftValue: item.quotation_status.name, rightStr: "鑱旂郴浜哄鍚�", rightValue: item.contact_name }, @@ -201,7 +213,7 @@ leftStr: "鏈夋晥鏈熻嚦", leftValue: item.validity_date, rightStr: "閿�鍞礋璐d汉", - rightValue: item.member_id + rightValue: item.member.username }, { leftStr: "閿�鍞満浼�", -- Gitblit v1.8.0