엑셀저장 수정

main
이범준 11 months ago
parent d0320d090e
commit 2262d28b64

@ -996,7 +996,7 @@ $(document).ready(function(){
$P.sameVehicleControl.main.query.excelTitleWidth = headerInfo.excelTitleWidth; $P.sameVehicleControl.main.query.excelTitleWidth = headerInfo.excelTitleWidth;
$P.sameVehicleControl.main.download(); $P.sameVehicleControl.main.download();
} else { } else {
var headerInfo = $("#sameVehicleInspectionSub_Table_0--${pageName} thead th").not(".dummy-th").getHeaderInfo(); var headerInfo = $("#sameVehicleInspectionSub_Table_0--${pageName} thead th").not(".dummy-th").not(":hidden").getHeaderInfo();
$P.sameVehicleControl.sub.query.excelTitle = headerInfo.excelTitle; $P.sameVehicleControl.sub.query.excelTitle = headerInfo.excelTitle;
$P.sameVehicleControl.sub.query.excelTitleWidth = headerInfo.excelTitleWidth; $P.sameVehicleControl.sub.query.excelTitleWidth = headerInfo.excelTitleWidth;
$P.sameVehicleControl.sub.download(); $P.sameVehicleControl.sub.download();

@ -348,7 +348,7 @@ integrationSearch.fnExcel = (updown) => {
return; return;
} }
headerInfo = $("#upTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").getHeaderInfo(); headerInfo = $("#upTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").not(":hidden").getHeaderInfo();
integrationSearchControl.query.gridType = "up"; integrationSearchControl.query.gridType = "up";
} else { } else {
if(integrationSearchControl.downdataset.empty){ if(integrationSearchControl.downdataset.empty){
@ -356,7 +356,7 @@ integrationSearch.fnExcel = (updown) => {
return; return;
} }
headerInfo = $("#downTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").getHeaderInfo(); headerInfo = $("#downTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").not(":hidden").getHeaderInfo();
integrationSearchControl.query.gridType = "down"; integrationSearchControl.query.gridType = "down";
} }

Loading…
Cancel
Save