|
|
|
@ -432,7 +432,11 @@ $(document).ready(function(){
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.photoInspectionControl.onCurrentChange = (item) => {
|
|
|
|
|
if($P.photoInspectionControl.tableRenderComplete){
|
|
|
|
|
|
|
|
|
|
if(!$P.photoInspectionControl.tableRenderComplete){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.photoInspectionControl.tableRenderComplete = false;
|
|
|
|
|
if(!item){
|
|
|
|
|
$P.clickInspectionDataList("","photoInspection", true);
|
|
|
|
@ -440,7 +444,6 @@ $(document).ready(function(){
|
|
|
|
|
$P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.onDatasetChange = (obj) => {
|
|
|
|
|
|
|
|
|
@ -458,7 +461,10 @@ $(document).ready(function(){
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.onCurrentChange = (item) => {
|
|
|
|
|
if($P.sameVehicleControl.main.tableRenderComplete){
|
|
|
|
|
if(!$P.sameVehicleControl.main.tableRenderComplete){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.tableRenderComplete = false;
|
|
|
|
|
if(!item){
|
|
|
|
|
$P.clickInspectionDataList("","sameVehicleInspectionMain", true);
|
|
|
|
@ -466,7 +472,6 @@ $(document).ready(function(){
|
|
|
|
|
$P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.onDatasetChange = (obj) => {
|
|
|
|
|
$P.renderInspectionDataList(obj["Total"], "sameVehicleInspectionSub");
|
|
|
|
@ -474,14 +479,16 @@ $(document).ready(function(){
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.onCurrentChange = (item) => {
|
|
|
|
|
if($P.sameVehicleControl.sub.tableRenderComplete){
|
|
|
|
|
if(!$P.sameVehicleControl.sub.tableRenderComplete){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.tableRenderComplete = false;
|
|
|
|
|
if(!item){
|
|
|
|
|
$P.clickInspectionDataList("","sameVehicleInspectionSub", true);
|
|
|
|
|
} else {
|
|
|
|
|
$P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|