diff --git a/static/modules/plan.js b/static/modules/plan.js index 19a3d46..f30e00e 100644 --- a/static/modules/plan.js +++ b/static/modules/plan.js @@ -718,7 +718,7 @@ window.planEditSignMonth = (event, pfId) => { }; window.switchPlanTab = (tab) => { - document.querySelectorAll(".plan-tab").forEach(b => b.classList.toggle("active", b.dataset.tab === tab)); + document.querySelectorAll("#planModal .finance-tab").forEach(b => b.classList.toggle("active", b.dataset.tab === tab)); document.querySelector("#plan_financeTabInfo").classList.toggle("hidden", tab !== "info"); document.querySelector("#plan_financeTabRevpay").classList.toggle("hidden", tab !== "revpay"); document.querySelector("#plan_financeTabCost").classList.toggle("hidden", tab !== "cost"); diff --git a/static/modules/plan_expense.js b/static/modules/plan_expense.js index 98e2129..adc23ff 100644 --- a/static/modules/plan_expense.js +++ b/static/modules/plan_expense.js @@ -114,7 +114,7 @@ function renderPlanExpense() { var modal = ''; + modal += '
'; var target = document.querySelector("#planExpenseModule") || document.querySelector("#planExpenseModule") || document.querySelector("#planExpenseContent"); if (!target) return; @@ -123,10 +123,10 @@ function renderPlanExpense() { '
' + '
费用记录' + filtered.length + '
' + '
总费用' + money(totalAmount) + '
' + - '
已发生金额' + money(totalIncurred) + '
' + + '
现金支出' + money(totalIncurred) + '
' + '
' + modal + - '
' + tableRows + '
月份' + sortArrow('expense_month') + '费用类型' + sortArrow('expense_type') + '状态' + sortArrow('status') + '金额' + sortArrow('amount') + '已发生金额' + sortArrow('incurred_amount') + '费用说明
' + + '
' + tableRows + '
月份' + sortArrow('expense_month') + '费用类型' + sortArrow('expense_type') + '状态' + sortArrow('status') + '金额' + sortArrow('amount') + '现金支出' + sortArrow('incurred_amount') + '费用说明
' + ''; if (window.lucide) window.lucide.createIcons(); diff --git a/templates/index.html b/templates/index.html index f3a609c..3340289 100644 --- a/templates/index.html +++ b/templates/index.html @@ -76,7 +76,7 @@
-

OPC Manager v1.0.0.40

+

OPC Manager v1.2.0.2

科普 OPC 工作台