班前会

This commit is contained in:
zonse
2025-05-09 16:12:04 +08:00
parent 00b7fe2e6d
commit ec6316849d
13 changed files with 1101 additions and 26 deletions
+7 -4
View File
@@ -590,19 +590,22 @@
if (new Date(labour_start).getTime() > new Date(labour_end)) {
alert("请选择小于" + labour_end + "日期")
$('#labour_start').val(labour_end)
} else {
serviceData()
}
serviceData()
})
$('#labour_end').on('change', function () {
let labour_start = $('#labour_start').val()
let labour_end = $('#labour_end').val()
if (new Date(labour_start).getTime() > new Date(labour_end)) {
$('#labour_start').val(nowDate())
$('#labour_end').val(labour_start)
alert("请选择大于" + labour_start + "日期")
} else {
serviceData()
}
serviceData()
})
// 给安全问题统计赋值