1
0
Fork 0
HANYANG_MES/home_dir/www/ksvc_old/base/facility/facility.pop.inc.php

148 lines
5.8 KiB
PHP

<?php
include_once "{$_SERVER['DOCUMENT_ROOT']}/common.inc.php";
?>
<style>
#awn-popup-wrapper .awn-popup-body {
max-width: initial;
}
.btnhLabel {
position: relative;
}
.btnhLabel input {
position: absolute;
left: -10000px;
top: -10000px;
}
</style>
<div class="pop_top_title"><div class="title">설비 등록</div></div>
<form name="frmFacility" enctype="multipart/form-data" method="post">
<table class="tbl just_table w800">
<colgroup>
<col width="13%">
<col width="17%">
<col width="13%">
<col width="17%">
<col width="40%">
</colgroup>
<tbody>
<tr>
<th>설 비</th>
<td><input type="text" id="FACLT_CD" name="FACLT_CD" class="form-control form-control-sm" placeholder="설비코드를 입력하세요."></td>
<td colspan="2"><input type="text" id="FACLT_NM" name="FACLT_NM" class="form-control form-control-sm" placeholder="설비명을 입력하세요."></td>
<td rowspan="13">
<div class="text-center">
<div class="p-4"><img id="img_preview"></div>
<label class="btn btn-sm btn-success btnhLabel"><input type="file" name="FACLT_IMG" id="FACLT_IMG">설비이미지 등록 / 수정</label>
</div>
</td>
</tr>
<tr>
<th>관 리 번 호</th>
<td colspan="3"><input type="text" id="FACLT_MNG_NO" name="FACLT_MNG_NO" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>담 당 자 &nbsp; 정)</th>
<td>
<input type="hidden" id="MAJR_EMP_NO" name="MAJR_EMP_NO" class="form-control form-control-sm">
<input type="text" id="MAJR_EMP_NM" name="MAJR_EMP_NM" class="form-control form-control-sm" style="background-color: white;" readonly>
</td>
<th>담 당 자 &nbsp; 부)</th>
<td>
<input type="hidden" id="MINR_EMP_NO" name="MINR_EMP_NO" class="form-control form-control-sm">
<input type="text" id="MINR_EMP_NM" name="MINR_EMP_NM" class="form-control form-control-sm" style="background-color: white;" readonly>
</td>
</tr>
<tr>
<th>구 입 일</th>
<td><input type="date" max="9999-12-31" id="PUR_DT" name="PUR_DT" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>구 입 처</th>
<td><input type="text" id="PUR_BP_NM" name="PUR_BP_NM" class="form-control form-control-sm"></td>
<th>대 표</th>
<td><input type="text" id="PUR_REPRE_NM" name="PUR_REPRE_NM" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>담 당</th>
<td><input type="text" id="PUR_PRSN_NM" name="PUR_PRSN_NM" class="form-control form-control-sm"></td>
<th>전 화 번 호</th>
<td><input type="text" id="PUR_TEL_NO" name="PUR_TEL_NO" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>제 조 처</th>
<td colspan="3"><input type="text" id="MAKER_NM" name="MAKER_NM" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>사 용 부 서</th>
<td colspan="3"><input type="text" id="INTNL_USE_DEPT_CD" name="INTNL_USE_DEPT_CD" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>형 식 규 격</th>
<td>
<input type="text" id="FACLT_SPEC" name="FACLT_SPEC" class="form-control form-control-sm">
</td>
<th>설 비 유 형</th>
<td>
<select id="FACLT_TYPE" name="FACLT_TYPE" class="form-control-sm form-select">
<?=getSelectOptions( $GLOBALS['_FACLT_TYPE'], $emptv="- ".cUtil\Mlang::getText("선택")." -" )?>
</select>
</td>
</tr>
<tr>
<th>용 도</th>
<td colspan="3"><input type="text" id="PURPOS_USAGE" name="PURPOS_USAGE" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>메 뉴 얼</th>
<td colspan="2">
<div class="form-control-plaintext">
<div id="FACLT_MANUAL_NM"><a id="mnu_download" class="btn btn-sm btn-warning d-none">메뉴얼 다운로드</a></div>
<label class="btnhLabel d-none"><input type="checkbox" id="MANUL_FLG" name="MANUL_FLG" value="Y"></label>
</div>
</td>
<td class="text-right">
<label class="btn btn-sm m-0 btn-success btnhLabel">
<input type="file" name="FACLT_MANUAL" id="FACLT_MANUAL">
메뉴얼 등록 / 수정
</label>
</td>
</tr>
<tr>
<th>사 용</th>
<td colspan="3">
<div class="form-control-plaintext">
<label class="form_toggle">
<input type="checkbox" id="USE_FLG" name="USE_FLG" checked value="Y">
</label>
</div>
</td>
</tr>
<tr>
<th>정 렬 순 서</th>
<td colspan="3">
<div class="form-control-plaintext">
<label for="SORT_IDX">
<input type="input" id="SORT_IDX" name="SORT_IDX" class="form-control form-control-sm w30">
</label>
</div>
</td>
</tr>
<tr>
<td colspan="5">
<div class="ctop_title mt-4">
<div class="content_title">설비고장수리 내역</div>
<div class="content_btn_group">
<button type="button" id="btnAddRepair" class="btn btn-sm btn-nobd"><i class="fa-solid fa-plus"></i> 추가</button>
<button type="button" id="btnDelRepair" class="btn btn-sm btn-outline-danger"><i class="fa-solid fa-xmark"></i> 삭제</button>
</div>
</div>
<div id="tblRepairHistory" class="mt-1 h150">
</div>
</td>
</tr>
</tbody>
</table>
<div class="mt-3 text-center"><button class="btn btn_prim">저 장</button> <button type="button" class="btn btn_main btn_close">닫 기</button></div>
<input type="hidden" name="FACLT_CD_OLD">
</form>