|
@@ -143,7 +143,7 @@
|
|
|
{headerName: "작업일시", field: "regDt", width: 150, cellClass: 'text-center'},
|
|
{headerName: "작업일시", field: "regDt", width: 150, cellClass: 'text-center'},
|
|
|
{headerName: "상품등록여부", field: "regSuccYn", width: 100, cellClass: 'text-center'},
|
|
{headerName: "상품등록여부", field: "regSuccYn", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "등록결과메세지", field: "regFailRsn", width: 200, cellClass: 'text-left'},
|
|
{headerName: "등록결과메세지", field: "regFailRsn", width: 200, cellClass: 'text-left'},
|
|
|
- {headerName: "등록브랜드코드", field: "brandCd", width: 120, cellClass: 'text-center'},
|
|
|
|
|
|
|
+ {headerName: "브랜드코드", field: "brandCd", width: 120, cellClass: 'text-center'},
|
|
|
{headerName: "업체코드", field: "supplyCompCd", width: 130, cellClass: 'text-center'},
|
|
{headerName: "업체코드", field: "supplyCompCd", width: 130, cellClass: 'text-center'},
|
|
|
{headerName: "상품코드", field: "goodsCd", width: 130, cellClass: 'text-center'},
|
|
{headerName: "상품코드", field: "goodsCd", width: 130, cellClass: 'text-center'},
|
|
|
{headerName: "상품명", field: "goodsNm", width: 150, cellClass: 'text-left'},
|
|
{headerName: "상품명", field: "goodsNm", width: 150, cellClass: 'text-left'},
|
|
@@ -151,27 +151,6 @@
|
|
|
{headerName: "검색어", field: "goodsSnm1", width: 150, cellClass: 'text-left'},
|
|
{headerName: "검색어", field: "goodsSnm1", width: 150, cellClass: 'text-left'},
|
|
|
{headerName: "제조국", field: "makeNm", width: 100, cellClass: 'text-center'},
|
|
{headerName: "제조국", field: "makeNm", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "제조일", field: "makeYmd", width: 100, cellClass: 'text-center'},
|
|
{headerName: "제조일", field: "makeYmd", width: 100, cellClass: 'text-center'},
|
|
|
- {headerName: "이지미타입", field: "imgType", width: 100, cellClass: 'text-center'},
|
|
|
|
|
- {headerName: "이미지경로1", field: "imgPath1", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로2", field: "imgPath2", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로3", field: "imgPath3", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로4", field: "imgPath4", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로5", field: "imgPath5", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로6", field: "imgPath6", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로7", field: "imgPath7", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로8", field: "imgPath8", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로9", field: "imgPath9", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로10", field: "imgPath10", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로11", field: "imgPath11", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로12", field: "imgPath12", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로13", field: "imgPath13", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로14", field: "imgPath14", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로15", field: "imgPath15", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로16", field: "imgPath16", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로17", field: "imgPath17", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로18", field: "imgPath18", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로19", field: "imgPath19", width: 200, cellClass: 'text-left'},
|
|
|
|
|
- {headerName: "이미지경로20", field: "imgPath20", width: 200, cellClass: 'text-left'},
|
|
|
|
|
{headerName: "고시분류코드", field: "niClsfCd", width: 200, cellClass: 'text-center',
|
|
{headerName: "고시분류코드", field: "niClsfCd", width: 200, cellClass: 'text-center',
|
|
|
cellEditorParams: { values: gagaAgGrid.extractValues(niClsfCdList) },
|
|
cellEditorParams: { values: gagaAgGrid.extractValues(niClsfCdList) },
|
|
|
valueFormatter: function (params) { return gagaAgGrid.lookupValue(niClsfCdList, params.value); },
|
|
valueFormatter: function (params) { return gagaAgGrid.lookupValue(niClsfCdList, params.value); },
|
|
@@ -205,7 +184,6 @@
|
|
|
{headerName: "고시내용26", field: "niContent26", width: 200, cellClass: 'text-left'},
|
|
{headerName: "고시내용26", field: "niContent26", width: 200, cellClass: 'text-left'},
|
|
|
{headerName: "고시내용27", field: "niContent27", width: 200, cellClass: 'text-left'},
|
|
{headerName: "고시내용27", field: "niContent27", width: 200, cellClass: 'text-left'},
|
|
|
{headerName: "고시내용28", field: "niContent28", width: 200, cellClass: 'text-left'},
|
|
{headerName: "고시내용28", field: "niContent28", width: 200, cellClass: 'text-left'},
|
|
|
- {headerName: "브랜드", field: "brandCd", width: 100, cellClass: 'text-center'},
|
|
|
|
|
{headerName: "품목", field: "itemkindCd", width: 100, cellClass: 'text-center'},
|
|
{headerName: "품목", field: "itemkindCd", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "스타일연도", field: "styleYear", width: 100, cellClass: 'text-center'},
|
|
{headerName: "스타일연도", field: "styleYear", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "시즌", field: "seasonCd", width: 80, cellClass: 'text-center'},
|
|
{headerName: "시즌", field: "seasonCd", width: 80, cellClass: 'text-center'},
|
|
@@ -233,30 +211,14 @@
|
|
|
|
|
|
|
|
//자사상품대량등록 클릭시
|
|
//자사상품대량등록 클릭시
|
|
|
$('#btnGoodsSelfCreate').on('click', function() {
|
|
$('#btnGoodsSelfCreate').on('click', function() {
|
|
|
- cfnExcelUploadPopup('createSelfGoods', 'createSelfGoods');
|
|
|
|
|
|
|
+ cfnExcelUploadPopup('createGoods', 'createSelfGoods');
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- var createSelfGoods = function(result){
|
|
|
|
|
- var data = {procJob : result.procJob
|
|
|
|
|
- ,excelFileNm : result.excelFileNm
|
|
|
|
|
- };
|
|
|
|
|
- var jsonData = JSON.stringify(data);
|
|
|
|
|
- gagajf.ajaxJsonSubmit('/goods/mass/excelupload/create', jsonData, fnGoodsSelfCreateCallBack);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- var fnGoodsSelfCreateCallBack = function(result){
|
|
|
|
|
-
|
|
|
|
|
- var date = new Date();
|
|
|
|
|
- $("#massForm input[name=stDate]").val(date.format("YYYY-MM-DD"));
|
|
|
|
|
- $("#massForm input[name=edDate]").val(date.format("YYYY-MM-DD"));
|
|
|
|
|
- fnGoodsListSearch();
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
//입점상품대량등록 클릭시
|
|
//입점상품대량등록 클릭시
|
|
|
$('#btnGoodsCreate').on('click', function() {
|
|
$('#btnGoodsCreate').on('click', function() {
|
|
|
cfnExcelUploadPopup('createGoods', 'createGoods');
|
|
cfnExcelUploadPopup('createGoods', 'createGoods');
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
var createGoods = function(result){
|
|
var createGoods = function(result){
|
|
|
var data = {procJob : result.procJob
|
|
var data = {procJob : result.procJob
|
|
|
,excelFileNm : result.excelFileNm
|
|
,excelFileNm : result.excelFileNm
|