fix : css 및 항목 수정.

dev
Leeyh1121 5 months ago
parent 2ba0bad688
commit a58b6116e5

@ -13,53 +13,16 @@
<!-- 입력 영역 --> <!-- 입력 영역 -->
<form id="frmEdit--${pageName}" name="frmEdit"> <form id="frmEdit--${pageName}" name="frmEdit">
<!-- hidden --> <!-- hidden -->
<label for="rtpyrNm--crdn05030">폐기정보</label> <label for="storge--${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-6">
<label for="rtpyrNm--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">마약류 취급자</label>
<input type="text" id="rtpyrNm--crdn05030" name="rtpyrNm" data-map="RTPYR_NM" class="form-control" readonly="">
<button type="button" class="btn btn-search w-px-120" id="btnSearch--excl02010" title="검색">검색</button>
</div>
<div class="col-md-5"> <div class="col-md-5">
<label for="rtpyrSeCd--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">취급일자</label> <label for="storgeNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">마약류 취급자</label>
<input type="text" id="rtpyrNo--crdn05030" name="rtpyrNo" data-map="RTPYR_NO" class="form-control privacy"> <input type="text" class="form-control w-30" id="storgeNm--${pageName}" name="storgeNm" data-map="STORGE_NM" readonly>
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="btn btn-sm btn-outline-dark" id="btnSearch--${pageName}" title="검색">검색</button>
</div>
<div class="col-md-6">
<label for="rtpyrSeCd--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">보고일자</label>
<input type="text" id="rtpyrNo--crdn05030" name="rtpyrNo" data-map="RTPYR_NO" class="form-control privacy">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</div>
<div class="col-md-5">
<label for="rtpyrNo--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기일자</label>
<input type="text" id="rtpyrNo--crdn05030" name="rtpyrNo" data-map="RTPYR_NO" class="form-control privacy">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</div>
<div class="col-md-6">
<label for="rtpyrNm--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기 종류</label>
<select class="form-select" id="schVltnCd--levy01010" name="schVltnCd"><option value="">보건소 폐기</option><option value="01">공무원 집회</option><option value="03">도난/분실/재해 발생 사고마약류</option></select>
</div>
<div class="col-md-6">
<label for="dtlAddr--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기 방법</label>
<select class="form-select" id="schVltnCd--levy01010" name="schVltnCd"><option value="">소각</option><option value="01">중화</option><option value="02">기수분해</option><option value="03">산화</option>
<option value="04">환원</option>
<option value="05">희석</option>
<option value="06">매몰</option>
<option value="07">기타</option>
<option value="08">사고</option>
</select>
</div>
<div class="col-md-6">
<label for="dtlAddr--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">관할 관청</label>
<input type="text" id="dtlAddr--crdn05030" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-2\00" readonly="" data-maxlengthb="200">
</div>
<div class="col-md-4">
<label for="dtlAddr--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기 장소</label>
<input type="text" id="dtlAddr--crdn05030" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-200" readonly="" data-maxlengthb="200">
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
<label for="addr--crdn05030" 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--levy01010" 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="">사고마약류(파손)</option><option value="01">사고마약류(변질,부패)</option><option value="02">유효기한 또는 사용기한 경과</option><option value="03">재고관리 또는 보관을 하기에 곤란한 사유(유효기한 임박)</option>
<option value="04">재고관리 또는 보관을 하기에 곤란한 사유(사용중단)</option> <option value="04">재고관리 또는 보관을 하기에 곤란한 사유(사용중단)</option>
<option value="05">재고관리 또는 보관을 하기에 곤란한 사유(폐업)</option> <option value="05">재고관리 또는 보관을 하기에 곤란한 사유(폐업)</option>
<option value="06">재고관리 또는 보관을 하기에 곤란한 사유(환자반납)</option> <option value="06">재고관리 또는 보관을 하기에 곤란한 사유(환자반납)</option>
@ -68,42 +31,42 @@
</div> </div>
</div> </div>
<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="rtpyrNm--crdn05030">폐기정보 상세</label> <label for="rtpyrNm--${pageName}">폐기정보 상세</label>
<form id="code-form"> <form id="code-form">
<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-6"> <div class="col-md-6">
<label for="rtpyrNm--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제품명</label> <label for="rtpyrNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제품명</label>
<input type="text" id="rtpyrNm--crdn05030" name="rtpyrNm" data-map="RTPYR_NM" class="form-control" readonly=""> <input type="text" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM" class="form-control" readonly="">
<button type="button" class="btn btn-search w-px-120" id="btnSearch--excl02010" title="검색">바코드 검색</button> <button type="button" class="btn btn-search w-px-120" id="btnSearch--excl02010" title="검색">바코드 검색</button>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="dtlAddr--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제품 코드</label> <label for="dtlAddr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제품 코드</label>
<input type="text" id="dtlAddr--crdn05030" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200"> <input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200">
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="dtlAddr--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제조 번호</label> <label for="dtlAddr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제조 번호</label>
<input type="text" id="dtlAddr--crdn05030" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200"> <input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200">
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="dtlAddr--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제조 일련 번호</label> <label for="dtlAddr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제조 일련 번호</label>
<input type="text" id="dtlAddr--crdn05030" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200"> <input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200">
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
<label for="addr--crdn05030" 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>
<input type="text" id="dtlAddr--crdn05030" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-200" readonly="" data-maxlengthb="200"> <input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-200" readonly="" data-maxlengthb="200">
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="zip--crdn05030" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">최소 유통단위 슈량</label> <label for="zip--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">최소 유통단위 슈량</label>
<input type="text" id="zip--crdn05030" name="zip" data-map="ZIP" class="form-control w-px-100" readonly=""> <input type="text" id="zip--${pageName}" name="zip" data-map="ZIP" class="form-control w-px-100" readonly="">
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="addr--crdn05030" 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>
<input type="text" id="addr--crdn05030" name="addr" data-map="ADDR" class="form-control w-px-100" data-maxlengthb="320" readonly=""> <input type="text" id="addr--${pageName}" name="addr" data-map="ADDR" class="form-control w-px-100" data-maxlengthb="320" readonly="">
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="addr--crdn05030" 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>
<input type="text" id="addr--crdn05030" name="addr" data-map="ADDR" class="form-control w-px-100" data-maxlengthb="320"> <input type="text" id="addr--${pageName}" name="addr" data-map="ADDR" class="form-control w-px-100" data-maxlengthb="320">
</div> </div>
</form> </form>
</form> <!-- /입력 영역 --> </form> <!-- /입력 영역 -->
@ -143,7 +106,7 @@
* DatasetControl * DatasetControl
**************************************************************************/ **************************************************************************/
$P.control = new DatasetControl({ $P.control = new DatasetControl({
prefix: "opnnDlbrMbr" prefix: "dsuseMgtReceipt"
, prefixName: "마약류 폐기 신청서 접수" , prefixName: "마약류 폐기 신청서 접수"
, keymapper: info => info ? info.MNG_ID : "" , keymapper: info => info ? info.MNG_ID : ""
, dataGetter: obj => obj.${infoPrefix}Info , dataGetter: obj => obj.${infoPrefix}Info
@ -230,7 +193,7 @@
// 초기 화면 설정 // 초기 화면 설정
$P.initForm = () => { $P.initForm = () => {
// Dialog 마우스로 드래그 할 수 있도록 설정. // Dialog 마우스로 드래그 할 수 있도록 설정.
fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog--${openerPageName}")); fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog"));
} }
/************************************************************************** /**************************************************************************

@ -195,7 +195,7 @@
let params = {}; let params = {};
ajax.get({ ajax.get({
url : wctx.url("/adds/nims/dsuseMgtReceipt-info.do") url : wctx.url("/adds/nims/dsuseMgtReceipt-info.do")
, data : params || {} , data : params || {}
, success : resp => { , success : resp => {
dialog.open({ dialog.open({

Loading…
Cancel
Save