Просмотр исходного кода

제수 0에 관한 처리 제거

LMC 4 лет назад
Родитель
Сommit
dac6cd58f8

+ 0 - 5
src/main/webapp/WEB-INF/views/statistics/BrandTradingForm.html

@@ -399,9 +399,6 @@
 			}
 		});
 
-		//값이 0이면 제수가 0이므로 오류방지처리
-		if(totInfo.totAmt == 0) totInfo.totAmt = 1;
-		if(totInfo.yoyTotOrdAmt == 0) totInfo.yoyTotOrdAmt = 1;
 		totInfo.yoyRate = (totInfo.totAmt / totInfo.yoyTotOrdAmt * 100 - 100).toFixed(1);
 
 		gagaAgGrid.setPinnedRowData(gridOptions, totInfo, 'top');
@@ -435,8 +432,6 @@
 		// Create a agGrid
 		gagaAgGrid.createGrid('gridList', gridOptions);
 
-		//조회
-		$('#btnSearch').click();
 	});
 /*]]>*/
 </script>

+ 0 - 5
src/main/webapp/WEB-INF/views/statistics/ChannelTradingForm.html

@@ -377,9 +377,6 @@
 			}
 		});
 
-		//값이 0이면 제수가 0이므로 오류방지처리
-		if(totInfo.totAmt == 0) totInfo.totAmt = 1;
-		if(totInfo.yoyTotOrdAmt == 0) totInfo.yoyTotOrdAmt = 1;
 		totInfo.yoyRate = (totInfo.totAmt / totInfo.yoyTotOrdAmt * 100 - 100).toFixed(1);
 
 		gagaAgGrid.setPinnedRowData(gridOptions, totInfo, 'top');
@@ -418,8 +415,6 @@
 		// Create a agGrid
 		gagaAgGrid.createGrid('gridList', gridOptions);
 
-		//조회
-		$('#btnSearch').click();
 	});
 /*]]>*/
 </script>

+ 0 - 2
src/main/webapp/WEB-INF/views/statistics/DailyOrderForm.html

@@ -483,8 +483,6 @@
 		// Create a agGrid
 		gagaAgGrid.createGrid('gridList', gridOptions);
 
-		//조회
-		$('#btnSearch').click();
 	});
 /*]]>*/
 </script>

+ 0 - 5
src/main/webapp/WEB-INF/views/statistics/ExtmallTradingForm.html

@@ -316,9 +316,6 @@
 			}
 		});
 
-		//값이 0이면 제수가 0이므로 오류방지처리
-		if(totInfo.totAmt == 0) totInfo.totAmt = 1;
-		if(totInfo.yoyTotOrdAmt == 0) totInfo.yoyTotOrdAmt = 1;
 		totInfo.yoyRate = (totInfo.totAmt / totInfo.yoyTotOrdAmt * 100 - 100).toFixed(1);
 
 		gagaAgGrid.setPinnedRowData(gridOptions, totInfo, 'top');
@@ -368,8 +365,6 @@
 		// Create a agGrid
 		gagaAgGrid.createGrid('gridList', gridOptions);
 
-		//조회
-		$('#btnSearch').click();
 	});
 /*]]>*/
 </script>

+ 0 - 2
src/main/webapp/WEB-INF/views/statistics/GoodsTradingForm.html

@@ -468,8 +468,6 @@
 		// Create a agGrid
 		gagaAgGrid.createGrid('gridList', gridOptions);
 
-		//조회
-		$('#btnSearch').click();
 	});
 /*]]>*/
 </script>