From 7bdc564533f48b33c3822b663ca755db991afd0d Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 七月 2025 15:20:46 +0800 Subject: [PATCH] 选择产品下的子产品(子产品也有对应的规格型号),产品大类选择框不展示选择的子产品 --- src/views/salesManagement/receiptPaymentHistory/index.vue | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/views/salesManagement/receiptPaymentHistory/index.vue b/src/views/salesManagement/receiptPaymentHistory/index.vue index 9e7ad7d..1435cbd 100644 --- a/src/views/salesManagement/receiptPaymentHistory/index.vue +++ b/src/views/salesManagement/receiptPaymentHistory/index.vue @@ -48,16 +48,17 @@ </el-form> <div class="table_list"> <PIMTable + rowKey="id" :column="tableColumn" :tableData="tableData" :page="page" :isSelection="true" :isShowSummary="isShowSummarySon" :summaryMethod="summarizeMainTable1" - :handleSelectionChange="handleSelectionChange" :tableLoading="tableLoading" - @pagination="pagination" :total="total" + @pagination="pagination" + @selection-change="handleSelectionChange" ></PIMTable> </div> </div> @@ -73,30 +74,36 @@ const { proxy } = getCurrentInstance(); const tableColumn = ref([ { + label: "閿�鍞悎鍚屽彿", + prop: "salesContractNo", + width:240 + }, + { + label: "瀹㈡埛鍚堝悓鍙�", + prop: "customerContractNo", + width:240 + }, + { label: "鍥炴鏃ユ湡", prop: "receiptPaymentDate", + width:100 }, { label: "瀹㈡埛鍚嶇О", prop: "customerName", + width:240 }, { label: "椤圭洰鍚嶇О", prop: "projectName", - }, - { - label: "鍚堝悓鍙�", - prop: "customerContractNo", - }, - { - label: "椤圭洰鍚嶇О", - prop: "projectName", + width:200 }, { label: "鍥炴閲戦锛堝厓锛�", prop: "receiptPaymentAmount", + width:150, formatData: (params) => { - return parseFloat(params).toFixed(2); + return params ? parseFloat(params).toFixed(2) : 0; }, }, { @@ -123,6 +130,7 @@ { label: "鐧昏鏃ユ湡", prop: "createTime", + width:100 }, ]); const tableData = ref([]); -- Gitblit v1.9.3