From 51101f83762dba9c75f4d757c00edd03c7b6e038 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 26 十一月 2026 10:16:02 +0800
Subject: [PATCH] 修复金额显示问题
---
src/views/project/fund/performancedetails/index.vue | 57 +++++++++++++++++++++++----------------------------------
1 files changed, 23 insertions(+), 34 deletions(-)
diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue
index d7fe7fe..597d9b8 100644
--- a/src/views/project/fund/performancedetails/index.vue
+++ b/src/views/project/fund/performancedetails/index.vue
@@ -251,33 +251,6 @@
</template>
</el-table-column>
<el-table-column
- prop="vatAmount"
- align="right"
- header-align="right"
- class-name="money-column"
- label="澧炲�肩◣"
- width="110"
- :formatter="formatMoney"
- />
- <el-table-column
- prop="cityTaxAmount"
- align="right"
- header-align="right"
- class-name="money-column"
- label="鍩庡缓绋�"
- width="110"
- :formatter="formatMoney"
- />
- <el-table-column
- prop="laborPretaxAmount"
- align="right"
- header-align="right"
- class-name="money-column"
- label="鍔冲姟绋庡墠"
- width="120"
- :formatter="formatMoney"
- />
- <el-table-column
prop="taxamount"
align="right"
header-align="right"
@@ -290,7 +263,7 @@
@blur="normalizeMoney(scope.row, 'taxamount'); chargeSum()"
v-model="scope.row.taxamount"
class="money-input"
- placeholder="鍔冲姟涓◣"
+ placeholder="涓◣"
/>
</template>
</el-table-column>
@@ -299,14 +272,14 @@
align="right"
header-align="right"
class-name="money-column"
- label="鍔冲姟绋庡悗"
+ label="绋庡悗閲戦"
width="120"
:formatter="formatMoney">
<template slot-scope="scope">
<el-input
v-model="scope.row.taxedamount"
class="money-input"
- placeholder="鍔冲姟绋庡悗"
+ placeholder="绋庡悗閲戦"
@blur="normalizeMoney(scope.row, 'taxedamount'); queenchargeSum()"
/>
</template>
@@ -2837,14 +2810,30 @@
this.showSelectionDialog = false;
},
handleUploadError() {},
+ /** 2026-11-23锛氭寜鏂囦欢鍚嶄粠鍒楄〃涓簿纭垹闄や竴椤癸紝閬垮厤鐢ㄩ瑙堝垪琛�(blob)鏁磋〃瑕嗙洊闄勪欢瀛楁 */
+ spliceByName(list, name) {
+ if (!list || !name) {
+ return;
+ }
+ const idx = list.findIndex(item => item && item.name === name);
+ if (idx > -1) {
+ list.splice(idx, 1);
+ }
+ },
remove(file, fileList) {
const rbDetails = [...this.rbDetails];
if (this.activeName == 1) {
- this.fileListto.splice(this.fileListto.indexOf(file), 1);
- rbDetails[this.atpresent].annexfilesList = this.fileListto;
+ this.spliceByName(this.fileListto, file && file.name);
+ this.spliceByName(
+ rbDetails[this.atpresent].annexfilesList,
+ file && file.name
+ );
} else {
- this.invoicefileListto.splice(this.invoicefileListto.indexOf(file), 1);
- rbDetails[this.atpresent].invoicefilesList = this.invoicefileListto;
+ this.spliceByName(this.invoicefileListto, file && file.name);
+ this.spliceByName(
+ rbDetails[this.atpresent].invoicefilesList,
+ file && file.name
+ );
}
},
// 鑾峰彇璇锋眰澶�
--
Gitblit v1.9.3