From 7726b6cdab80596d2e2f7dd3fe1ec3dfbdeee155 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期五, 12 六月 2026 09:42:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_pro_河南鹤壁' into dev_pro_河南鹤壁
---
src/views/procurementManagement/procurementLedger/detail.vue | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/src/views/procurementManagement/procurementLedger/detail.vue b/src/views/procurementManagement/procurementLedger/detail.vue
index 9566fa5..37b7fdb 100644
--- a/src/views/procurementManagement/procurementLedger/detail.vue
+++ b/src/views/procurementManagement/procurementLedger/detail.vue
@@ -61,14 +61,14 @@
<el-table-column label="鏁伴噺" prop="quantity" />
<el-table-column label="搴撳瓨棰勭暀鏁伴噺" prop="stockReservedQuantity" />
<el-table-column label="绋庣巼(%)" prop="taxRate" />
- <el-table-column label="鍚◣鍗曚环(鍏�)" prop="taxInclusiveUnitPrice" :formatter="unitPriceFormattedNumber" width="150" />
+ <el-table-column label="鍚◣鍗曚环(鍏�)" prop="taxInclusiveUnitPrice" :formatter="formattedNumber" width="150" />
<el-table-column label="鍚◣鎬讳环(鍏�)" prop="taxInclusiveTotalPrice" :formatter="formattedNumber" width="150" />
<el-table-column label="涓嶅惈绋庢�讳环(鍏�)" prop="taxExclusiveTotalPrice" :formatter="formattedNumber" width="150" />
<template #append>
<div class="summary-row" v-if="productData.length > 0">
<div class="summary-label">鍚堣</div>
<div class="summary-value" style="width: 150px">
- {{ unitPriceFormattedNumber(null, null, sumTaxInclusiveUnitPrice) }}
+ {{ formattedNumber(null, null, sumTaxInclusiveUnitPrice) }}
</div>
<div class="summary-value" style="width: 150px">
{{ formattedNumber(null, null, sumTaxInclusiveTotalPrice) }}
@@ -160,14 +160,6 @@
const formattedNumber = (row, column, cellValue) => {
if (cellValue != null && !isNaN(cellValue)) {
return Number(cellValue).toFixed(2)
- }
- return cellValue
-}
-
-
-const unitPriceFormattedNumber = (row, column, cellValue) => {
- if (cellValue != null && !isNaN(cellValue)) {
- return Number(cellValue).toFixed(6)
}
return cellValue
}
--
Gitblit v1.9.3