班前会
This commit is contained in:
@@ -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()
|
||||
|
||||
})
|
||||
|
||||
// 给安全问题统计赋值
|
||||
|
||||
Reference in New Issue
Block a user