eskim 4 лет назад
Родитель
Сommit
95b58e2d7a

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsListForm.html

@@ -407,8 +407,12 @@
 		},
 		{headerName: "품목", field: "itemkindNm", width: 150, cellClass: 'text-center',
 			cellRenderer: function (params) {
-				return params.value.replaceAll(">", ">");
-			}
+				if (gagajf.isNull( params.value)){
+					return  params.value;
+				}else{
+					return  params.value.replaceAll(">", ">");
+				}
+			}	
 		},
 		{headerName: "전시재고", field: "stockQtySum", width: 120, cellClass: 'text-right',
 			valueFormatter: function(params) {	return params.value.addComma();},

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsPopupListForm.html

@@ -255,8 +255,12 @@
 		{headerName: "상품명", field: "goodsNm", width: 200, cellClass: 'text-left'},
 		{headerName: "품목", field: "itemkindNm", width: 150, cellClass: 'text-left',
 			cellRenderer: function (params) {
-				return params.value.replaceAll(">", ">");
-			}
+				if (gagajf.isNull( params.value)){
+					return  params.value;
+				}else{
+					return  params.value.replaceAll(">", ">");
+				}
+			}	
 		},
 		{headerName: "재고", field: "stockQtySum", width: 80, cellClass: 'text-right',
 			valueFormatter: function(params) {	return params.value.addComma();}

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/ItemkindBaseForm.html

@@ -61,8 +61,12 @@
 			cellEditor: 'textCellEditor',
 			cellEditorParams: { maxlength: 50, required: true },
 			cellRenderer: function (params) {
-				return params.value.replaceAll(">", ">");
-			}
+				if (gagajf.isNull( params.value)){
+					return  params.value;
+				}else{
+					return  params.value.replaceAll(">", ">");
+				}
+			}	
 		},
 		/* {headerName: "품목영문명", field: "itemkindEnm", width: 350, cellClass: 'text-center',
 			cellEditor: 'textCellEditor',

+ 6 - 2
src/main/webapp/WEB-INF/views/stock/GoodsSizeStockForm.html

@@ -207,8 +207,12 @@
 		{headerName: "상품명", field: "goodsNm", width: 200, cellClass: 'text-left'},
 		{headerName: "품목", field: "itemkindNm", width: 180, cellClass: 'text-left',
 			cellRenderer: function (params) {
-				return params.value.replaceAll(">", ">");
-			}
+				if (gagajf.isNull( params.value)){
+					return  params.value;
+				}else{
+					return  params.value.replaceAll(">", ">");
+				}
+			}	
 		},
 		{headerName: "상품상태", field: "goodsStat" , width: 120, cellClass: 'text-center',
 			cellEditorParams: { values: gagaAgGrid.extractValues(goodsStatList) },