From ceec89801ad69708c33babb90d4f9d9ebfd8e3f9 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 27 八月 2026 16:20:42 +0800
Subject: [PATCH] fix(order): -移除英文字段验证 - 删除与OA流程相关的无用代码和组件 - 移除系统用户管理中的获取三方人员功能 - 更新设备二维码链接使用动态API地址 - 清理不合格处理页面中的OA相关功能和字段 - 移除登录页面的集团集成登录按钮 - 删除未使用的API接口和组件引用

---
 src/utils/date.js |   29 ++++++++++++++++++++++++++++-
 1 files changed, 28 insertions(+), 1 deletions(-)

diff --git a/src/utils/date.js b/src/utils/date.js
index 3f4a780..eae259f 100644
--- a/src/utils/date.js
+++ b/src/utils/date.js
@@ -51,4 +51,31 @@
     return format
   }
   return ''
-}
\ No newline at end of file
+}
+
+/**
+ * 鑾峰彇骞存湀鏃�  26鍙�+1
+ * @param date
+ * @returns {string}
+ */
+export function getPayrollMonthDate(date = new Date()) {
+  let year = date.getFullYear();
+  let month = date.getMonth();
+  let days = date.getDate();
+
+  // 鍒ゆ柇鏄惁鏄�26鍙�
+  if (days === 26) {
+    month++;
+    if (month > 11) {
+      month = 0;
+      year++;
+    }
+  }
+
+  month += 1;
+  month = month < 10 ? '0' + month + '-' : month + '-';
+  year = year + '-';
+  days = days < 10 ? '0' + days : days;
+
+  return (year + month + days);
+}

--
Gitblit v1.9.3