feat : 보고문서관리, 폐기보고확인추가.

dev
Leeyh1121 5 months ago
parent da87b03e71
commit a6efa39857

@ -220,7 +220,7 @@
, title : dialogTitle , title : dialogTitle
, content : resp , content : resp
, size : $P.control.infoSize , size : $P.control.infoSize
, onClose : () => { $P.refreshList(); } , onClose : () => { $P.RefreshList(); }
}); });
} }
}); });

@ -283,11 +283,11 @@
// 신청서 정보 dialog // 신청서 정보 dialog
$P.control.getInfo = (gdccId) => { $P.control.getInfo = (gdccId) => {
let dialogTitle = "신청서 정보 등록"; let dialogTitle = "폐기 보고 확인 등록";
let params = {}; let params = {};
ajax.get({ ajax.get({
url : wctx.url("/adds/nims/dsuseMgtReceipt-info.do") url : wctx.url("/adds/nims/dsuseMgtMapping-lnfo.do")
, data : params || {} , data : params || {}
, success : resp => { , success : resp => {
dialog.open({ dialog.open({

@ -39,27 +39,27 @@
<div class="row my-1 mx-1 g-1 border-card rounded"></div> <div class="row my-1 mx-1 g-1 border-card rounded"></div>
<label for="bssh--${pageName}">폐기 공통 정보</label> <label for="bssh--${pageName}">폐기 공통 정보</label>
<div class="row my-1 mx-4 g-1 border-card rounded-3"> <div class="row my-1 mx-4 g-1 border-card rounded-3">
<div class="col-md-5"> <div class="col-md-4">
<label for="hdrDe--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">취급일자</label> <label for="hdrDe--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">취급일자</label>
<input type="text" class="form-control form-date" id="hdrDe--${pageName}" name="hdrDe" data-fmt-type="day" data-map="HDR_DE" autocomplete="off" title="종료 날짜 선택" /> <input type="text" class="form-control w-45 form-date" id="hdrDe--${pageName}" name="hdrDe" data-fmt-type="day" data-map="HDR_DE" autocomplete="off" title="종료 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</div> </div>
<div class="col-md-5"> <div class="col-md-4">
<label for="dsuseDe--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기일자</label> <label for="dsuseDe--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기일자</label>
<input type="text" class="form-control form-date" id="dsuseDe--${pageName}" name="dsuseDe" data-fmt-type="day" data-map="DSUSE_DE" autocomplete="off" title="종료 날짜 선택" /> <input type="text" class="form-control w-45 form-date" id="dsuseDe--${pageName}" name="dsuseDe" data-fmt-type="day" data-map="DSUSE_DE" autocomplete="off" title="종료 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</div> </div>
<div class="col-md-5"> <div class="col-md-6">
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기구분</label> <label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기구분</label>
<select class="form-select" id="schVltnCd--${pageName}" name="schVltnCd"><option value="">사고마약류(파손)</option><option value="01">사고마약류(변질,부패)</option><option value="02">유효기한 또는 사용기한 경과</option><option value="03">재고관리 또는 보관을 하기에 곤란한 사유(유효기한 임박)</option> <select class="form-select" id="schVltnCd--${pageName}" name="schVltnCd">
<option value="1">보건소폐기</option> <option value="1">보건소폐기</option>
<option value="2">공무원임회</option> <option value="2">공무원임회</option>
<option value="4">도난/분실/재해 발생 사고마약류</option> <option value="4">도난/분실/재해 발생 사고마약류</option>
</select> </select>
</div> </div>
<div class="col-md-5"> <div class="col-md-6">
<label for="dsuseMth--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기방법</label> <label for="dsuseMth--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기방법</label>
<select class="form-select" id="dsuseMth--${pageName}" name="dsuseMth"><option value="">사고마약류(파손)</option><option value="01">사고마약류(변질,부패)</option><option value="02">유효기한 또는 사용기한 경과</option><option value="03">재고관리 또는 보관을 하기에 곤란한 사유(유효기한 임박)</option> <select class="form-select" id="dsuseMth--${pageName}" name="dsuseMth">
<option value="1">소각</option> <option value="1">소각</option>
<option value="2">중화</option> <option value="2">중화</option>
<option value="3">가수분해</option> <option value="3">가수분해</option>
@ -71,9 +71,9 @@
<option value="9">사고(사고마약류중재해상실, 분실, 도난에의한경우)</option> <option value="9">사고(사고마약류중재해상실, 분실, 도난에의한경우)</option>
</select> </select>
</div> </div>
<div class="col-md-4"> <div class="col-md-10">
<label for="dsuseLoc--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기장소</label> <label for="dsuseLoc--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기장소</label>
<input type="text" class="form-control w-60" id="dsuseLoc--${pageName}" name="dsuseLoc" data-map="DSUSE_LOC" readonly> <input type="text" class="form-control w-80" id="dsuseLoc--${pageName}" name="dsuseLoc" data-map="DSUSE_LOC">
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="dsuseImg--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기이미지</label> <label for="dsuseImg--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기이미지</label>
@ -319,7 +319,7 @@
// 초기 화면 설정 // 초기 화면 설정
$P.initForm = () => { $P.initForm = () => {
// Dialog 마우스로 드래그 할 수 있도록 설정. // Dialog 마우스로 드래그 할 수 있도록 설정.
fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog")); // fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog"));
// input, select 초기화 // input, select 초기화
let searchForm = $("#frmSearch--${pageName}"); let searchForm = $("#frmSearch--${pageName}");

@ -287,7 +287,7 @@
ajax.get({ ajax.get({
url : wctx.url("/adds/nims/dsuseMgtRslt-lnfo.do") url : wctx.url("/adds/nims/dsuseMgtRslt-lnfo.do")
, data : params || {} , data : params
, success : resp => { , success : resp => {
dialog.open({ dialog.open({
id : "dsuseMgtRsltDialog" id : "dsuseMgtRsltDialog"

Loading…
Cancel
Save