From 9e7c8d26cfbe9eca1f0d0e1302581832e3b7d22a Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 26 十一月 2026 09:35:44 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web
---
src/views/project/tallage/computingBill/index.vue | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/views/project/tallage/computingBill/index.vue b/src/views/project/tallage/computingBill/index.vue
index 0f03443..6e2fd6a 100644
--- a/src/views/project/tallage/computingBill/index.vue
+++ b/src/views/project/tallage/computingBill/index.vue
@@ -1268,11 +1268,24 @@
return sums;
},
// 鏂囦欢------------------------
+ /** 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 donorchargeorgans = [...this.donorchargeorgans];
- this.fileListto.splice(this.fileListto.indexOf(file), 1);
- donorchargeorgans[this.atpresent].annexFilesList = this.fileListto;
+ this.spliceByName(this.fileListto, file && file.name);
+ this.spliceByName(
+ donorchargeorgans[this.atpresent].annexFilesList,
+ file && file.name
+ );
},
uploadSccess(response, file, fileList) {
--
Gitblit v1.9.3