From d4f4c52402b91cb8e17c1845da71c5e39662fde0 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 03 一月 2024 15:28:06 +0800 Subject: [PATCH] 销售报价单列表页增加统计内容及接口联调、添加报价单天天客户名称及对应限制功能 --- src/views/other/payment/saleInvoice/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/other/payment/saleInvoice/index.vue b/src/views/other/payment/saleInvoice/index.vue index bd13fb7..0ed89c1 100644 --- a/src/views/other/payment/saleInvoice/index.vue +++ b/src/views/other/payment/saleInvoice/index.vue @@ -101,7 +101,7 @@ keyword: "", keywordType: "", tableColumn: [ - { label: "鍙戠エ缂栧彿", prop: "invoiceNumber", default: true }, + { label: "鍙戠エ缂栧彿", prop: "number", default: true }, { label: "涓婚", prop: "subject" }, { label: "瀹㈡埛鍚嶇О", prop: "client_name" }, { label: "绁ㄦ嵁绫诲瀷", prop: "invoiceType_name" }, @@ -189,9 +189,9 @@ } await getInvoiceList(params) .then((res) => { - if (res.data.code === 200) { - if (res.data.data.data && res.data.data.data.length > 0) { - const list = res.data.data.data.map((item) => { + if (res.code === 200) { + if (res.data.data && res.data.data.length > 0) { + const list = res.data.data.map((item) => { return { ...item, client_name: item.Client.name, @@ -200,7 +200,7 @@ } }) this.tableList.tableInfomation = list || [] - this.pagerOptions.totalCount = res.data.data.count + this.pagerOptions.totalCount = res.data.count } else { this.tableList.tableInfomation = [] } -- Gitblit v1.8.0