From 51b8b88c6b092ec58258aea26cdee416dd03eb99 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期三, 22 四月 2026 11:11:57 +0800
Subject: [PATCH] 阳光彩印web 生产核算删除工资字段

---
 src/views/procurementManagement/paymentEntry/index.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/views/procurementManagement/paymentEntry/index.vue b/src/views/procurementManagement/paymentEntry/index.vue
index 89152bf..533dd8c 100644
--- a/src/views/procurementManagement/paymentEntry/index.vue
+++ b/src/views/procurementManagement/paymentEntry/index.vue
@@ -261,7 +261,6 @@
   {
     label: "渚涘簲鍟嗗悕绉�",
     prop: "supplierName",
-    width:240
   },
 	{
 		label: "浠樻鐘舵��",
@@ -282,7 +281,6 @@
 		label: "浜у搧澶х被",
 		prop: "productCategory",
 		showOverflowTooltip: true,
-		width: 100
 	},
 	{
 		label: "瑙勬牸鍨嬪彿",
@@ -293,17 +291,15 @@
   {
     label: "宸蹭粯娆鹃噾棰�(鍏�)",
     prop: "ticketsTotal",
-    width: 120,
     formatData: (params) => {
-      return params ? parseFloat(params).toFixed(2) : 0;
+      return params ? parseFloat(params).toFixed(3) : 0;
     },
   },
   {
     label: "寰呬粯娆鹃噾棰�(鍏�)",
     prop: "pendingTicketsTotal",
-    width: 120,
     formatData: (params) => {
-      return params ? parseFloat(params).toFixed(2) : 0;
+      return params ? parseFloat(params).toFixed(3) : 0;
     },
   },
 ]);
@@ -327,6 +323,8 @@
   searchForm: {
     supplierNameOrContractNo: "",
     status: false,
+    // 鍙煡璇㈠鎵圭姸鎬佷负 3 鐨勮褰�
+    approvalStatus: 3,
   },
   form: {
     purchaseContractNumber: "",
@@ -364,7 +362,7 @@
 
 const formattedNumber = (row, column, cellValue) => {
   const val = Number(cellValue ?? 0);
-  return Number.isFinite(val) ? val.toFixed(2) : "0.00";
+  return Number.isFinite(val) ? val.toFixed(3) : "0.00";
 };
 // 瀛愯〃鍚堣鏂规硶
 const summarizeMainTable1 = (param) => {
@@ -372,6 +370,8 @@
     param,
     ["ticketsTotal", "pendingTicketsTotal"],
     {
+      ticketsTotal: { decimalPlaces: 3 },
+      pendingTicketsTotal: { decimalPlaces: 3 },
       ticketsNum: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
       futureTickets: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
     }
@@ -380,6 +380,7 @@
 // 瀛愯〃鍚堣鏂规硶
 const summarizeMainTable2 = (param) => {
 	return proxy.summarizeTable(param, ["currentPaymentAmount"], {
+    currentPaymentAmount: { decimalPlaces: 3 },
 		ticketsNum: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
 		futureTickets: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
 	});
@@ -537,7 +538,7 @@
   })
     .then(() => {
       tableLoading.value = true;
-			delPaymentRegistration(row.id)
+			delPaymentRegistration([row.id])
         .then((res) => {
           proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛");
           getList();

--
Gitblit v1.9.3