- Add Docker Compose configurations for dev, prod, and standalone environments - Add database initialization scripts (init-db.sh, init-db-docker.sh) - Add enhanced start-docker-linux.sh with DB init support - Add comprehensive database initialization guide - Support for automatic dbexport.pgsql import on first run - Include safety checks for production environment
144 lines
4.0 KiB
Plaintext
144 lines
4.0 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@ page import="java.util.*" %>
|
|
<%@include file= "/init.jsp" %>
|
|
<%
|
|
PersonBean person = (PersonBean)session.getAttribute(Constants.PERSON_BEAN);
|
|
String userId = CommonUtils.checkNull(person.getUserId());
|
|
%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
<style type="text/css">
|
|
::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(to bottom, #f5d78e, #f5d78e);
|
|
}
|
|
</style>
|
|
</head>
|
|
<script>
|
|
$(document).ready(function(){
|
|
$("#btnClose").click(function(){
|
|
self.close(0);
|
|
});
|
|
|
|
$("#btnSave").click(function(){
|
|
fn_save();
|
|
});
|
|
|
|
fnc_getAdminSupCdListAppend("", "PARTNER_OBJID", "${resultMap.PARTNER_OBJID}");
|
|
|
|
fnc_datepick();
|
|
|
|
$('.select2').select2();
|
|
});
|
|
|
|
</script>
|
|
<script>
|
|
function fn_save(){
|
|
if(fnc_validate('form1')){
|
|
if(confirm("저장하시겠습니까?")){
|
|
$.ajax({
|
|
url:"/salesMng/saveOrderSpecPartnerMng.do",
|
|
type:"POST",
|
|
data:$("#form1").serialize(),
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
Swal.fire(data.msg);
|
|
if(data.result){
|
|
opener.fn_search();
|
|
self.close();
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|
|
</script>
|
|
<style>
|
|
.input_title {border-left:1px solid #ccc;}
|
|
.input_sub_title {border-left:1px solid #ccc;}
|
|
.pmsPopupForm tr:last-child td{border-bottom:1px solid #ccc;}
|
|
</style>
|
|
<body>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="OBJID" id="OBJID" value="${resultMap.OBJID}">
|
|
<input type="hidden" name="PART_OBJID" id="PART_OBJID" value="${resultMap.PART_OBJID}">
|
|
<section>
|
|
<div class="plm_menu_name" style="display:flex;">
|
|
<h2>
|
|
<span>발주특성 등록</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap">
|
|
<!-- <div class="form_popup_title"> 영업활동 등록</div> -->
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="28%">
|
|
<col width="28%">
|
|
<col width="*">
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title" rowspan="2">
|
|
<label for="">공급업체정보</label>
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="">공급업체</label>
|
|
</td>
|
|
<td class="input_sub_title">
|
|
<select name="PARTNER_OBJID" id="PARTNER_OBJID" class="select2" type="select" required title="공급업체"></select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">순위</label>
|
|
</td>
|
|
<td class="input_sub_title">
|
|
<input type="number" name="SEQ" id="SEQ" value="${resultMap.SEQ}" required title="순위">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title" rowspan="3">
|
|
<label for="">단가정보</label>
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="">단가</label>
|
|
</td>
|
|
<td class="input_sub_title">
|
|
<input type="number" name="PARTNER_PRICE" id="PARTNER_PRICE" value="${resultMap.PARTNER_PRICE}" required title="단가">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">단가적용일</label>
|
|
</td>
|
|
<td class="input_sub_title">
|
|
<input type="text" name="APPLY_DATE" id="APPLY_DATE" value="${resultMap.APPLY_DATE}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">비고</label>
|
|
</td>
|
|
<td class="input_sub_title">
|
|
<input type="text" name="REMARK" id="REMARK" value="${resultMap.REMARK}">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap_center">
|
|
<input type="button" value="저장" id="btnSave" class="plm_btns">
|
|
<input type="button" value="닫기" id="btnClose" class="plm_btns">
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</form>
|
|
</body>
|
|
</html> |