1
0
Fork 0
HANYANG_MES/show_dir/www/ksvc/etc/outsourcing/reg_outsourcing.prop.inc.php

163 lines
5.7 KiB
PHP

<?php
include_once "{$_SERVER['DOCUMENT_ROOT']}/common.inc.php";
$today = date('Y-m-d');
?>
<style>
#awn-popup-wrapper .awn-popup-body {
max-width: initial;
}
#awn-popup-wrapper .awn-popup-body .outs_pop2 {
max-width: 1120px;
}
.frmOutsourcing {
max-height: 80vh;
overflow-y: auto;
overflow-x: hidden;
}
.just_table {
table-layout: fixed;
}
.w1050 {
width: 1050px;
}
.th_left {
text-align: left !important;
}
.required_field {
background-color: #e3b3b8;
}
.common_field {
background-color: #b9d9ea;
}
</style>
<div class="outs_pop2">
<div class="pop_top_title"><div class="title">발주 등록</div></div>
<form name="frmOutsourcing" method="post" class="frmOutsourcing">
<table class="tbl just_table w1050">
<colgroup>
<col width="22%">
<col width="33%">
<col width="22%">
<col width="33%">
</colgroup>
<tbody>
<tr>
<th>발 주 번 호</th>
<td colspan=""><input type="text" id="PO_UID" name="PO_UID" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>발 주 처 담 당 자</th>
<td>
<input type="hidden" id="PO_PRSN_ID" name="PO_PRSN_ID">
<input type="text" id="PO_PRSN_NM" name="PO_PRSN_NM" class="form-control form-control-sm">
</td>
<th>발 주 일</th>
<td>
<input type="date" id="PO_DT" name="PO_DT" class="form-control form-control-sm" max="9999-12-31" value="<?=$today?>">
</td>
</tr>
<tr>
<th>담 당 자 연 락 처</th>
<td colspan="1">
<input type="text" id="PO_PRSN_TEL" name="PO_PRSN_TEL" class="form-control form-control-sm">
</td>
</tr>
<tr>
<td colspan="6">
<div class="ctop_title mt-4">
<div class="content_title">수주 항목 합계 (원화: <span id="PO_AMT_TTL_VIEW" class="d-inline-block mw-100">0</span>
외화 : <span id="PO_AMT_TTL_VIEW_INTER" class="d-inline-block mw-100">0</span>)
</div>
</div>
<div class="tbl_block">
<div id="tblOutsourcingMember" class="mt-1">
</div>
</div>
</td>
</tr>
<tr>
<td colspan="6">
<div class="ctop_title mt-4">
<div class="content_title">발주 항목 (합계:<span id="PO_AMT_TTL_INPUT_VIEW" class="d-inline-block mw-100">0</span>)</div>
</div>
<div class="tbl_block">
<div id="tblOutsourcingMemberInput" class="mt-1">
</div>
</div>
</td>
</tr>
<tr>
<th>공 급 자 선 택</th>
<td colspan="3">
<input type="hidden" id="PO_BP_CD" name="PO_BP_CD">
<input type="text" id="PO_BP_NM" name="PO_BP_NM" class="form-control form-control-sm d-inline form-control form-control-sm w150" readonly>
<button type="button" id="btnGetBp" class="btn btn-success btn-sm">공급자 선택</button>
</td>
</tr>
<tr>
<th>공 급 자 주 소</th>
<td>
<input type="text" id="PO_BP_ADDR" name="PO_BP_ADDR" class="form-control form-control-sm">
</td>
<th>공 급 자 연 락 처</th>
<td>
<input type="text" id="PO_BP_TEL" name="PO_BP_TEL" class="form-control form-control-sm">
</td>
</tr>
<tr>
<th>거 래 화 폐</th>
<td>
<select id="CURRENCY_CD" name="CURRENCY_CD" class="form-control-sm form-select">
<?=getSelectOptionsExp( $GLOBALS['_varsCurrencyExp'], $emptv="- ".cUtil\Mlang::getText("선택")." -" )?>
</select>
</td>
<th>지 불 조 건</th>
<td>
<input type="text" id="PAYMENT_COND" name="PAYMENT_COND" class="form-control form-control-sm">
</td>
</tr>
<tr>
<th>인 도 조 건</th>
<td>
<input type="text" id="PO_DEL_COND" name="PO_DEL_COND" class="form-control form-control-sm">
</td>
<th>검 사 조 건</th>
<td>
<input type="text" id="PO_INSPT_COND" name="PO_INSPT_COND" class="form-control form-control-sm">
</td>
</tr>
<tr>
<th class="required_field">발 주 구 분</th>
<td>
<select id="PO_MATR_CLASS" name="PO_MATR_CLASS" class="form-control-sm form-select">
<?=getSelectOptions( $GLOBALS['_TASK_TYPE'])?>
</select>
</td>
<th>관 리 구 분</th>
<td>
<input type="text" id="PO_MNG_CLASS" name="PO_MNG_CLASS" class="form-control form-control-sm">
</td>
</tr>
<tr>
<th colspan="2" class="h30"><div>특기 사항1</div></th>
<th colspan="2" class="h30"><div>특기 사항2</div></th>
</tr>
<tr>
<td colspan="2"><textarea class="form-control form-control-sm w-100 h100" style="font-family: dotum;" id="PO_REMARK1" name="PO_REMARK1"></textarea></td>
<td colspan="2"><textarea class="form-control form-control-sm w-100 h100" style="font-family: dotum;" id="PO_REMARK2" name="PO_REMARK2"></textarea></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" id="EST_AMT" name="EST_AMT">
<input type="hidden" id="EST_ID" name="EST_ID">
<input type="hidden" id="EST_ID_OLD" name="EST_ID_OLD">
<input type="hidden" id="member_name" name="member_name" value="<?=$GLOBALS['_Umem']['member_name']?>">
<input type="hidden" id="member_mobile" name="member_mobile" value="<?=$GLOBALS['_Umem']['member_mobile']?>">
<!-- <input type="hidden" id="PAK_AMT" name="PAK_AMT">-->
</form>
</div>