구매관리_견적요청사관리 리스트 품번, 품명 수정
This commit is contained in:
@@ -88,8 +88,28 @@ var columns = [
|
||||
{headerHozAlign:'center', hozAlign:'center', widthGrow:1.2, title:'프로젝트번호', field:'PROJECT_NUMBER'},
|
||||
{headerHozAlign:'center', hozAlign:'center', widthGrow:0.7, title:'주문유형', field:'ORDER_TYPE_NAME'},
|
||||
{headerHozAlign:'center', hozAlign:'center', widthGrow:0.7, title:'제품구분', field:'PRODUCT_NAME_TITLE'},
|
||||
{headerHozAlign:'center', hozAlign:'left', widthGrow:1.2, title:'품번', field:'PART_NO'},
|
||||
{headerHozAlign:'center', hozAlign:'left', widthGrow:1.5, title:'품명', field:'PART_NAME'},
|
||||
{headerHozAlign:'center', hozAlign:'left', widthGrow:1.2, title:'품번', field:'PART_NO',
|
||||
formatter: function(cell, formatterParams, onRendered){
|
||||
var partNo = fnc_checkNull(cell.getValue());
|
||||
var detailCount = parseInt(fnc_checkNull(cell.getData().DETAIL_COUNT)) || 0;
|
||||
if(partNo === '') return '';
|
||||
if(detailCount > 1) {
|
||||
return partNo + ' <span style="color:#888;">외 ' + (detailCount - 1) + '건</span>';
|
||||
}
|
||||
return partNo;
|
||||
}
|
||||
},
|
||||
{headerHozAlign:'center', hozAlign:'left', widthGrow:1.5, title:'품명', field:'PART_NAME',
|
||||
formatter: function(cell, formatterParams, onRendered){
|
||||
var partName = fnc_checkNull(cell.getValue());
|
||||
var detailCount = parseInt(fnc_checkNull(cell.getData().DETAIL_COUNT)) || 0;
|
||||
if(partName === '') return '';
|
||||
if(detailCount > 1) {
|
||||
return partName + ' <span style="color:#888;">외 ' + (detailCount - 1) + '건</span>';
|
||||
}
|
||||
return partName;
|
||||
}
|
||||
},
|
||||
{headerHozAlign:'center', hozAlign:'left', widthGrow:1.2, title:'업체명', field:'VENDOR_NAME',
|
||||
formatter: function(cell, formatterParams, onRendered){
|
||||
var value = fnc_checkNull(cell.getValue());
|
||||
|
||||
Reference in New Issue
Block a user