e-bom csv 업로드 문제 발생시 저장버튼 숨기기, 화면 수정

This commit is contained in:
2025-11-21 14:37:55 +09:00
parent 0d5d0e36c2
commit 22406be147

View File

@@ -250,7 +250,7 @@ $(document).ready(function(){
,datatype: "local"
,colNames: ["상태","모품번","품번","품명","수량","항목수량","재료","열처리경도","열처리방법","표면처리","공급업체","범주이름"]
,colModel: [
{name:"NOTE",index:"NOTE", width: 160, align:"center", hidden: false, sortable:false, editable:true
{name:"NOTE",index:"NOTE", width: 200, align:"center", hidden: false, sortable:false, editable:true
,editoptions:{
dataInit : function(e){
e.style.fontSize = 13;
@@ -947,17 +947,15 @@ function fn_save(){
</div>
</section>
<div style="font-size:10px;float:left;margin:13px 13px 5px 13px">
<table class="" style="border:0px solid #dd2a00;">
<div style="font-size:10px;float:left;margin:40px 8px 5px 13px;width:39%;">
<table class="" style="border:0px solid #dd2a00;width:100%;">
<colgroup>
<col width="100px">
<col width="180px">
<col width="70px">
<col width="180px">
<col width="70px">
<col width="180px">
<col width="70px">
<col width="150px">
<col width="15%">
<col width="25%">
<col width="10%">
<col width="25%">
<col width="10%">
<col width="15%">
</colgroup>
<tr>
<td style="font-size:12px;"><label for="product_cd">제품구분</label></td>
@@ -969,27 +967,29 @@ function fn_save(){
</td>
<td style="font-size:12px;" class="align_c"><label for="bom_part_no">품번</label></td>
<td>
<input type="text" name="bom_part_no" id="bom_part_no" required reqTitle="품번" value="<%= bomPartNo %>" style="width: 170px;"/>
<input type="text" name="bom_part_no" id="bom_part_no" required reqTitle="품번" value="<%= bomPartNo %>" style="width: 100%;"/>
</td>
<td style="font-size:12px;" class="align_c"><label for="bom_part_name">품명</label></td>
<td>
<input type="text" name="bom_part_name" id="bom_part_name" required reqTitle="품명" value="<%= bomPartName %>" style="width: 170px;"/>
</td>
<td style="font-size:12px;" class="align_c"><label for="version">Version</label></td>
<td>
<input type="text" name="version" id="version" reqTitle="Version" value="<%= bomVersion %>" style="width: 140px;"/>
<input type="text" name="bom_part_name" id="bom_part_name" required reqTitle="품명" value="<%= bomPartName %>" style="width: 200px;"/>
</td>
</tr>
<tr>
<td style="font-size:12px;"><label for="copy_bom_select">E-BOM 복사 대상</label></td>
<td colspan="5">
<select name="copy_bom_select" id="copy_bom_select" style="width: 600px;" class="select2">
<td style="font-size:12px;"><label for="version">Version</label></td>
<td colspan="">
<input type="text" name="version" id="version" reqTitle="Version" value="<%= bomVersion %>" style="width: 170px;"/>
</td>
</tr>
<tr>
<td style="font-size:12px;"><label for="copy_bom_select">E-BOM 복사</label></td>
<td colspan="4">
<select name="copy_bom_select" id="copy_bom_select" style="width: 100%;" class="select2">
<option value="">선택</option>
${code_map.bom_list}
</select>
</td>
<td colspan="2" style="text-align:center;">
<input type="button" class="plm_btns" value="복사" id="btnCopyBom" style="width: 80px;">
<td style="text-align:center;">
<input type="button" class="plm_btns" value="복사" id="btnCopyBom" style="margin-left: 100px; width: 50%;">
</td>
</tr>
@@ -1032,7 +1032,27 @@ function fn_save(){
</td> -->
</tr>
</table>
</div>
</div>
<div style="float:left;margin:5px 13px 5px 8px;width:58%;">
<div id="partExcelPopupFormWrap">
<div class="form_popup_title" style="position:relative;margin-bottom:5px;">&nbsp;&nbsp;&nbsp;CSV upload<!--<img src="/images/btnExcel.png" style="position:absolute; top:9px; right:135px;"/><span style="position:absolute; top:0px; right:10px; cursor:pointer;" id="templateDownload">Template Download</span>--></div>
<div id="excelUploadPopupForm">
<div class="fileDnDWrap">
<div id="excelImportDropZone" class="dropzone" style="height:50px;border:2px dashed #ccc;text-align:center;line-height:50px;background:#f9f9f9;">Drag & Drop CSV 템플릿</div>
<div id="excelImportList">
<table id="excelImportTable" class="excelUploadPopupForm">
<thead>
<tr><td colspan="3">Excel 첨부파일</td></tr>
</thead>
<tbody id="excelImportArea">
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- <div id="expenseApplyPopupFormWrap1" style="margin-top:30px;position: ">
@@ -1096,31 +1116,11 @@ function fn_save(){
<div style="clear:both"></div>
<div style="width:100%; display: inline-block; float:left;">
<div style=" margin: 0 8px;">
<div id="partExcelPopupFormWrap">
<div class="form_popup_title" style="position:relative;">&nbsp;&nbsp;&nbsp;CSV upload<!--<img src="/images/btnExcel.png" style="position:absolute; top:9px; right:135px;"/><span style="position:absolute; top:0px; right:10px; cursor:pointer;" id="templateDownload">Template Download</span>--></div>
<div id="excelUploadPopupForm">
<div class="fileDnDWrap">
<div id="excelImportDropZone" class="dropzone" style="height:50px;">Drag & Drop CSV 템플릿</div>
<div id="excelImportList">
<table id="excelImportTable" class="excelUploadPopupForm">
<thead>
<tr><td colspan="3">Excel 첨부파일</td></tr>
</thead>
<tbody id="excelImportArea">
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<section>
<div class="btn_wrap">
<div class="plm_btn_wrap" style="padding:0 8 0 8; text-align: right;">
<input type="button" class="plm_btns" value="저장" onclick="fn_save();">
<input type="button" class="plm_btns" value="저장" id="btnSave" onclick="fn_save();">
<input type="button" class="plm_btns" value="닫기" onclick="window.close();" >
</div>
</div>