|
|
@ -432,13 +432,16 @@ $(document).ready(function(){
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.photoInspectionControl.onCurrentChange = (item) => {
|
|
|
|
$P.photoInspectionControl.onCurrentChange = (item) => {
|
|
|
|
if($P.photoInspectionControl.tableRenderComplete){
|
|
|
|
|
|
|
|
$P.photoInspectionControl.tableRenderComplete = false;
|
|
|
|
if(!$P.photoInspectionControl.tableRenderComplete){
|
|
|
|
if(!item){
|
|
|
|
return;
|
|
|
|
$P.clickInspectionDataList("","photoInspection", true);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true);
|
|
|
|
$P.photoInspectionControl.tableRenderComplete = false;
|
|
|
|
}
|
|
|
|
if(!item){
|
|
|
|
|
|
|
|
$P.clickInspectionDataList("","photoInspection", true);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -458,13 +461,15 @@ $(document).ready(function(){
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.onCurrentChange = (item) => {
|
|
|
|
$P.sameVehicleControl.main.onCurrentChange = (item) => {
|
|
|
|
if($P.sameVehicleControl.main.tableRenderComplete){
|
|
|
|
if(!$P.sameVehicleControl.main.tableRenderComplete){
|
|
|
|
$P.sameVehicleControl.main.tableRenderComplete = false;
|
|
|
|
return;
|
|
|
|
if(!item){
|
|
|
|
}
|
|
|
|
$P.clickInspectionDataList("","sameVehicleInspectionMain", true);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
$P.sameVehicleControl.main.tableRenderComplete = false;
|
|
|
|
$P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true);
|
|
|
|
if(!item){
|
|
|
|
}
|
|
|
|
$P.clickInspectionDataList("","sameVehicleInspectionMain", true);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -474,13 +479,15 @@ $(document).ready(function(){
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.onCurrentChange = (item) => {
|
|
|
|
$P.sameVehicleControl.sub.onCurrentChange = (item) => {
|
|
|
|
if($P.sameVehicleControl.sub.tableRenderComplete){
|
|
|
|
if(!$P.sameVehicleControl.sub.tableRenderComplete){
|
|
|
|
$P.sameVehicleControl.sub.tableRenderComplete = false;
|
|
|
|
return;
|
|
|
|
if(!item){
|
|
|
|
}
|
|
|
|
$P.clickInspectionDataList("","sameVehicleInspectionSub", true);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
$P.sameVehicleControl.sub.tableRenderComplete = false;
|
|
|
|
$P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true);
|
|
|
|
if(!item){
|
|
|
|
}
|
|
|
|
$P.clickInspectionDataList("","sameVehicleInspectionSub", true);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|