forked from HANYANG/HANYANG_MES
148 lines
5.3 KiB
PHP
148 lines
5.3 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;
|
|
}
|
|
.tbl.just_table tr {
|
|
height: 30px;
|
|
}
|
|
#pic_block {
|
|
height: 200px;
|
|
overflow: auto;
|
|
position: relative;
|
|
}
|
|
.img_block {
|
|
width: calc( 25% - 0.25rem );
|
|
height: 80px !important;
|
|
border: 1px solid #dee2e6!important;
|
|
border-radius: var(--bs-border-radius-sm)!important;
|
|
margin: 0.125rem!important;
|
|
background-size: cover;
|
|
background-position: center;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
.img_block input {
|
|
position: absolute;
|
|
right:6px;
|
|
top:6px;
|
|
}
|
|
.tabulator-alert-msg.tabulator-alert-state-msg {
|
|
height: 50px;
|
|
border: 4px solid #333;
|
|
color: #000;
|
|
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: calc( 50% - 25px );
|
|
left: calc( 50% - 90px );
|
|
}
|
|
.tabulator-alert-msg {
|
|
display: inline-block;
|
|
margin: 0 auto;
|
|
padding: 10px 20px;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
}
|
|
</style>
|
|
<div class="pop_top_title"><div class="title">NCR 등록</div></div>
|
|
<form name="frmNcr" enctype="multipart/form-data" method="post">
|
|
<table class="tbl just_table w800" style="table-layout: fixed;">
|
|
<tbody>
|
|
<tr>
|
|
<th colspan="20">부 적 합 코 드</th>
|
|
<td colspan="30"><input type="text" id="NCR_NO" name="NCR_NO" class="form-control form-control-sm" placeholder="자동채번" readonly></td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="20">수 주 번 호</th>
|
|
<td colspan="30"><input type="text" id="MNG_NO" name="MNG_NO" class="form-control form-control-sm" /></td>
|
|
<th colspan="20">일 련 번 호</th>
|
|
<td colspan="30"><select id="MNG_SN_ID" name="MNG_SN_ID" class="form-control-sm form-select"></select></td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="20">고 객</th>
|
|
<td colspan="30"><input id="DLVY_BP_NM" class="form-control form-control-sm" disabled></input></td>
|
|
<th colspan="20">품 명</th>
|
|
<td colspan="30"><input id="ITEM_CD" class="form-control form-control-sm" disabled></input></td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="20">규 격</th>
|
|
<td colspan="30"><input id="ITEM_SPEC" class="form-control form-control-sm" disabled></input></td>
|
|
<th colspan="20">재 질</th>
|
|
<td colspan="30"><input id="MATR_TYPE" class="form-control form-control-sm" disabled></input></td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="20">도 면 번 호</th>
|
|
<td colspan="30"><input id="ASS_DRAW" class="form-control form-control-sm" disabled></input></td>
|
|
<th colspan="20"></th>
|
|
<td colspan="30"></td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="20">발 생 일</th>
|
|
<td colspan="30"><input type="text" id="FOUND_DT" name="FOUND_DT" class="form-control form-control-sm cals" /></td>
|
|
<!--
|
|
<th colspan="10">발 생 시 간</th>
|
|
<td colspan="15"><input type="time" id="FOUND_TM" name="FOUND_TM" class="form-control form-control-sm" /></td>-->
|
|
<th colspan="20">발 견 유 형</th>
|
|
<td colspan="30">
|
|
<select id="FOUND_TYPE" name="FOUND_TYPE" class="form-select form-control-sm">
|
|
<?=getSelectOptions($GLOBALS['_FOUND_TYPE'],"- 선택 -")?>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="20">부 적 합 사 유</th>
|
|
<td colspan="30"><input type="text" id="NCR_CD" name="NCR_CD" class="form-control form-control-sm" /></td>
|
|
<th colspan="10">판 정</th>
|
|
<td colspan="15">
|
|
<select id="JUDG_CD" name="JUDG_CD" class="form-select form-control-sm">
|
|
<?=getSelectOptions($GLOBALS['_JUDG_CD'],"- 선택 -")?>
|
|
</select>
|
|
</td>
|
|
<th colspan="10">판 정 자</th>
|
|
<td colspan="15"><input type="hidden" id="JUDG_EMP_NO" name="JUDG_EMP_NO" class="form-control form-control-sm" /><input type="text" id="JUDG_EMP_NM" name="JUDG_EMP_NM" class="form-control form-control-sm" /></td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="20">상 세 내 용</th>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="100"><textarea id="NCR_CONTENT" name="NCR_CONTENT" class="form-control form-control-sm w-100 h80"></textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="100"></th>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="20">관 련 사 진</th>
|
|
<td colspan="80">
|
|
<div class="s_fld text-right">
|
|
<div id="attfilepond"></div>
|
|
<button type="button" id="btnAddPic" class="btn btn-nobd btn-sm"><i class="fa-solid fa-plus"></i></button>
|
|
<button type="button" id="btnDelPic" class="btn btn-nobd2 btn-sm"><i class="fa-solid fa-minus"></i></button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="100">
|
|
<div id="pic_block" class="d-flex flex-wrap border-bottom">
|
|
<div class="ploading d-hide tabulator-alert-msg tabulator-alert-state-msg" role="alert">미리보기 작성중...</div>
|
|
</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="NCR_NO_OLD" id="NCR_NO_OLD">
|
|
</form>
|