part, bom 공급업체 선택->입력으로 수정

This commit is contained in:
2025-10-29 11:11:21 +09:00
parent 2998a7609d
commit c7b4238a54
8 changed files with 52 additions and 15 deletions

View File

@@ -319,6 +319,15 @@ $(document).ready(function(){
}
}
}
// 공급업체 - MAKER 컬럼으로 변경, 일반 텍스트 입력 (2025-10-29)
,{name:"MAKER",index:"MAKER", width: 120, align:"center", hidden: false, sortable:false, editable:true
,editoptions:{
dataInit : function(e){
e.style.fontSize = 13;
}
}
}
/* 이전 SUPPLY_CODE 셀렉트박스 방식 (주석처리)
,{name:"SUPPLY_CODE",index:"SUPPLY_CODE", width: 120, align:"center", hidden: false, sortable:false, editable:true
,edittype :"select"
,formatter :"select"
@@ -330,6 +339,7 @@ $(document).ready(function(){
}
}
}
*/
,{name:"PART_TYPE" ,index:"PART_TYPE" , width:100, align:"center", hidden:false, sortable:false, editable: true
,edittype :"select"
,formatter :"select"

View File

@@ -103,6 +103,15 @@ $(document).ready(function(){
}
}
}
// 공급업체 - MAKER 컬럼으로 변경, 일반 텍스트 입력 (2025-10-29)
,{name:"MAKER" ,index:"MAKER" , width:100, align:"center", hidden:false, sortable:false, editable: true
,editoptions:{
dataInit : function(e){
e.style.fontSize = 13;
}
}
}
/* 이전 SUP_CODE 셀렉트박스 방식 (주석처리)
,{name:"SUP_CODE" ,index:"SUP_CODE" , width:100, align:"center", hidden:false, sortable:false, editable: true
,edittype :"select"
,formatter :"select"
@@ -113,7 +122,8 @@ $(document).ready(function(){
e.style.fontSize = 13;
}
}
}
}
*/
// ,{name:"SPEC",index:"SPEC", width: 150, align:"center", hidden: false, sortable:false, editable:true
// ,editoptions:{
// dataInit : function(e){

View File

@@ -315,7 +315,7 @@ function fn_enableEdit(){
$('#HEAT_TREATMENT_HARDNESS').prop('readonly', false).prop('disabled', false);
$('#HEAT_TREATMENT_METHOD').prop('readonly', false).prop('disabled', false);
$('#SURFACE_TREATMENT').prop('readonly', false).prop('disabled', false);
$('#SUPPLY_CODE').prop('disabled', false);
$('#MAKER').prop('readonly', false).prop('disabled', false);
$('#PART_TYPE').prop('disabled', false);
$('#REMARK').prop('readonly', false).prop('disabled', false);
@@ -347,7 +347,7 @@ function fn_save(){
HEAT_TREATMENT_HARDNESS: $('#HEAT_TREATMENT_HARDNESS').val(),
HEAT_TREATMENT_METHOD: $('#HEAT_TREATMENT_METHOD').val(),
SURFACE_TREATMENT: $('#SURFACE_TREATMENT').val(),
SUPPLY_CODE: $('#SUPPLY_CODE').val(),
MAKER: $('#MAKER').val(),
PART_TYPE: $('#PART_TYPE').val(),
REMARK: $('#REMARK').val()
};
@@ -483,10 +483,13 @@ function fn_edit(){
<label for="">공급업체</label>
</td>
<td class="input_sub_title" colspan="2">
<input type="text" name="MAKER" id="MAKER" value="${resultMap.MAKER}">
</td>
<!-- <td class="input_sub_title" colspan="2">
<select name="SUPPLY_CODE" id="SUPPLY_CODE" class="select2">
${code_map.SUPPLY_CODE}
</select>
</td>
</td> -->
<td class="input_title">
<label for="">범주 이름</label>

View File

@@ -357,11 +357,14 @@ function fn_overlapPartMng(){
<td class="input_title">
<label for="">공급업체</label>
</td>
<td class="input_sub_title" colspan="2">
<td class="input_sub_title" colspan="">
<input type="text" name="MAKER" id="MAKER" value="${resultMap.MAKER}">
</td>
<!-- <td class="input_sub_title" colspan="2">
<select name="SUPPLY_CODE" id="SUPPLY_CODE" class="select2">
${code_map.SUPPLY_CODE}
</select>
</td>
</td> -->
<td class="input_title">
<label for="">범주이름</label>

View File

@@ -179,7 +179,7 @@ String connector = person.getUserId();
{headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '열처리경도', field : 'HEAT_TREATMENT_HARDNESS' },
{headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '열처리방법', field : 'HEAT_TREATMENT_METHOD' },
{headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '표면처리', field : 'SURFACE_TREATMENT' },
{headerHozAlign : 'center', hozAlign : 'center', width : '150', title : '공급업체', field : 'SUPPLY_NAME' },
{headerHozAlign : 'center', hozAlign : 'center', width : '150', title : '공급업체', field : 'MAKER' },
{headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '범주 이름', field : 'PART_TYPE_TITLE' },
// {headerHozAlign : 'center', hozAlign : 'center', width : '90', title : '재질', field : 'MATERIAL' },

View File

@@ -171,7 +171,7 @@ ui-jqgrid tr.jqgrow td {
{headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '열처리경도', field : 'HEAT_TREATMENT_HARDNESS' },
{headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '열처리방법', field : 'HEAT_TREATMENT_METHOD' },
{headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '표면처리', field : 'SURFACE_TREATMENT' },
{headerHozAlign : 'center', hozAlign : 'center', width : '150', title : '공급업체', field : 'SUPPLY_NAME' },
{headerHozAlign : 'center', hozAlign : 'center', width : '150', title : '공급업체', field : 'MAKER' },
{headerHozAlign : 'center', hozAlign : 'center', width : '100', title : '범주 이름', field : 'PART_TYPE_TITLE' },
// {headerHozAlign : 'center', hozAlign : 'left', width : '190', title : '사양(규격)', field : 'SPEC' },