|
|
|
@ -13,53 +13,16 @@
|
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
|
<!-- 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="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">
|
|
|
|
|
<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-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">
|
|
|
|
|
<label for="storgeNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">마약류 취급자</label>
|
|
|
|
|
<input type="text" class="form-control w-30" id="storgeNm--${pageName}" name="storgeNm" data-map="STORGE_NM" readonly>
|
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-dark" id="btnSearch--${pageName}" title="검색">검색</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="addr--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>
|
|
|
|
|
<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>
|
|
|
|
|
<option value="04">재고관리 또는 보관을 하기에 곤란한 사유(사용중단)</option>
|
|
|
|
|
<option value="05">재고관리 또는 보관을 하기에 곤란한 사유(폐업)</option>
|
|
|
|
|
<option value="06">재고관리 또는 보관을 하기에 곤란한 사유(환자반납)</option>
|
|
|
|
@ -68,42 +31,42 @@
|
|
|
|
|
</div>
|
|
|
|
|
</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">
|
|
|
|
|
<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="">
|
|
|
|
|
<label for="rtpyrNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제품명</label>
|
|
|
|
|
<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>
|
|
|
|
|
</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-300" readonly="" data-maxlengthb="200">
|
|
|
|
|
<label for="dtlAddr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제품 코드</label>
|
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200">
|
|
|
|
|
</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-300" readonly="" data-maxlengthb="200">
|
|
|
|
|
<label for="dtlAddr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제조 번호</label>
|
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200">
|
|
|
|
|
</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-300" readonly="" data-maxlengthb="200">
|
|
|
|
|
<label for="dtlAddr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제조 일련 번호</label>
|
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-300" readonly="" data-maxlengthb="200">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="addr--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">
|
|
|
|
|
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">유효기간</label>
|
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-200" readonly="" data-maxlengthb="200">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="zip--crdn05030" 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="">
|
|
|
|
|
<label for="zip--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">최소 유통단위 슈량</label>
|
|
|
|
|
<input type="text" id="zip--${pageName}" name="zip" data-map="ZIP" class="form-control w-px-100" readonly="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="addr--crdn05030" 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="">
|
|
|
|
|
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">낱개 단위 수량</label>
|
|
|
|
|
<input type="text" id="addr--${pageName}" name="addr" data-map="ADDR" class="form-control w-px-100" data-maxlengthb="320" readonly="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="addr--crdn05030" 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">
|
|
|
|
|
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기 수량</label>
|
|
|
|
|
<input type="text" id="addr--${pageName}" name="addr" data-map="ADDR" class="form-control w-px-100" data-maxlengthb="320">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</form> <!-- /입력 영역 -->
|
|
|
|
@ -143,7 +106,7 @@
|
|
|
|
|
* DatasetControl
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$P.control = new DatasetControl({
|
|
|
|
|
prefix: "opnnDlbrMbr"
|
|
|
|
|
prefix: "dsuseMgtReceipt"
|
|
|
|
|
, prefixName: "마약류 폐기 신청서 접수"
|
|
|
|
|
, keymapper: info => info ? info.MNG_ID : ""
|
|
|
|
|
, dataGetter: obj => obj.${infoPrefix}Info
|
|
|
|
@ -230,7 +193,7 @@
|
|
|
|
|
// 초기 화면 설정
|
|
|
|
|
$P.initForm = () => {
|
|
|
|
|
// Dialog 마우스로 드래그 할 수 있도록 설정.
|
|
|
|
|
fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog--${openerPageName}"));
|
|
|
|
|
fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|