From af4d8bc390626edb43198c05692ff4792ff3d1d1 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 18 十一月 2026 09:42:51 +0800
Subject: [PATCH] 报销单信息加载失败,请重试
---
src/views/project/fund/performancedetails/index.vue | 79 +++++++++++++++++++++++++++++++--------
1 files changed, 62 insertions(+), 17 deletions(-)
diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue
index 14e574c..d7fe7fe 100644
--- a/src/views/project/fund/performancedetails/index.vue
+++ b/src/views/project/fund/performancedetails/index.vue
@@ -235,43 +235,79 @@
</el-table-column> -->
<el-table-column
prop="amount"
- align="center"
+ align="right"
+ header-align="right"
+ class-name="money-column"
label="绋庡墠閲戦"
width="120"
- >
+ :formatter="formatMoney">
<template slot-scope="scope">
<el-input
v-model="scope.row.amount"
+ class="money-input"
placeholder="绋庡墠閲戦"
- @blur="chargeSum"
+ @blur="normalizeMoney(scope.row, 'amount'); chargeSum()"
/>
</template>
</el-table-column>
<el-table-column
- prop="taxamount"
- align="center"
- label="鎵g◣閲戦"
+ 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"
+ class-name="money-column"
+ label="鍔冲姟涓◣"
+ width="120"
+ :formatter="formatMoney">
<template slot-scope="scope">
<el-input
- @blur="chargeSum"
+ @blur="normalizeMoney(scope.row, 'taxamount'); chargeSum()"
v-model="scope.row.taxamount"
- placeholder="鎵g◣閲戦"
+ class="money-input"
+ placeholder="鍔冲姟涓◣"
/>
</template>
</el-table-column>
<el-table-column
prop="taxedamount"
- align="center"
- label="绋庡悗閲戦"
+ align="right"
+ header-align="right"
+ class-name="money-column"
+ label="鍔冲姟绋庡悗"
width="120"
- >
+ :formatter="formatMoney">
<template slot-scope="scope">
<el-input
v-model="scope.row.taxedamount"
- placeholder="绋庡悗閲戦"
- @blur="queenchargeSum"
+ class="money-input"
+ placeholder="鍔冲姟绋庡悗"
+ @blur="normalizeMoney(scope.row, 'taxedamount'); queenchargeSum()"
/>
</template>
</el-table-column>
@@ -1795,7 +1831,7 @@
}
this.rbDetails[i] = tempDetail;
}
- //璁$畻褰撳墠琛屾姤閿�鍐呭璐圭敤鍚堣锛岀◣鍓嶉噾棰濓紙amount锛夈�佹墸绋庨噾棰濓紙taxamount锛夈�佺◣鍚庨噾棰濓紙taxedamount锛�
+ //璁$畻褰撳墠琛屾姤閿�鍐呭璐圭敤鍚堣锛岀◣鍓嶉噾棰濓紙amount锛夈�佸姵鍔′釜绋庯紙taxamount锛夈�佸姵鍔$◣鍚庯紙taxedamount锛�
if (this.businessType == "2") {
for (let j = 0; j < this.rbDetails.length; j++) {
let tempDetail = this.rbDetails[j];
@@ -2821,9 +2857,16 @@
* 瑙勫垯涓庡悗绔� AttachmentNameValidator 鍚屽彛寰勶細涓嶅己鍒跺惈涓枃 / 鍘绘帀鎵╁睍鍚嶅悗涓诲共 鈮�20 瀛� /
* 涓嶅惈绌烘牸鍙� / \ : * ? " < > | # % 绛夌壒娈婂瓧绗︺��
*/
+ /**
+ * 2026-11-17锛氶檮浠跺悕鏄惁蹇呴』鍚腑鏂�
+ * 涓撳鍔冲姟璐�(1)銆佷鸡鐞嗕笓瀹惰垂(2) 涓嶈姹傦紱缁╂晥鍙婂叾浠栫被鍨嬪繀椤诲惈涓枃
+ */
+ requireChineseName() {
+ return !(this.businessType == "1" || this.businessType == "2");
+ },
checkUploadFileName(file) {
const raw = file && file.raw ? file.raw.name : file && file.name;
- const r = checkFileName(raw);
+ const r = checkFileName(raw, { requireChinese: this.requireChineseName() });
if (!r.ok) {
this.$modal.msgError(r.msg);
return false;
@@ -2841,7 +2884,9 @@
if (this.form && this.form.id) {
return true;
}
- const c = checkDetails(this.rbDetails);
+ const c = checkDetails(this.rbDetails, {
+ requireChinese: this.requireChineseName()
+ });
if (!c.ok) {
this.$modal.msgError(c.msg);
return false;
--
Gitblit v1.9.3