|
|
@@ -214,7 +214,14 @@
|
|
|
valueGetter: function(params) { return cfnGridNumner('goodsSizeStockForm',params.node.rowIndex, 'A');}
|
|
|
},
|
|
|
{headerName: "브랜드명", field: "brandEnm", width: 130, cellClass: 'text-center'},
|
|
|
- {headerName: "상품명", field: "goodsNm", width: 200, cellClass: 'text-left',
|
|
|
+ {headerName: "상품명", field: "goodsNm", width: 200, cellClass: 'text-left'},
|
|
|
+ {headerName: "품목", field: "itemkindNm", width: 180, cellClass: 'text-left'},
|
|
|
+ {headerName: "상품상태", field: "goodsStat" , width: 120, cellClass: 'text-center',
|
|
|
+ cellEditorParams: { values: gagaAgGrid.extractValues(goodsStatList) },
|
|
|
+ valueFormatter: function (params) { return gagaAgGrid.lookupValue(goodsStatList, params.value); },
|
|
|
+ valueParser: function (params) { return gagaAgGrid.lookupKey(goodsStatList, params.newValue); }
|
|
|
+ },
|
|
|
+ {headerName: "상품코드", field: "goodsCd", width: 140, cellClass: 'text-center',
|
|
|
cellRenderer: function(params) {
|
|
|
if (params.data.sizeSoldoutYn == "Y"){
|
|
|
return '<a href="javascript:void(0);" style="color:red">' + params.value + '</a>';
|
|
|
@@ -223,13 +230,6 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- {headerName: "품목", field: "itemkindNm", width: 180, cellClass: 'text-left'},
|
|
|
- {headerName: "상품상태", field: "goodsStat" , width: 120, cellClass: 'text-center',
|
|
|
- cellEditorParams: { values: gagaAgGrid.extractValues(goodsStatList) },
|
|
|
- valueFormatter: function (params) { return gagaAgGrid.lookupValue(goodsStatList, params.value); },
|
|
|
- valueParser: function (params) { return gagaAgGrid.lookupKey(goodsStatList, params.newValue); }
|
|
|
- },
|
|
|
- {headerName: "상품코드", field: "goodsCd", width: 140, cellClass: 'text-center'},
|
|
|
{headerName: "색상", field: "optCd1", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "사이즈", field: "optCd2", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "품절여부", field: "soldoutYn", width: 100, cellClass: 'text-center',
|
|
|
@@ -274,11 +274,8 @@
|
|
|
// Row Click
|
|
|
gridOptions.onCellClicked = function(event) {
|
|
|
var goodsCd = event.data.goodsCd;
|
|
|
- if (event.colDef.field == "goodsNm"){
|
|
|
+ if (event.colDef.field == "goodsCd"){
|
|
|
cfnOpenGoodsDetailPopup('U',goodsCd);
|
|
|
- }else if (event.colDef.field == "goodsCd"){
|
|
|
-
|
|
|
- //cfnOpenFrontGoodsPopup(goodsCd, event.data.siteCd);
|
|
|
}
|
|
|
}
|
|
|
|