Browse Source

소스 복원

dwkim 2 years ago
parent
commit
98b5423837

+ 1 - 0
src/main/webapp/js/app/pomng/ITP_POMNG01010.js

@@ -5,6 +5,7 @@ require(['config'], function() {
5
 	});
5
 	});
6
 });
6
 });
7
 
7
 
8
+
8
 /********************************************************
9
 /********************************************************
9
  --------------------------------------------------------
10
  --------------------------------------------------------
10
  - Object 목록								            -
11
  - Object 목록								            -

+ 1 - 1
src/main/webapp/js/app/pomng/ITP_POMNG01010.js12

@@ -4,7 +4,7 @@ require(['config'], function() {
4
 		pageObj.init();
4
 		pageObj.init();
5
 	});
5
 	});
6
 });
6
 });
7
-
7
+   
8
 /********************************************************
8
 /********************************************************
9
  --------------------------------------------------------
9
  --------------------------------------------------------
10
  - Object 목록								            -
10
  - Object 목록								            -

+ 5 - 15
src/main/webapp/js/app/popup/biz/ITP_BIZPOP_WHS_LOCATION.js

@@ -40,23 +40,13 @@ function itp_fn_BIZPOP_WHS_LOCATION(parentPopFn, args, returnType) {
40
 		
40
 		
41
 		const rowKey = $(THIS_GIRD_ID).getGridParam('selrow');
41
 		const rowKey = $(THIS_GIRD_ID).getGridParam('selrow');
42
 	    if (!rowKey) {
42
 	    if (!rowKey) {
43
-	    	return;
43
+	    	return; 
44
 	    }
44
 	    }
45
-
46
-		var list = [];
47
-	    var selectedIds = $(THIS_GIRD_ID).getGridParam('selarrrow');
48
-		
49
-		/*
50
-		if(selectedIds.length != 1) { // 1개만 선택
51
-			 itp_fn_modal_alert('하나의 창고만 선택해주세요!');
52
-			 return;
53
-		}
54
-		*/
45
+	
46
+		const selRow = $(THIS_GIRD_ID).getRowData(rowKey);
47
+		parentPopFn(selRow);
55
 		
48
 		
56
-	    for (var i=selectedIds.length-1; i>=0; i--) {
57
-			list.push($(THIS_GIRD_ID).jqGrid('getRowData', selectedIds[i]));	
58
-		}
59
-		parentPopFn(list);
49
+	
60
 		$('#ITP_BIZPOP_WHS_LOCATION').modal('hide'); // 팝업닫기
50
 		$('#ITP_BIZPOP_WHS_LOCATION').modal('hide'); // 팝업닫기
61
 	});
51
 	});
62
 
52