Commit a1440714 by Kang Donghun

・IO帳票登録際に出力タイプが「Book全体」の場合、PDF出力画面へ遷移されないように対応

parent f0ee9ec6
......@@ -8,6 +8,7 @@ var RF = {};
RF.addReportFlg;
RF.isQRTableInspect;
RF.isQRTableReport;
RF.isQRWholeBook;
/**
* init
......@@ -23,6 +24,7 @@ RF.init = function () {
RF.addReportFlg = result.addReportFlg;
RF.isQRTableInspect = result.isQRTableInspect;
RF.isQRTableReport = result.isQRTableReport;
RF.isQRWholeBook = result.isQRWholeBook;
}
});
RF.loadCommon();
......@@ -92,7 +94,7 @@ RF.loadMainTitleCallback = function () {
'<div><span id="inspectDate"></span></div></div>',
);
let elmA;
if (RF.isQRTableInspect || RF.isQRTableReport) {
if (RF.isQRTableInspect || RF.isQRTableReport || RF.isQRWholeBook) {
elmA = $("<div class=\"quickReportBtn\" id=\"quickReportBtn\" onclick=\"COMMON.showAlert('onlyPrintCms');\">");
} else {
elmA = $('<div class="quickReportBtn" id="quickReportBtn" onclick="submitForm();">');
......
......@@ -9,6 +9,7 @@
RL.isQuickReport;
RL.isQRTableInspect;
RL.isQRTableReport;
RL.isQRWholeBook;
/**
* init
......@@ -21,7 +22,7 @@
if (result) {
RL.isQuickReport = result.isQuickReport;
RL.isQRTableInspect = result.isQRTableInspect;
RL.isQRTableReport = result.isQRTableReport;
RL.isQRWholeBook = result.isQRWholeBook;
};
});
RL.loadCommon();
......@@ -97,7 +98,7 @@ RL.loadMainTitleCallback = function () {
//add dashboard setting item
if (RL.isQuickReport) {
let elmA;
if (RL.isQRTableInspect || RL.isQRTableReport) {
if (RL.isQRTableInspect || RL.isQRTableReport || RL.isQRWholeBook) {
elmA = $("<div id=\"btnPdfPrint\" onclick=\"COMMON.showAlert('onlyPrintCms');\">");
} else {
elmA = $('<div id="btnPdfPrint" onclick="RL.goPdfPrint();">');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment