|
|
|
@ -459,7 +459,7 @@ $(document).ready(function(){
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* Dataset.on
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$P.photoInspectionControl.dataset.onDatasetChange = (obj) => {
|
|
|
|
|
$P.photoInspectionControl.dataset.onDatasetChange = (obj, option) => {
|
|
|
|
|
|
|
|
|
|
var t = $P.getGridTemplate("photoInspection");
|
|
|
|
|
var trs = Apply.fromDataset.getTbody($P.photoInspectionControl.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
@ -486,7 +486,7 @@ $(document).ready(function(){
|
|
|
|
|
$P.showPhoto(dataKey,nextDataKey,curDataVhrno,nextDataVhrno);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleMainControl.dataset.onDatasetChange = (obj) => {
|
|
|
|
|
$P.sameVehicleMainControl.dataset.onDatasetChange = (obj, option) => {
|
|
|
|
|
|
|
|
|
|
var t = $P.getGridTemplate("sameVehicleInspectionMain");
|
|
|
|
|
var trs = Apply.fromDataset.getTbody($P.sameVehicleMainControl.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
@ -504,7 +504,7 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleSubControl.dataset.onDatasetChange = (obj) => {
|
|
|
|
|
$P.sameVehicleSubControl.dataset.onDatasetChange = (obj, option) => {
|
|
|
|
|
var t = $P.getGridTemplate("sameVehicleInspectionSub");
|
|
|
|
|
var trs = Apply.fromDataset.getTbody($P.sameVehicleSubControl.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
|
$P.renderInspectionDataList(obj["Total"], $P.sameVehicleSubControl.dataset.length, trs, "sameVehicleInspectionSub");
|
|
|
|
|