From 15eb82df2d6ec539e9d4245bfe08d531e8eb6379 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期日, 27 四月 2025 14:33:26 +0800
Subject: [PATCH] 修改培训订单占多个座位
---
zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml b/zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml
index 7bd71bb..0e2f3c5 100644
--- a/zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml
@@ -130,6 +130,10 @@
var year = date.getFullYear();
var month = date.getMonth();
var strDate = date.getDate();
+ if (month == 0) {
+ year = year - 1;
+ month = 12;
+ }
if (month >= 1 && month <= 9) {
month = "0" + month;
}
--
Gitblit v1.9.1