|
|
@@ -183,6 +183,7 @@
|
|
|
let cateTypeList = gagajf.convertToArray([[${cateTypeList}]]);
|
|
|
let formalGbList = gagajf.convertToArray([[${formalGbList}]]);
|
|
|
let conentsLocList = gagajf.convertToArray([[${conentsLocList}]]);
|
|
|
+ let goodsStatList = gagajf.convertToArray([[${goodsStatList}]]);
|
|
|
|
|
|
let columnDefs1 = [
|
|
|
{width: 40, minWidth: 40, cellClass: 'text-center', headerCheckboxSelection: true, checkboxSelection: true, filter: false},
|
|
|
@@ -192,17 +193,28 @@
|
|
|
{headerName: "카테고리번호", field: "cateNo", width: 120, cellClass: 'text-center'},
|
|
|
{headerName: "표시순서", field: "dispOrd", width: 80, cellClass: 'text-center'},
|
|
|
{headerName: "상품타입", field: "goodsType", width: 100, cellClass: 'text-center'},
|
|
|
- {headerName: "TAG가", field: "tagPrice", width: 80, cellClass: 'text-center'},
|
|
|
- {headerName: "정상가", field: "listPrice", width: 80, cellClass: 'text-center'},
|
|
|
- {headerName: "현재판매가", field: "currPrice", width: 80, cellClass: 'text-center'},
|
|
|
+ {headerName: "재고", field: "currStockQty", width: 80, cellClass: 'text-right',
|
|
|
+ valueFormatter: function(params) { return params.value.addComma();}
|
|
|
+ },
|
|
|
+ {headerName: "TAG가", field: "tagPrice", width: 80, cellClass: 'text-right',
|
|
|
+ valueFormatter: function(params) { return params.value.addComma();}
|
|
|
+ },
|
|
|
+ {headerName: "정상가", field: "listPrice", width: 80, cellClass: 'text-right',
|
|
|
+ valueFormatter: function(params) { return params.value.addComma();}
|
|
|
+ },
|
|
|
+ {headerName: "현재판매가", field: "currPrice", width: 80, cellClass: 'text-right',
|
|
|
+ valueFormatter: function(params) { return params.value.addComma();}
|
|
|
+ },
|
|
|
{headerName: "할인율", field: "dcRate", width: 80, cellClass: 'text-center'},
|
|
|
- {headerName: "상품상태", field: "goodsStat", width: 80, cellClass: 'text-center'},
|
|
|
+ {headerName: "상품상태", field: "goodsStat", width: 80, cellClass: 'text-center'
|
|
|
+ ,valueFormatter: function (params) { return gagaAgGrid.lookupValue(goodsStatList, params.value); }
|
|
|
+ },
|
|
|
{headerName: "브랜드코드", field: "brandCd", width: 80, cellClass: 'text-center'},
|
|
|
- {headerName: "공급업체상품코드", field: "supplyGoodsCd", width: 80, cellClass: 'text-center'},
|
|
|
+ {headerName: "공급업체상품코드", field: "supplyGoodsCd", width: 120, cellClass: 'text-center'},
|
|
|
{headerName: "스타일구분", field: "styleYear", width: 80, cellClass: 'text-center'},
|
|
|
{headerName: "정상/이월", field: "formalGb", width: 80, cellClass: 'text-center'},
|
|
|
- {headerName: "등록자", field: "regNo", width: 80, cellClass: 'text-center'},
|
|
|
- {headerName: "등록일시", field: "regDt", width: 80, cellClass: 'text-center'}
|
|
|
+ {headerName: "등록자", field: "regNm", width: 80, cellClass: 'text-center'},
|
|
|
+ {headerName: "등록일시", field: "regDt", width: 150, cellClass: 'text-center'}
|
|
|
];
|
|
|
|
|
|
let gridOptions = gagaAgGrid.getGridOptions(columnDefs1);
|