반납예정일 표출 여부 기준 적용 (김혜준 대리 요청)
This commit is contained in:
parent
447b1c705d
commit
4ae9ecd42d
@ -124,13 +124,19 @@ function fn_search(bookLtRvStatusCd) {
|
|||||||
|
|
||||||
// 출력
|
// 출력
|
||||||
$.each(jsonObj.data,function(key,obj) {
|
$.each(jsonObj.data,function(key,obj) {
|
||||||
|
|
||||||
|
<%
|
||||||
|
// 대출관리 : ‘신청/예약’, ‘취소’ 탭에서는 반납예정일 정보가 ‘-’로 표시되어야 하며, ‘대출중’, ‘반납’, ‘연체’ 탭에서는 사용자가 해당자료를 반납 해야 하는 날짜가 보여져야 합니다 (엑티버 김혜준대리 2021.12.02)
|
||||||
|
%>
|
||||||
|
if(obj.bookLtRvStatusCd.startsWith("A") || obj.bookLtRvStatusCd == "C" ) obj.rtnExpctDd = "";
|
||||||
|
|
||||||
var div = $(document.createElement('div'));
|
var div = $(document.createElement('div'));
|
||||||
div.attr('class', 'list');
|
div.attr('class', 'list');
|
||||||
div.append($('<div />').attr('class', 'n-cultural').html("[" + obj.mngOrgNm + "]"));
|
div.append($('<div />').attr('class', 'n-cultural').html("[" + obj.mngOrgNm + "]"));
|
||||||
div.append($('<div />').attr('class', 'n-data').html("<a href=\"javascript:void(0)\" onclick=\"fn_viewDetail('" + obj.masterId + "')\">" + obj.title + "</a>"));
|
div.append($('<div />').attr('class', 'n-data').html("<a href=\"javascript:void(0)\" onclick=\"fn_viewDetail('" + obj.masterId + "')\">" + obj.title + "</a>"));
|
||||||
div.append($('<div />').attr('class', 'n-reservation').html(gfn_formatDateStr(obj.rsrvDd,"-"))); /* 대출신청예약일자 */
|
div.append($('<div />').attr('class', 'n-reservation').html(gfn_formatDateStr(obj.rsrvDd,"-"))); /* 대출신청예약일자 */
|
||||||
div.append($('<div />').attr('class', 'n-expiry').html(gfn_formatDateStr(obj.rsrvExpctDd,"-"))); /* 대출예약만료일자 */
|
div.append($('<div />').attr('class', 'n-expiry').html(gfn_formatDateStr(obj.rsrvExpctDd,"-"))); /* 대출예약만료일자 */
|
||||||
div.append($('<div />').attr('class', 'n-return').html(gfn_formatDateStr(obj.rtnExpctDd,"-"))); /* 반납일자 */
|
div.append($('<div />').attr('class', 'n-return').html(gfn_formatDateStr(obj.rtnExpctDd,"-"))); /* 반납(예정)일자 */
|
||||||
|
|
||||||
var statusHtml = "";
|
var statusHtml = "";
|
||||||
if(obj.bookLtRvStatusCd == null) {
|
if(obj.bookLtRvStatusCd == null) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user