1
0
Fork 0
HANYANG_MES/show_dir/www/ksvc/order/estimate/estimate.pop.inc.php

126 lines
5.2 KiB
PHP

<?php
include_once "{$_SERVER['DOCUMENT_ROOT']}/common.inc.php";
?>
<style>
#awn-popup-wrapper .awn-popup-body {
max-width: initial;
}
.frmEstimate {
max-height: 80vh;
overflow-y: auto;
overflow-x: hidden;
}
.just_table {
table-layout: fixed;
}
</style>
<div class="pop_top_title"><div class="title">견적 등록</div></div>
<form name="frmEstimate" method="post" class="frmEstimate">
<table class="tbl just_table w800">
<colgroup>
<col width="20%">
<col width="30%">
<col width="20%">
<col width="30%">
</colgroup>
<tbody>
<tr>
<th>거 래 처 선 택</th>
<td colspan="3">
<input type="hidden" id="EST_BP_CD" name="EST_BP_CD">
<input type="text" id="EST_BP_NM" name="EST_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 colspan="3"><textarea id="EST_TITLE" name="EST_TITLE" class="form-control form-control-sm"></textarea></td>
</tr>
<tr>
<th>견 적 번 호</th>
<td colspan="3"><input type="text" id="EST_UID" name="EST_UID" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>거 래 처 담 당 자</th>
<td>
<input type="hidden" id="BP_PRSN_ID" name="BP_PRSN_ID">
<input type="text" id="BP_PRSN_NM" name="BP_PRSN_NM" class="form-control form-control-sm">
</td>
<th>견 적 일</th>
<td>
<input type="date" id="EST_DATE" name="EST_DATE" class="form-control form-control-sm" max="9999-12-31">
</td>
</tr>
<!--
<tr>
<th>담 당 자 연 락 처</th>
<td colspan="3">
<input type="text" id="BP_PRSN_TEL" name="BP_PRSN_TEL" class="form-control form-control-sm" readonly>
</td>
</tr>
-->
<tr>
<td colspan="4">
<div class="ctop_title mt-4">
<div class="content_title">견적 항목 (합계:<span id="EST_AMT_VIEW" class="d-inline-block mw-100">0</span>)</div>
<div class="content_btn_group">
<button type="button" id="btnAddItem" class="btn btn-sm btn-nobd"><i class="fa-solid fa-plus"></i> 추가</button>
<button type="button" id="btnAddItem5" class="btn btn-sm btn-nobd"><i class="fa-solid fa-plus"></i> 추가(5)</button>
<button type="button" id="btnDelItem" class="btn btn-sm btn-outline-danger"><i class="fa-solid fa-xmark"></i> 삭제</button>
</div>
</div>
<div id="tblEstimateMember" class="mt-1">
</div>
</td>
</tr>
<tr>
<th colspan="3" class="h30"><div>견적 내용</div></th>
<th colspan="3" class="h30"><div>기타 내용</div></th>
</tr>
<tr>
<td colspan="3"><textarea class="form-control form-control-sm w-100 h100" style="font-family: dotum;" id="EST_TEXT" name="EST_TEXT"></textarea></td>
<td colspan="3"><textarea class="form-control form-control-sm w-100 h100" style="font-family: dotum;" id="EST_ETC" name="EST_ETC"></textarea></td>
</tr>
<tr>
<th>스 틸 코 리 아 담 당 자</th>
<td>
<input type="hidden" id="EST_EMP_NO" name="EST_EMP_NO">
<input type="text" id="EST_EMP_NM" name="EST_EMP_NM" class="form-control form-control-sm">
</td>
<th>스 틸 코 리 아 연 락 처</th>
<td>
<input type="text" id="EST_EMP_TEL" name="EST_EMP_TEL" class="form-control form-control-sm">
</td>
</tr>
<tr>
<th>검 사 비</th>
<td><input type="text" id="EST_TEST_EXP" name="EST_TEST_EXP" class="form-control form-control-sm"></td>
<th>운 송 조 건</th>
<td><input type="text" id="EST_TRAN_COND" name="EST_TRAN_COND" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>부 가 세</th>
<td><input type="text" id="EST_TAX" name="EST_TAX" class="form-control form-control-sm"></td>
<th>포 장 비</th>
<td><input type="text" id="EST_PACK_EXP" name="EST_PACK_EXP" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>견 적 유 효 기 간</th>
<td><input type="text" id="EST_EXP_DAYS" name="EST_EXP_DAYS" class="form-control form-control-sm"></td>
<th>지 불 조 건</th>
<td><input type="text" id="EST_PAY_COND" name="EST_PAY_COND" class="form-control form-control-sm"></td>
</tr>
<tr>
<th>납 기</th>
<td><input type="text" id="EST_DEL_LIMT" name="EST_DEL_LIMT" class="form-control form-control-sm"></td>
<th>공 급 조 건</th>
<td><input type="text" id="EST_SUP_COND" name="EST_SUP_COND" class="form-control form-control-sm"></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">
</form>