From 0a58164ce2ea3f1a2b46781757d78b94b212883b Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 20 五月 2026 15:13:49 +0800
Subject: [PATCH] 工作交接/调岗申请/转正申请/请假申请/加班申请新增调用模板
---
src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/travelReimburseUtils.js | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/travelReimburseUtils.js b/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/travelReimburseUtils.js
index d898614..2505ce3 100644
--- a/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/travelReimburseUtils.js
+++ b/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/travelReimburseUtils.js
@@ -137,19 +137,10 @@
return { nodes, currentNodeIndex: idx, approvalResult: "rejected", rejectReason: opinion || "椹冲洖" };
}
-/** 妯℃嫙閮ㄩ棬棰勭畻锛堜笌棰勭畻绯荤粺鑱斿姩鍗犱綅锛� */
+/** 閮ㄩ棬棰勭畻锛堝鎺ラ绠楃郴缁熷墠杩斿洖绌猴級 */
export function mockDeptBudget(deptId) {
- const id = String(deptId || "default");
- let s = 0;
- for (let i = 0; i < id.length; i++) s += id.charCodeAt(i);
- const total = 500000 + (s % 200) * 1000;
- const used = (s % 80) * 3500;
- return {
- deptId: id,
- totalBudget: total,
- usedAmount: used,
- remainingAmount: Math.max(0, total - used),
- };
+ if (!deptId) return null;
+ return null;
}
export function normalizeImportedRow(raw, idx) {
--
Gitblit v1.9.3