From 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 28 二月 2023 13:25:09 +0800
Subject: [PATCH] 工资绩效改版

---
 zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml b/zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml
index 5680d1e..0e2f3c5 100644
--- a/zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/SalaryCheck/Employee.cshtml
@@ -83,7 +83,7 @@
             { label: '琛ュ彂宸ヨ祫', name: 'Bufagongzi', labtype: 'txt', hidden: false, width: 60 },
             { label: '鍚堣', name: 'sum_fgz', labtype: 'txt', hidden: false, width: 60 },
 
-            { label: '涓汉绀句繚', name: 'Shebaokou', labtype: 'txt', hidden: false, width: 60 },
+            { label: '绀句繚', name: 'Shebaokou', labtype: 'txt', hidden: false, width: 60 },
             { label: '涓◣', name: 'Geshui', labtype: 'txt', hidden: false, width: 60 },
             { label: '鐢佃瘽璐�', name: 'Dianhuafei', labtype: 'txt', hidden: false, width: 60 },
             { label: '缂哄嫟', name: 'Queqin', labtype: 'txt', hidden: false, width: 60 },
@@ -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