From 439f10462e6b1ab0ebd454f53c2156c6fab24266 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 14 十一月 2022 11:12:46 +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