From d90576a14722936d2bbac4595f561512a480c36a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 11 七月 2025 15:22:00 +0800
Subject: [PATCH] 1.来票登记-新增登记计算报错,关闭弹框后没有刷新列表问题

---
 src/views/salesManagement/receiptPaymentHistory/index.vue |   34 +++++++++++++++++++++-------------
 1 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/src/views/salesManagement/receiptPaymentHistory/index.vue b/src/views/salesManagement/receiptPaymentHistory/index.vue
index 9e7ad7d..f0dc1de 100644
--- a/src/views/salesManagement/receiptPaymentHistory/index.vue
+++ b/src/views/salesManagement/receiptPaymentHistory/index.vue
@@ -10,10 +10,10 @@
           :prefix-icon="Search"
         />
       </el-form-item>
-      <el-form-item label="鍚堝悓鍙�">
+      <el-form-item label="瀹㈡埛鍚堝悓鍙�">
         <el-input
           v-model="searchForm.customerContractNo"
-          placeholder="杈撳叆鍚堝悓鍙�"
+          placeholder="杈撳叆瀹㈡埛鍚堝悓鍙�"
           @change="handleQuery"
           clearable
           :prefix-icon="Search"
@@ -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:200,
     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