From b14930d7ac2ce362403ea28d0bae724161bc1f3c Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期二, 21 四月 2026 10:36:41 +0800
Subject: [PATCH] fix(采购台账): 修正金额显示小数位数及界面文本错误
---
src/pages/procurementManagement/paymentLedger/index.vue | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/pages/procurementManagement/paymentLedger/index.vue b/src/pages/procurementManagement/paymentLedger/index.vue
index f3e2771..760fd3f 100644
--- a/src/pages/procurementManagement/paymentLedger/index.vue
+++ b/src/pages/procurementManagement/paymentLedger/index.vue
@@ -1,7 +1,7 @@
<template>
<view class="sales-account">
<!-- 浣跨敤閫氱敤椤甸潰澶撮儴缁勪欢 -->
- <PageHeader title="渚涘簲鍟嗗線鏉�" @back="goBack" />
+ <PageHeader title="渚涘簲鍟嗕粯娆惧彴璐�" @back="goBack" />
<!-- 鎼滅储鍖哄煙 -->
<view class="search-section">
@@ -21,7 +21,7 @@
</view>
</view>
- <!-- 渚涘簲鍟嗗垪琛� -->
+ <!-- 渚涘簲鍟嗗垪锟�?-->
<view class="customer-list-container">
<view class="customer-list" v-if="tableData.length > 0">
<view
@@ -44,12 +44,12 @@
<up-divider></up-divider>
<view class="item-details">
<view class="detail-row">
- <text class="detail-label">鍙戠エ閲戦(鍏�)</text>
+ <text class="detail-label">鍚堝悓閲戦(鍏�)</text>
<text class="detail-value">{{ formattedNumber(item.invoiceAmount) }}</text>
</view>
<view class="detail-row">
<text class="detail-label">浠樻閲戦(鍏�)</text>
- <text class="detail-value">{{ formattedNumber(item.receiptPaymentAmount) }}</text>
+ <text class="detail-value">{{ formattedNumber(item.paymentAmount) }}</text>
</view>
<view class="detail-row">
<text class="detail-label">搴斾粯閲戦(鍏�)</text>
@@ -59,7 +59,7 @@
</view>
</view>
<view v-else class="no-data">
- <text>鏆傛棤渚涘簲鍟嗘暟鎹�</text>
+ <text>鏆傛棤渚涘簲鍟嗕粯娆捐褰�</text>
</view>
</view>
</view>
@@ -114,7 +114,7 @@
};
const formattedNumber = (value) => {
- return parseFloat(value || 0).toFixed(2);
+ return parseFloat(value || 0).toFixed(3);
};
// 鏄剧ず鍔犺浇鎻愮ず
@@ -131,9 +131,9 @@
};
const rowClickMethod = (row) => {
- // 浣跨敤 uni.setStorageSync 瀛樺偍渚涘簲鍟嗕俊鎭�
+ // 浣跨敤 uni.setStorageSync 瀛樺偍渚涘簲鍟咺D
uni.setStorageSync('supplierId', row.supplierId);
- // 璺宠浆鍒板洖娆捐褰曟槑缁嗛〉闈�
+ // 璺宠浆鍒颁粯娆捐褰曟槑缁嗛〉
uni.navigateTo({
url: '/pages/procurementManagement/paymentLedger/detail'
});
@@ -147,9 +147,9 @@
<style scoped lang="scss">
@import '@/styles/procurement-common.scss';
-// 渚涘簲鍟嗗線鏉ョ壒鏈夋牱寮�
+// 渚涘簲鍟嗕粯娆惧彴璐︾壒鏈夋牱寮�
.detail-value.danger {
- color: #ff4757; // 涓庡叕鍏辨牱寮忎腑鐨� #ee0a24 涓嶅悓
+ color: #ff4757; // 涓庡叕鍏辨牱寮忎腑搴斾粯閲戦棰滆壊涓嶅悓
font-weight: 500;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3