From 13ca8b4cab099521fc95d551c4b21c1a7ae5984d Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 30 十二月 2022 09:44:04 +0800
Subject: [PATCH] 合作业务-》   采购公告权限,顾问套餐(种类)

---
 zhengcaioa/zhengcaioa/Views/SalaryCheck/Index.cshtml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/SalaryCheck/Index.cshtml b/zhengcaioa/zhengcaioa/Views/SalaryCheck/Index.cshtml
index e3dbedc..4950b16 100644
--- a/zhengcaioa/zhengcaioa/Views/SalaryCheck/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/SalaryCheck/Index.cshtml
@@ -123,6 +123,10 @@
             var seperator1 = "-";
             var year = date.getFullYear();
             var month = date.getMonth();
+            if (month == 0) {
+                year = year - 1;
+                month = 12;
+            }
             var strDate = date.getDate();
             if (month >= 1 && month <= 9) {
                 month = "0" + month;

--
Gitblit v1.9.1