From fe50d723e5d050113c4ecc493220e264f39d8e5f Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 02 七月 2025 17:00:29 +0800
Subject: [PATCH] 1
---
WebTM/views/生产管理/宝工排产/JIT_DayPlanPlatForm.html | 60 ++++++++++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 46 insertions(+), 14 deletions(-)
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\235\345\267\245\346\216\222\344\272\247/JIT_DayPlanPlatForm.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\235\345\267\245\346\216\222\344\272\247/JIT_DayPlanPlatForm.html"
index ccfd2fc..51f1e7c 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\235\345\267\245\346\216\222\344\272\247/JIT_DayPlanPlatForm.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\235\345\267\245\346\216\222\344\272\247/JIT_DayPlanPlatForm.html"
@@ -13,6 +13,26 @@
<script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
<script src="../../../layuiadmin/soulTable.slim.js"></script>
<script src="../../../layuiadmin/SetColumn.js"></script>
+ <style>
+ .loader {
+ border: 8px solid #f3f3f3; /* Light grey */
+ border-top: 8px solid #3498db; /* Blue */
+ border-radius: 50%;
+ width: 50px;
+ height: 50px;
+ animation: spin 2s linear infinite;
+ }
+
+ @keyframes spin {
+ 0% {
+ transform: rotate(0deg);
+ }
+
+ 100% {
+ transform: rotate(360deg);
+ }
+ }
+ </style>
</head>
<body>
<div class="layui-fluid">
@@ -33,7 +53,7 @@
<button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnUnlockRequest" id="btnUnlock">瑙i攣鐢宠</button>
<!--<button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnLockOrder" id="btnLockOrder">閿佸畾宸ュ崟</button>
<button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnUnlockOrder" id="btnUnlockOrder">瑙i攣宸ュ崟</button>-->
- <!--<button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnCompleteSetAnalysis" id="btnCompleteSetAnalysis">榻愬鍒嗘瀽</button>-->
+ <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnCompleteSetAnalysis" id="btnCompleteSetAnalysis">榻愬鍒嗘瀽</button>
<!--<button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnTLYS" id="btnTLYS">鎻愭枡杩愮畻</button>
<button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btn_Calculate" id="btn_Calculate">娆犳枡杩愮畻</button>-->
<!--<button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnRoutEdit" id="btnRoutEdit">宸ヨ壓璺嚎</button>-->
@@ -732,7 +752,7 @@
}
})
}
-
+
})
//娆犳枡杩愮畻
form.on('submit(btn_Calculate)', function (data) {
@@ -745,7 +765,7 @@
}
})
}
-
+
});
//鐢熶骇璁㈠崟閫夊崟
form.on('submit(btnICMOBill)', function (data) {
@@ -783,7 +803,7 @@
shadeClose: false, // 鐐瑰嚮閬僵鍖哄煙锛屼笉鍏抽棴寮瑰眰
maxmin: false, // 涓嶅厑璁稿叏灞忔渶灏忓寲
anim: 0, // 0-6 鐨勫姩鐢诲舰寮忥紝-1 涓嶅紑鍚�
- content: '<div style="padding: 12px;">姝e湪杩愮畻,璇疯�愬績绛夊緟!!!</div>'
+ content: '<div style="padding: 12px;">姝e湪杩愮畻,璇疯�愬績绛夊緟!!!<div class="loader" style="height:10px;width:10px;"></div></div>'
});
setTimeout(function () {
get_btnProPC(HWorkShopID);
@@ -843,7 +863,7 @@
})
}
}
-
+
})
@@ -863,7 +883,7 @@
})
}
}
-
+
})
//閿佸畾鐢宠
@@ -916,7 +936,7 @@
}
})
}
-
+
})
//瑙i攣宸ュ崟
@@ -930,7 +950,7 @@
}
})
}
-
+
})
//#region 涓嬫媺鍒楄〃鐩戝惉-鎺掍骇鏃堕棿
@@ -1057,8 +1077,8 @@
var lastDay = new Date(year, month, 0).getDate(); //褰撴湀鏈�鍚庝竴澶�
var thisDay = new Date().getDay(); //褰撳ぉ鏄湰鏈堢鍑犲ぉ
- var valueList = [7, lastDay - thisDay+1,31,40];
- var titleList = ["7澶�", "鏈湀","31澶�","40澶�"];
+ var valueList = [7, lastDay - thisDay+1,31,40,50];
+ var titleList = ["7澶�", "鏈湀","31澶�","40澶�","50澶�"];
var HArrangeProductDayQty_ArrayList = '';
for (var i = 0; i < valueList.length; i++) {
@@ -1344,7 +1364,7 @@
return DayColor(d[Format(myDate.getTime() + 50 * oneday, 'yyyy/MM/dd')], d[Format(myDate.getTime() + 50 * oneday, 'yyyy-MM-dd')], d, Format(myDate.getTime() + 50 * oneday, 'yyyy-MM-dd'));
}
})//0
-
+
return columns;
}
@@ -1463,7 +1483,19 @@
console.log(table.cache["mainTable"]) // 鏀瑰姩鍚庢暟鎹储寮�
- option.data = table.cache["mainTable"];
+
+ var data = table.cache["mainTable"];
+ for (var i = 0; i < data.length; i++) {
+ data[i]["浼樺厛绾�"] = ((i + 1) * 5);
+ }
+ option.data = data;
+
+ table.reload('mainTable', {
+ data: option.data
+ });
+
+ //table.render(option);
+ //option.data = table.cache["mainTable"];
}
}
, sort: function (obj) { // 鎺掑簭浜嬩欢
@@ -2336,7 +2368,7 @@
// }
// }
//}
-
+
} else {
//layer.close(ajaxLoad);
//layer.alert(data1.code + data1.Message, { icon: 5 });
@@ -3249,7 +3281,7 @@
layer.close(index);
}
})
-
+
}
//閫変骇绾�
--
Gitblit v1.9.1