|
|
@ -26,6 +26,8 @@
|
|
|
|
<jsp:include page="/WEB-INF/jsp/fims/sprt/sprt01014-info.jsp" />
|
|
|
|
<jsp:include page="/WEB-INF/jsp/fims/sprt/sprt01014-info.jsp" />
|
|
|
|
<jsp:include page="/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp" />
|
|
|
|
<jsp:include page="/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span id="tempArea--${pageName}" hidden></span>
|
|
|
|
|
|
|
|
|
|
|
|
<script type="module"
|
|
|
|
<script type="module"
|
|
|
|
src="<c:url value='/resources/js/fims/sprt/integrationSearch.js?${ver}'/>"></script>
|
|
|
|
src="<c:url value='/resources/js/fims/sprt/integrationSearch.js?${ver}'/>"></script>
|
|
|
|
<script ${module}>
|
|
|
|
<script ${module}>
|
|
|
@ -477,6 +479,41 @@ integrationSearch.fnPrintBill = () => {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
integrationSearch.fnPrintRcvmtConfirm = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var downDataset = integrationSearchControl.downdataset;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(downDataset.length <= 0){
|
|
|
|
|
|
|
|
dialog.alert("출력할 자료가 없습니다.");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var downArr = downDataset.getDataset();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var crdnIds = Object.keys(Object.groupBy(downArr, ({ CRDN_ID }) => CRDN_ID));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var url = wctx.url("/sprt/sprt01/130/makeRcvmtConfirmFileFromHwpFormat.do");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
|
|
|
|
url : url,
|
|
|
|
|
|
|
|
data : {
|
|
|
|
|
|
|
|
crdnIds : crdnIds.join(","),
|
|
|
|
|
|
|
|
globalVariable : {}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
success : resp => {
|
|
|
|
|
|
|
|
if(resp.filePath != null && resp.filePath != ""){
|
|
|
|
|
|
|
|
var a = document.createElement("a");
|
|
|
|
|
|
|
|
a.href = resp.filePath;
|
|
|
|
|
|
|
|
a.download = resp.fileName;
|
|
|
|
|
|
|
|
document.getElementById("tempArea--${pageName}").appendChild(a);
|
|
|
|
|
|
|
|
a.click();
|
|
|
|
|
|
|
|
document.getElementById("tempArea--${pageName}").removeChild(a);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//개별총정보 dialog
|
|
|
|
//개별총정보 dialog
|
|
|
|
integrationSearch.getInfo = (taskSeCd, crdnId) => {
|
|
|
|
integrationSearch.getInfo = (taskSeCd, crdnId) => {
|
|
|
|
if (crdnId == undefined || crdnId == null || crdnId == "") {
|
|
|
|
if (crdnId == undefined || crdnId == null || crdnId == "") {
|
|
|
@ -553,6 +590,8 @@ integrationSearch.setEvent = () => {
|
|
|
|
$("#btnUpInputEtcCn--${pageName}").on("click", function(){ integrationSearch.fnInputEtcCn("up"); });
|
|
|
|
$("#btnUpInputEtcCn--${pageName}").on("click", function(){ integrationSearch.fnInputEtcCn("up"); });
|
|
|
|
$("#btnDownInputEtcCn--${pageName}").on("click", function(){ integrationSearch.fnInputEtcCn("down"); });
|
|
|
|
$("#btnDownInputEtcCn--${pageName}").on("click", function(){ integrationSearch.fnInputEtcCn("down"); });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnDownPrintRcvmtConfirm--${pageName}").on("click", function(){ integrationSearch.fnPrintRcvmtConfirm(); });
|
|
|
|
|
|
|
|
|
|
|
|
//$("#btn").on("click", function(){ });
|
|
|
|
//$("#btn").on("click", function(){ });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|