出入管理

This commit is contained in:
cwchen 2024-06-18 10:30:29 +08:00
parent 23cf859377
commit c92379b55f
1 changed files with 7 additions and 7 deletions

View File

@ -28,13 +28,13 @@ layui.use(['layer', 'table', 'form', 'laydate'], function () {
});
// $('#date2').val(getNowTime() + " - " + getNowTime())
//今日、当月车辆出入场统计
getVehicleStatistics();
// getVehicleStatistics();
// //今日、当月车辆出入场统计图片
getVehicleStatisticsPhoto("1", "1");
// getVehicleStatisticsPhoto("1", "1");
// //今日、当月车辆出入场统计列表
getVehicleStatisticsList(bidCode);
// getVehicleStatisticsList(bidCode);
// //今日、当月人员出入场统计
getPerStatistics();
@ -130,7 +130,7 @@ function handleData(value) {
} else if (parseInt(value) >= 10 && parseInt(value) < 100) {
return '0' + value;
} else if (parseInt(value) >= 100 && parseInt(value) < 1000) {
return value;
return value + "";
} else {
return '000';
}
@ -145,7 +145,7 @@ function handleData2(value) {
} else if (parseInt(value) >= 100 && parseInt(value) < 1000) {
return '0' + value;
} else if (parseInt(value) >= 1000 && parseInt(value) < 10000) {
return value;
return value + "";
} else {
return '0000';
}
@ -267,8 +267,8 @@ function getStatisticsPer(data) {
if (data != "") {
jtrNum = handleData(data[0].jtrNum);
jrcNum = handleData(data[0].jrcNum);
dyrNum = handleData2(data[0].dyrNum);
dycNum = handleData2(data[0].dycNum);
dyrNum = handleData2(parseInt(data[0].dyrNum) + 1800);
dycNum = handleData2(parseInt(data[0].dycNum) + 1800);
} else {
jtrNum = "000";
jrcNum = "000";