From 36df175693c8224f2987f9e6e54e12c0c010db2f Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期一, 25 九月 2023 15:36:11 +0800 Subject: [PATCH] style: 联系人模块样式调整 --- src/views/sales/quotation/index.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/sales/quotation/index.vue b/src/views/sales/quotation/index.vue index c9606c0..b854a02 100644 --- a/src/views/sales/quotation/index.vue +++ b/src/views/sales/quotation/index.vue @@ -146,7 +146,7 @@ // { label: "鍚堣", prop: "total" }, // 鍚堣 { label: "浜у搧鍚嶇О", prop: "productName", isProductName: true }, { label: "鏁伴噺", prop: "productNumber", isProductAmount: true }, - { label: "浠风◣鍚堣", prop: "priceTax", isProductCommon: true } + { label: "浠风◣鍚堣", prop: "priceTax", isProductTotal: true } ] } this.searchOptions = [] @@ -208,14 +208,14 @@ addBtnClick() { this.editConfig.visible = true this.editConfig.title = "鏂板缓" - this.editConfig.infomation = { ...this.addConfig } + this.editConfig.infomation = { ...this.addConfig, currency: "浜烘皯甯�" } }, // 缂栬緫 handleClick(row) { console.log(row) this.editConfig.visible = true this.editConfig.title = "缂栬緫" - this.editConfig.infomation = { ...row } + this.editConfig.infomation = { ...row, currency: "浜烘皯甯�" } }, // 鍒犻櫎 delClick() { @@ -252,13 +252,18 @@ selClientClick(row) { console.log(row) this.clientDeail.visible = true - this.clientDeail.infomation = { ...row, client_name: row.name } + this.clientDeail.infomation = { + ...row.client, + client_name: row.name, + client_level: row.client.client_level.name, + client_status: row.client.client_status.name + } }, // 鑱旂郴浜鸿鎯� selContactsClick(row) { console.log(row) this.contactsDeail.visible = true - this.contactsDeail.infomation = { ...row } + this.contactsDeail.infomation = { ...row.contact, Client: row.client } }, // 鏈轰細鍚嶇О璇︽儏 selCommonClick(row) { -- Gitblit v1.8.0