From 9c23457c36482ad6e7f156bf2319c80fbce12cef Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期三, 14 五月 2025 10:16:35 +0800
Subject: [PATCH] 工厂日历添加显示星期几
---
WebTM/views/生产管理/生产计划平台/JIT_DayPlanPlatForm_TK.html | 6 ++++++
WebTM/views/生产管理/生产计划平台/Sc_ShopCalendar.html | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/JIT_DayPlanPlatForm_TK.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/JIT_DayPlanPlatForm_TK.html"
index 235ec7a..cd8dcd8 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/JIT_DayPlanPlatForm_TK.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/JIT_DayPlanPlatForm_TK.html"
@@ -2207,6 +2207,12 @@
if (HCount > 50000) {
break;
}
+
+ if (option.data[i].閿佸畾宸ュ崟 == "鏄�") {
+ HArrIndex_PC.push(i);
+ continue;
+ }
+
var old_date = new Date();
//element.progress('demo', (i + 1) * HProgress + '%')
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/Sc_ShopCalendar.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/Sc_ShopCalendar.html"
index edf9d53..906d133 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/Sc_ShopCalendar.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/Sc_ShopCalendar.html"
@@ -317,11 +317,12 @@
function set_InitGrid(Year,Month,num) {
var SumMonth = new Date(Year, Month, 0).getDate(); //鍔ㄦ�佽幏鍙栨湀澶╂暟
var col = [];
+ var HWeekARR = ["鏃�", "涓�", "浜�", "涓�", "鍥�", "浜�", "鍏�"];//鑾峰彇浠婂ぉ鏄槦鏈熷嚑鐢紝鍦╰itle澶勬嫾鎺�
var colData = "{";
col.push({ field: "鏈堜唤", title: "鏈堜唤", width: 60 })
colData += "\"鏈堜唤\":\"" + Month+"鏈圽",";
for (var j = 1; j <= SumMonth; j++) {
- col.push({ field: Format(Year + '/' + Month + '/' + j, 'yyyy-MM-dd'), title: Format(Year + '/' + Month + '/' + j, 'dd'), width: 50, edit: 'text' })
+ col.push({ field: Format(Year + '/' + Month + '/' + j, 'yyyy-MM-dd'), title: Format(Year + '/' + Month + '/' + j, 'dd') + '(' + HWeekARR[new Date(Format(Year + '/' + Month + '/' + j, 'yyyy-MM-dd')).getDay()]+')', width: 70, edit: 'text' })
colData += "\"" + Format(Year + '/' + Month + '/' + j, 'yyyy-MM-dd') + "\":\"" + num + "\",";
}
colData = colData.substr(0, colData.length - 1);
--
Gitblit v1.9.1