From 195770f92f7d739ffba6447fdbf3a3d5b9e009fa Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期五, 24 四月 2026 16:32:57 +0800
Subject: [PATCH] fix(生产订单): 修复绑定工艺路线时的材料规格验证和显示问题

---
 src/views/salesManagement/receiptPaymentLedger/index.vue |   37 ++++++++++---------------------------
 1 files changed, 10 insertions(+), 27 deletions(-)

diff --git a/src/views/salesManagement/receiptPaymentLedger/index.vue b/src/views/salesManagement/receiptPaymentLedger/index.vue
index 31bee75..1ed51e9 100644
--- a/src/views/salesManagement/receiptPaymentLedger/index.vue
+++ b/src/views/salesManagement/receiptPaymentLedger/index.vue
@@ -48,13 +48,6 @@
 						width="200"
           />
           <el-table-column
-            label="鍥炴閲戦(鍏�)"
-            prop="receiptPaymentAmount"
-            show-overflow-tooltip
-            :formatter="formattedNumber"
-						width="200"
-          />
-          <el-table-column
             label="搴旀敹閲戦(鍏�)"
             prop="unReceiptPaymentAmount"
             show-overflow-tooltip
@@ -98,7 +91,7 @@
 						width="110"
           />
           <el-table-column
-            label="閿�鍞悎鍚屽彿"
+            label="璁㈠崟缂栧彿"
             prop="salesContractNo"
             show-overflow-tooltip
 						width="200"
@@ -106,13 +99,6 @@
           <el-table-column
             label="鍚堝悓閲戦(鍏�)"
             prop="invoiceTotal"
-            show-overflow-tooltip
-            :formatter="formattedNumber"
-						width="200"
-          />
-          <el-table-column
-            label="鍥炴閲戦(鍏�)"
-            prop="receiptPaymentAmount"
             show-overflow-tooltip
             :formatter="formattedNumber"
 						width="200"
@@ -130,14 +116,6 @@
             </template>
           </el-table-column>
         </el-table>
-        <pagination
-          v-show="recordTotal > 0"
-          :total="recordTotal"
-          layout="total, sizes, prev, pager, next, jumper"
-          :page="recordPage.current"
-          :limit="recordPage.size"
-          @pagination="recordPaginationChange"
-        />
       </div>
     </div>
   </div>
@@ -178,7 +156,6 @@
   getList();
 };
 const paginationChange = (obj) => {
-  console.log("paginationChange", current, limit);
   page.current = obj.page;
   page.size = obj.limit;
   getList();
@@ -197,7 +174,7 @@
   });
 };
 const formattedNumber = (row, column, cellValue) => {
-  return parseFloat(cellValue).toFixed(2);
+  return parseFloat(cellValue).toFixed(3);
 };
 // 涓昏〃鍚堣鏂规硶
 const summarizeMainTable = (param) => {
@@ -205,6 +182,9 @@
     param,
     ["invoiceTotal", "receiptPaymentAmount", "unReceiptPaymentAmount"],
     {
+      invoiceTotal: { decimalPlaces: 3 },
+      receiptPaymentAmount: { decimalPlaces: 3 },
+      unReceiptPaymentAmount: { decimalPlaces: 3 },
       ticketsNum: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
       futureTickets: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
     }
@@ -216,6 +196,9 @@
     param,
     ["invoiceAmount", "receiptAmount", "unReceiptAmount"],
     {
+      invoiceAmount: { decimalPlaces: 3 },
+      receiptAmount: { decimalPlaces: 3 },
+      unReceiptAmount: { decimalPlaces: 3 },
       ticketsNum: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
       futureTickets: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
     }
@@ -226,9 +209,9 @@
       (item) => item.id == customerId.value
     );
     summarizeTable[summarizeTable.length - 1] =
-      tableData.value[index].unReceiptPaymentAmount.toFixed(2);
+      tableData.value[index].unReceiptPaymentAmount.toFixed(3);
   } else {
-    summarizeTable[summarizeTable.length - 1] = 0.0;
+    summarizeTable[summarizeTable.length - 1] = "0.000";
   }
   return summarizeTable;
 };

--
Gitblit v1.9.3