1
0
Fork 0
HANYANG_MES/home_dir/www/ksvc_old/inc/popup.inc.php

342 lines
17 KiB
PHP

<!-- 미리보기 팝업 -->
<div id="pop_file_preview">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; width:1000px; height: 650px; }
#awn-popup-wrapper .awn-popup-confirm.awn-preview { width: 100%; height: 100%; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-preview .awn-popup-content {width: 100%; height: 100%;}
#awn-popup-wrapper .awn-preview .awn-popup-content #preview_frame {width: 100%; height: 100%; overflow: auto;}
</style>
<div class="awn-popup-confirm awn-preview">
<div class="awn-popup-content"><iframe id="preview_frame"><!-- Grid Api 또는 테이블 --></iframe></div>
</div>
</div>
<!-- 거래처 선택 팝업 -->
<div id="pop_partner_search">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; }
#awn-popup-wrapper .awn-popup-confirm.awn-partner { max-width: 680px; min-width: 680px; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-partner .awn-popup-title {font-size: 1.2em; text-align: left; width:100%; margin-top:0; margin-bottom:5px;}
#awn-popup-wrapper .awn-partner .awn-popup-search {width: 100%; margin-bottom: 5px;}
#awn-popup-wrapper .awn-partner .awn-popup-content {width: 100%; height: 500px; overflow: auto;}
#awn-popup-wrapper .awn-partner .md-block { display: flex; justify-content: space-between; }
#awn-popup-wrapper .awn-partner .md-line { display: flex; align-items: center; }
#awn-popup-wrapper .awn-partner .s_exp { color: darkcyan; }
#awn-popup-wrapper .awn-partner .s_fld { text-align: right; }
</style>
<div class="awn-popup-confirm awn-partner">
<div class="awn-popup-title"><i class="bi bi-card-heading"></i> 거래처 선택</div>
<div class="awn-popup-search mb-block btn-ksmain-inject-block">
<div class="s_exp"> 더블클릭으로 선택/반영 합니다.</div>
<div class="s_fld form-inline d-block">
영업분류:
<select id="sgrp" name="sgrp" class="form-control form-select w100">
</select>
거래처명: <input type="text" name="stxt" class="form-control d-inline w120 align-bottom">
|
<button type="button" id="ptReset" class="btn btn-danger"><i class="fa-regular fa-window-restore"></i> 초기화</button>
</div>
</div>
<div class="awn-popup-content"><div id="pop_partner_list"><!-- Grid Api 또는 테이블 --></div></div>
</div>
</div>
<!-- 사업장 선택 팝업 -->
<div id="pop_bizarea_search">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; }
#awn-popup-wrapper .awn-popup-confirm.awn-bizarea { max-width: 580px; min-width: 580px; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-bizarea .awn-popup-title { font-size: 1.2em; text-align: left; width:100%; margin-top:0; margin-bottom:5px; }
#awn-popup-wrapper .awn-bizarea .awn-popup-search { width: 100%; margin-bottom: 5px; }
#awn-popup-wrapper .awn-bizarea .awn-popup-content { width: 100%; height: 500px; overflow: auto; }
#awn-popup-wrapper .awn-bizarea .md-block { display: flex; justify-content: space-between; }
#awn-popup-wrapper .awn-bizarea .md-line { display: flex; align-items: center; }
#awn-popup-wrapper .awn-bizarea .s_exp { color: darkcyan; }
#awn-popup-wrapper .awn-bizarea .s_fld { text-align: right; }
</style>
<div class="awn-popup-confirm awn-bizarea">
<div class="awn-popup-title"><i class="bi bi-card-heading"></i> 사업장 선택</div>
<div class="awn-popup-search mb-block btn-ksmain-inject-block">
<div class="s_exp"> 더블클릭으로 선택/반영 합니다.</div>
<div class="s_fld">
사업장명: <input type="text" name="stxt" class="form-control d-inline w120 align-bottom">
</div>
</div>
<div class="awn-popup-content"><div id="pop_bizarea_list"><!-- Grid Api 또는 테이블 --></div></div>
</div>
</div>
<!-- 사원 선택 팝업 -->
<div id="pop_member_search">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; }
#awn-popup-wrapper .awn-popup-confirm.awn-member { max-width: 480px; min-width: 480px; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-member .awn-popup-title {font-size: 1.2em; text-align: left; width:100%; margin-top:0; margin-bottom:5px;}
#awn-popup-wrapper .awn-member .awn-popup-search {width: 100%; margin-bottom: 5px;}
#awn-popup-wrapper .awn-member .awn-popup-content {width: 100%; height: 500px; overflow: auto;}
#awn-popup-wrapper .awn-member .md-block { display: flex; justify-content: space-between; }
#awn-popup-wrapper .awn-member .md-line { display: flex; align-items: center; }
#awn-popup-wrapper .awn-member .s_exp { color: darkcyan; }
#awn-popup-wrapper .awn-member .s_fld { text-align: right; }
</style>
<div class="awn-popup-confirm awn-member">
<div class="awn-popup-title"><i class="bi bi-card-heading"></i> 사원 선택</div>
<div class="awn-popup-search mb-block btn-ksmain-inject-block">
<div class="s_exp"> 더블클릭으로 선택/반영 합니다.</div>
<div class="s_fld">
사원명: <input type="text" name="stxt" class="form-control d-inline w120 align-bottom">
</div>
</div>
<div class="awn-popup-content"><div id="pop_member_list"><!-- Grid Api 또는 테이블 --></div></div>
</div>
</div>
<!-- 부서 선택 팝업 -->
<div id="pop_dept_search">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; }
#awn-popup-wrapper .awn-popup-confirm.awn-dept { max-width: 480px; min-width: 480px; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-dept .awn-popup-title {font-size: 1.2em; text-align: left; width:100%; margin-top:0; margin-bottom:5px;}
#awn-popup-wrapper .awn-dept .awn-popup-search {width: 100%; margin-bottom: 5px;}
#awn-popup-wrapper .awn-dept .awn-popup-content {width: 100%; height: 500px; overflow: auto;}
#awn-popup-wrapper .awn-dept .md-block { display: flex; justify-content: space-between; }
#awn-popup-wrapper .awn-dept .md-line { display: flex; align-items: center; }
#awn-popup-wrapper .awn-dept .s_exp { color: darkcyan; }
#awn-popup-wrapper .awn-dept .s_fld { text-align: right; }
</style>
<div class="awn-popup-confirm awn-dept">
<div class="awn-popup-title"><i class="bi bi-card-heading"></i> 부서 선택</div>
<div class="awn-popup-search mb-block btn-ksmain-inject-block">
<div class="s_exp"> 더블클릭으로 선택/반영 합니다.</div>
<div class="s_fld align-items-center d-flex justify-content-end">
사업장명 :
<select name="BIZ_AREA_CD" class="form-control-sm form-select w100">
</select>
</div>
</div>
<div class="awn-popup-content"><div id="pop_dept_tree" class="poptree"><!-- Grid Api 또는 테이블 --></div></div>
</div>
</div>
<!-- 작업자 선택 팝업 -->
<div id="pop_employee_search">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; }
#awn-popup-wrapper .awn-popup-confirm.awn-dept { max-width: 680px; min-width: 580px; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-dept .awn-popup-title {font-size: 1.2em; text-align: left; width:100%; margin-top:0; margin-bottom:5px;}
#awn-popup-wrapper .awn-dept .awn-popup-search {width: 100%; margin-bottom: 5px;}
#awn-popup-wrapper .awn-dept .awn-popup-content {width: 100%; height: 500px; overflow: auto;}
#awn-popup-wrapper .awn-dept .md-block { display: flex; justify-content: space-between; }
#awn-popup-wrapper .awn-dept .md-line { display: flex; align-items: center; }
#awn-popup-wrapper .awn-dept .s_exp { color: darkcyan; }
#awn-popup-wrapper .awn-dept .s_fld { text-align: right; }
</style>
<div class="awn-popup-confirm awn-dept">
<div class="awn-popup-title"><i class="bi bi-card-heading"></i> 사원 선택</div>
<div class="awn-popup-search mb-block btn-ksmain-inject-block">
<div class="s_exp"> 더블클릭으로 선택/반영 합니다.</div>
<div class="s_fld align-items-center d-flex justify-content-end">
<div class="form-inline">
사업장명:
<select name="BIZ_AREA_CD" class="form-control-sm form-select w120">
</select>
</div>
<div class="form-inline ml-3">
사원명: <input type="text" name="stxt" class="form-control d-inline w120 align-bottom">
</div>
</div>
</div>
<div class="awn-popup-content"><div id="pop_employee_list" class="poptree"><!-- Grid Api 또는 테이블 --></div></div>
</div>
</div>
<!-- 기준정보 관리 팝업 -->
<div id="pop_basecode_search">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; }
#awn-popup-wrapper .awn-popup-confirm.awn-basecode { max-width: 580px; min-width: 480px; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-basecode .awn-popup-title {font-size: 1.2em; text-align: left; width:100%; margin-top:0; margin-bottom:5px;}
#awn-popup-wrapper .awn-basecode .awn-popup-search {width: 100%; margin-bottom: 5px;}
#awn-popup-wrapper .awn-basecode .awn-popup-content {width: 100%; height: 500px; overflow: auto;}
#awn-popup-wrapper .awn-basecode .md-block { display: flex; justify-content: space-between; }
#awn-popup-wrapper .awn-basecode .md-line { display: flex; align-items: center; }
#awn-popup-wrapper .awn-basecode .s_exp { color: darkcyan; }
#awn-popup-wrapper .awn-basecode .s_fld { text-align: right; }
#awn-popup-wrapper .awn-basecode .fl5 { flex:5; }
#awn-popup-wrapper .awn-basecode .fl4 { flex:4; }
#awn-popup-wrapper .awn-basecode .fl3 { flex:3; }
#awn-popup-wrapper .awn-basecode .fl2 { flex:2; }
#awn-popup-wrapper .awn-basecode .fl1 { flex:1; }
</style>
<div class="awn-popup-confirm awn-basecode sortable">
<div class="awn-popup-title"><i class="bi bi-card-heading"></i> 기초코드 관리</div>
<div class="awn-popup-search mb-block btn-ksmain-inject-block">
<div class="s_exp"> 마우스로 끌어 순서를 변경합니다.</div>
<div class="s_fld align-items-center d-flex justify-content-between mt-3">
<div class="form-inline fl1">
정보선택 :
<select name="BASECODE" class="form-control-sm form-select w120">
</select>
<label class="label_title form_radio ml-3">사용여부
<input type="checkbox" id="P_USE_FLG" name="P_USE_FLG" checked>
</label>
</div>
<div class="form-inline">
<button id="btnAddBcode" class="btn btn-nobd btn-sm"><i class="fa-solid fa-plus"></i> 추가</button>
<button id="btnPutBcode" class="btn btn_prim btn-sm ml-2"><i class="fa-solid fa-diagram-next"></i> 저장</button>
</div>
</div>
</div>
<div class="awn-popup-content"><div id="pop_basecode_list" class="poptree"><!-- Grid Api 또는 테이블 --></div></div>
</div>
</div>
<!-- 생산계획 선택 팝업 -->
<div id="pop_plan_route_search">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; }
#awn-popup-wrapper .awn-popup-confirm.awn-plan_route_search { max-width: 580px; min-width: 480px; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-plan_route_search .awn-popup-title {font-size: 1.2em; text-align: left; width:100%; margin-top:0; margin-bottom:5px;}
#awn-popup-wrapper .awn-plan_route_search .awn-popup-search {width: 100%; margin-bottom: 5px;}
#awn-popup-wrapper .awn-plan_route_search .awn-popup-content {width: 100%; height: 500px; overflow: auto;}
#awn-popup-wrapper .awn-plan_route_search .md-block { display: flex; justify-content: space-between; }
#awn-popup-wrapper .awn-plan_route_search .md-line { display: flex; align-items: center; }
#awn-popup-wrapper .awn-plan_route_search .s_exp { color: darkcyan; }
#awn-popup-wrapper .awn-plan_route_search .s_fld { text-align: right; }
#awn-popup-wrapper .awn-plan_route_search .fl5 { flex:5; }
#awn-popup-wrapper .awn-plan_route_search .fl4 { flex:4; }
#awn-popup-wrapper .awn-plan_route_search .fl3 { flex:3; }
#awn-popup-wrapper .awn-plan_route_search .fl2 { flex:2; }
#awn-popup-wrapper .awn-plan_route_search .fl1 { flex:1; }
</style>
<div class="awn-popup-confirm awn-plan_route_search">
<div class="awn-popup-title"><i class="bi bi-card-heading"></i> 생산계획 선택</div>
<div class="awn-popup-search mb-block btn-ksmain-inject-block">
<div class="s_exp"> 마우스로 끌어 순서를 변경합니다.</div>
<div class="s_fld align-items-center d-flex justify-content-between mt-3">
<div class="form-inline fl1">
정보선택 :
<select name="BASECODE" class="form-control-sm form-select w120">
</select>
<label class="label_title form_radio ml-3">사용여부
<input type="checkbox" id="P_USE_FLG" name="P_USE_FLG" checked>
</label>
</div>
<div class="form-inline">
<button id="btnAddBcode" class="btn btn-nobd btn-sm"><i class="fa-solid fa-plus"></i> 추가</button>
<button id="btnPutBcode" class="btn btn_prim btn-sm ml-2"><i class="fa-solid fa-diagram-next"></i> 저장</button>
</div>
</div>
</div>
<div class="awn-popup-content"><div id="pop_basecode_list" class="poptree"><!-- Grid Api 또는 테이블 --></div></div>
</div>
</div>
<!-- 생산계획 수정 팝업 -->
<div id="pop_plan_route_info">
<style>
#awn-popup-wrapper .awn-popup-body { max-width: initial; }
#awn-popup-wrapper .awn-popup-confirm.awn-planroute_info { max-width: 420px; min-width: 400px; align-items: center; display: flex; flex-direction: column; }
#awn-popup-wrapper .awn-planroute_info .awn-popup-title {font-size: 1.2em; text-align: left; width:100%; margin-top:0; margin-bottom:5px;}
#awn-popup-wrapper .awn-planroute_info .awn-popup-search {width: 100%; margin-bottom: 5px;}
#awn-popup-wrapper .awn-planroute_info .awn-popup-content {width: 100%; min-height: 300px; overflow: auto;}
#awn-popup-wrapper .awn-planroute_info .md-block { display: flex; justify-content: space-between; }
#awn-popup-wrapper .awn-planroute_info .md-line { display: flex; align-items: center; }
#awn-popup-wrapper .awn-planroute_info .s_exp { color: darkcyan; }
#awn-popup-wrapper .awn-planroute_info .s_fld { text-align: right; }
#awn-popup-wrapper .awn-planroute_info .fl5 { flex:5; }
#awn-popup-wrapper .awn-planroute_info .fl4 { flex:4; }
#awn-popup-wrapper .awn-planroute_info .fl3 { flex:3; }
#awn-popup-wrapper .awn-planroute_info .fl2 { flex:2; }
#awn-popup-wrapper .awn-planroute_info .fl1 { flex:1; }
</style>
<div class="awn-popup-confirm awn-planroute_info">
<div class="awn-popup-title"><i class="bi bi-card-heading"></i> 공정 정보</div>
<div class="awn-popup-search mb-block btn-ksmain-inject-block">
<div class="s_fld align-items-center d-flex justify-content-end mt-3">
<div class="form-inline">
</div>
</div>
</div>
<div class="awn-popup-content">
<form id="pop_form_route" name="pop_form_route" class="poptree">
<table class="tbl w-100 table table-group-divider">
<colgroup>
<col width="32%">
<col width="37%">
<col width="16%">
<col width="15%">
</colgroup>
<tbody>
<tr>
<th>공정명</th>
<td colspan="3"><span class="V_OP_NM"></span></td>
</tr>
<tr>
<th>수주번호</th>
<td><span class="V_MNG_NO"></span></td>
<th>배경색</th>
<td><input type="color" name="bgcolor" id="V_MNG_BG" value="#ffffff" class="w30"></td>
</tr>
<tr>
<th>SETUP</th>
<td colspan="3"><span class="V_ST"></span></td>
</tr>
<tr>
<th>설비명</th>
<td colspan="3">
<select name="V_FACLT_CD" id="V_FACLT_CD">
</select>
</td>
</tr>
<tr>
<th>시작시간</th>
<td colspan="3">
<input type="text" name="V_PLM_ST_TM" id="V_PLM_ST_TM" class="dtime_picker w120" />
<!--
<input type="text" name="V_PLM_ED_TM" id="V_PLM_ED_TM" class="dtime_picker w120" />-->
</td>
</tr>
<tr>
<th>단위가공시간 ()</th>
<td colspan="3"><span class="V_CT"></span></td>
</tr>
<tr>
<th>작업시간 ()</th>
<td colspan="3">
<span id="V_PLN_TERM_TM"></span>
</td>
</tr>
</tbody>
</table>
<div class="text-center">
<button type="button" id="btnPutRoute" class="btn btn_prim btn-sm ml-2"><i class="fa-solid fa-diagram-next"></i> 적용</button>
</div>
</form>
</div>
</div>
</div>