|
|
|
@ -461,7 +461,7 @@ $(document).ready(function(){
|
|
|
|
|
$P.photoInspectionControl.tableRenderComplete = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.photoInspectionControl.onCurrentChange = (item) => {
|
|
|
|
|
$P.photoInspectionControl.onCurrentChange = (DI) => {
|
|
|
|
|
|
|
|
|
|
if(!$P.photoInspectionControl.tableRenderComplete){
|
|
|
|
|
return;
|
|
|
|
@ -492,7 +492,7 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.photoInspectionControl.tableRenderComplete = false;
|
|
|
|
|
if(!item){
|
|
|
|
|
if(!DI){
|
|
|
|
|
$P.clickInspectionDataList("","photoInspection", true);
|
|
|
|
|
} else {
|
|
|
|
|
$P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true);
|
|
|
|
@ -513,7 +513,7 @@ $(document).ready(function(){
|
|
|
|
|
$P.sameVehicleControl.main.tableRenderComplete = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.onCurrentChange = (item) => {
|
|
|
|
|
$P.sameVehicleControl.main.onCurrentChange = (DI) => {
|
|
|
|
|
if(!$P.sameVehicleControl.main.tableRenderComplete){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -543,7 +543,7 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.tableRenderComplete = false;
|
|
|
|
|
if(!item){
|
|
|
|
|
if(!DI){
|
|
|
|
|
$P.clickInspectionDataList("","sameVehicleInspectionMain", true);
|
|
|
|
|
} else {
|
|
|
|
|
$P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true);
|
|
|
|
@ -555,13 +555,13 @@ $(document).ready(function(){
|
|
|
|
|
$P.sameVehicleControl.sub.tableRenderComplete = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.onCurrentChange = (item) => {
|
|
|
|
|
$P.sameVehicleControl.sub.onCurrentChange = (DI) => {
|
|
|
|
|
if(!$P.sameVehicleControl.sub.tableRenderComplete){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.tableRenderComplete = false;
|
|
|
|
|
if(!item){
|
|
|
|
|
if(!DI){
|
|
|
|
|
$P.clickInspectionDataList("","sameVehicleInspectionSub", true);
|
|
|
|
|
} else {
|
|
|
|
|
$P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true);
|
|
|
|
|