Sfoglia il codice sorgente

예약판매시 자사상품만 가능하게 수정

eskim 5 anni fa
parent
commit
5713a38fa5

+ 4 - 1
src/main/webapp/WEB-INF/views/goods/GoodsReserveSellPopupForm.html

@@ -80,7 +80,10 @@
 		if (result.length < 1) return;
 		var oldData = gagaAgGrid.getAllRowData(goodsResSellRegisterGridOptions);
 		$.each(result, function(idx, item) {
-			if(item.goodsType != 'G056_N'){
+			//if(item.goodsType != 'G056_N'){
+			//	return true;
+			//}
+			if("Y" != item.selfGoodsYn){
 				return true;
 			}
 			var isInvalid = false;