Browse Source

협력업체관리 날짜 수정

DESKTOP-HMLPH8S\kim 2 years ago
parent
commit
867e5f2eab
1 changed files with 2 additions and 7 deletions
  1. 2 7
      src/main/webapp/ux/cs/cs0001/CS00010001P.xml

+ 2 - 7
src/main/webapp/ux/cs/cs0001/CS00010001P.xml

@@ -153,13 +153,8 @@
      ***************************************************************************/
     scwin.initScreen = function() {
 
-        var year = WebSquare.date.getCurrentServerDate("yyyy");
-    	var month = WebSquare.date.getCurrentServerDate("MM");
-    	var day = WebSquare.date.getCurrentServerDate("dd");
-    	var from = WebSquare.date.getFormattedDate(new Date(year, month-1, day), "yyyyMMdd");
-    	var to = WebSquare.date.getFormattedDate(new Date(year, month, 0), "yyyyMMdd");
-		to6 = WebSquare.date.getFormattedDate(new Date(year, (month - 1) + 6 , day), "yyyyMMdd");
-
+		to6 = dateLib.addMonths(dateLib.getCurrentDate('yyyyMMdd'), 6);
+		
     	param = popupLib.getPopupParam();
     	
         var param_data = JSON.parse(strLib.serialize(param));