diff --git a/WebContent/WEB-INF/view/salesMng/quotationRequestMailPopup.jsp b/WebContent/WEB-INF/view/salesMng/quotationRequestMailPopup.jsp index 5311ad8..0f954a2 100644 --- a/WebContent/WEB-INF/view/salesMng/quotationRequestMailPopup.jsp +++ b/WebContent/WEB-INF/view/salesMng/quotationRequestMailPopup.jsp @@ -273,6 +273,7 @@ function fn_generateMailTemplate(){ var template = "안녕하세요.\n\n"; template += vendorName + " 귀하\n\n"; template += "아래와 같이 견적을 요청드립니다.\n\n"; + template += "각 품목별 납품가능일 표기 부탁드립니다.\n\n"; template += "견적요청번호: " + quotationNo + "\n"; if(projectNo !== ""){ template += "프로젝트번호: " + projectNo + "\n"; diff --git a/WebContent/WEB-INF/view/salesmgmt/salesMgmt/revenueMgmtList.jsp b/WebContent/WEB-INF/view/salesmgmt/salesMgmt/revenueMgmtList.jsp index 82a5998..b57b6a4 100644 --- a/WebContent/WEB-INF/view/salesmgmt/salesMgmt/revenueMgmtList.jsp +++ b/WebContent/WEB-INF/view/salesmgmt/salesMgmt/revenueMgmtList.jsp @@ -69,6 +69,142 @@ fn_search(); }); + // 마감정보입력 버튼 + $("#btnDeadlineInfo").click(function(){ + var targetObj = _tabulGrid.getSelectedData(); + + if(0 == targetObj.length){ + Swal.fire("선택된 내용이 없습니다."); + return false; + } + + // 선택된 OBJID 목록 + var objIdList = []; + for(var i = 0; i < targetObj.length; i++){ + objIdList.push(fnc_checkNull(targetObj[i].OBJID)); + } + + // 단건 선택 시 기존 마감정보 불러오기 + var loadExisting = (targetObj.length === 1); + + function openDeadlineInfoPopup(existingInfo) { + var taxType = (existingInfo && existingInfo.TAX_TYPE) ? existingInfo.TAX_TYPE : ''; + var taxInvoiceDate = (existingInfo && existingInfo.TAX_INVOICE_DATE) ? existingInfo.TAX_INVOICE_DATE : ''; + var exportDeclNo = (existingInfo && existingInfo.EXPORT_DECL_NO) ? existingInfo.EXPORT_DECL_NO : ''; + var loadingDate = (existingInfo && existingInfo.LOADING_DATE) ? existingInfo.LOADING_DATE : ''; + + // hidden select에서 과세구분 옵션 HTML 가져오기 + var taxTypeOptionsHtml = $('#hiddenTaxTypeList').html(); + + Swal.fire({ + title: '마감정보입력', + width: '600px', + html: + '