Browse Source

반품현황

marseyes 2 years ago
parent
commit
c8d59ac382

+ 13 - 10
src/main/webapp/app/rtnmng/RTNMNG06010.html

@@ -15,7 +15,9 @@
15
 								<form id="ITP_FORM_RTNMNG06010_SEARCH" class="form-horizontal">
15
 								<form id="ITP_FORM_RTNMNG06010_SEARCH" class="form-horizontal">
16
 									<input type="hidden" id="ITP_FORM_RTNMNG06010_SEARCH_SBRAND_ID" name="sbrandId" value="">
16
 									<input type="hidden" id="ITP_FORM_RTNMNG06010_SEARCH_SBRAND_ID" name="sbrandId" value="">
17
 									<input type="hidden" id="ITP_FORM_RTNMNG06010_SEARCH_SSTORE_ID" name="sstoreId" value="">
17
 									<input type="hidden" id="ITP_FORM_RTNMNG06010_SEARCH_SSTORE_ID" name="sstoreId" value="">
18
-									<input type="hidden" id="ITP_FORM_RTNMNG06010_SEARCH_SSPPLY_ID" name="sspplyId" value="">	<!-- 공급업체 -->
18
+									<input type="hidden" id="ITP_FORM_RTNMNG06010_SEARCH_SSPPLY_ID" name="sspplyId" value="">		<!-- 공급업체 -->
19
+									<input type="hidden" id="ITP_FORM_RTNMNG06010_SEARCH_SRTN_WHS_ID" name="srtnWhsId" value="">	<!-- 수거창고 -->
20
+									<input type="hidden" id="ITP_FORM_RTNMNG06010_SEARCH_SWHS_ID" name="swhsId" value="">			<!-- 반품입고창고 -->
19
 								
21
 								
20
 									<div class="form-group">
22
 									<div class="form-group">
21
 										<div class="col-xs-1 itp_ip itp_noMar" style="width:10.7%;">
23
 										<div class="col-xs-1 itp_ip itp_noMar" style="width:10.7%;">
@@ -31,26 +33,27 @@
31
 											</div>
33
 											</div>
32
 										</div>
34
 										</div>
33
 										<div class="col-xs-2 itp_ip itp_noMar">
35
 										<div class="col-xs-2 itp_ip itp_noMar">
34
-											
35
-										</div>
36
-										<div class="col-xs-5 itp_ip itp_noMar">
37
-											
36
+											<input type="text" id="ITP_FORM_RTNMNG06010_SEARCH_SWHS_NM" class="form-control itp_input" placeholder="반품입고창고" readonly="readonly" />
38
 										</div>
37
 										</div>
38
+										<div class="col-xs-1 itp_in" style="width:11%; padding:0px;">
39
+											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_POP_SWHS_NM" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
40
+											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_DEL_SWHS_NM" class="btn btn-primary btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
41
+						                </div>
39
 									</div>
42
 									</div>
40
 									<div class="form-group" style="padding-top: 10px; border-top: 1px dotted #ccc;">
43
 									<div class="form-group" style="padding-top: 10px; border-top: 1px dotted #ccc;">
41
 										<div class="col-xs-2 itp_ip itp_noMar">
44
 										<div class="col-xs-2 itp_ip itp_noMar">
42
-											<input type="text" id="ITP_FORM_RTNMNG06010_SEARCH_SSPPLY_NM" class="form-control itp_input" placeholder="공급업체" />
45
+											<input type="text" id="ITP_FORM_RTNMNG06010_SEARCH_SSPPLY_NM" class="form-control itp_input" placeholder="공급업체" readonly="readonly" />
43
 										</div>
46
 										</div>
44
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
47
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
45
 											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_POP_SSPPLY_NM" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
48
 											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_POP_SSPPLY_NM" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
46
-											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_DEL_SSPPLY_NM" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
49
+											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_DEL_SSPPLY_NM" class="btn btn-primary btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
47
 						                </div>
50
 						                </div>
48
 										<div class="col-xs-2 itp_ip itp_noMar">
51
 										<div class="col-xs-2 itp_ip itp_noMar">
49
-											<input type="text" id="ITP_FORM_RTNMNG06010_SEARCH_STORE_NM" class="form-control itp_input" name="sStoreNm" placeholder="매장/창고" />
52
+											<input type="text" id="ITP_FORM_RTNMNG06010_SEARCH_SRTN_WHS_NM" class="form-control itp_input" placeholder="매장/창고" readonly="readonly" />
50
 										</div>
53
 										</div>
51
 										<div class="col-xs-1 itp_in" style="width:11%; padding:0px;">
54
 										<div class="col-xs-1 itp_in" style="width:11%; padding:0px;">
52
-											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
53
-											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_MODIFY" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
55
+											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_POP_SRTN_WHS_NM" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
56
+											<button type="button" id="ITP_BTN_RTNMNG06010_SEARCH_DEL_SRTN_WHS_NM" class="btn btn-primary btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
54
 						                </div>
57
 						                </div>
55
 										<div class="col-xs-5 itp_ip itp_noMar">
58
 										<div class="col-xs-5 itp_ip itp_noMar">
56
 											<input type="text" id="ITP_FORM_RTNMNG06010_SEARCH_ITEM_NM" class="form-control itp_input" name="sItemNm" placeholder="품목번호 or 품목명" />
59
 											<input type="text" id="ITP_FORM_RTNMNG06010_SEARCH_ITEM_NM" class="form-control itp_input" name="sItemNm" placeholder="품목번호 or 품목명" />

+ 78 - 104
src/main/webapp/js/app/rtnmng/ITP_RTNMNG06010.js

@@ -24,109 +24,87 @@ const gridColModel = {
24
 			sortable: false, hidden: true
24
 			sortable: false, hidden: true
25
 		},
25
 		},
26
 		{
26
 		{
27
-			index: 'PCH_PODR_UNQ_NO', name: 'pchPodrUnqNo',
28
-			label: ITP_MSG_LOCALE.label.pchPodrUnqNo, 		// 발주번호
27
+			index: 'BRAND_NM', name: 'brandNm',
28
+			label: '브랜드', 
29
 			width: '10', fixed: false, align: 'center',
29
 			width: '10', fixed: false, align: 'center',
30
 			sortable: false, hidden: false
30
 			sortable: false, hidden: false
31
 		},
31
 		},
32
 		{
32
 		{
33
-			index: 'PCH_PODR_DTL_NO', name: 'pchPodrDtlNo',
34
-			label: ITP_MSG_LOCALE.label.pchPodrDtlNo, 		// 발주항번
35
-			width: '5', fixed: false, align: 'center',
36
-			sortable: false, hidden: false
37
-		},
38
-		{
39
-			index: 'DLV_STTMT_UNQ_NO', name: 'dlvSttmtUnqNo',
40
-			label: ITP_MSG_LOCALE.label.dlvSttmtUnqNo, 		// 납품번호
33
+			index: 'RTN_PODR_UNQ_NO', name: 'rtnPodrUnqNo',
34
+			label: '반품발주번호', 
41
 			width: '10', fixed: false, align: 'center',
35
 			width: '10', fixed: false, align: 'center',
42
 			sortable: false, hidden: false
36
 			sortable: false, hidden: false
43
 		},
37
 		},
44
 		{
38
 		{
45
-			index: 'DLV_STTMT_DTL_NO', name: 'dlvSttmtDtlNo',
46
-			label: ITP_MSG_LOCALE.label.dlvSttmtDtlNo, 		// 납품항번
47
-			width: '5', fixed: false, align: 'center',
48
-			sortable: false, hidden: false
49
-		},
50
-		{
51
-			index: 'PODR_QTY', name: 'podrQty',
52
-			label: ITP_MSG_LOCALE.label.podrQty, 			// 발주수량
39
+			index: 'RTN_PODR_DTL_NO', name: 'rtnPodrDtlNo',
40
+			label: '항번', 
53
 			width: '5', fixed: false, align: 'center',
41
 			width: '5', fixed: false, align: 'center',
54
 			sortable: false, hidden: false
42
 			sortable: false, hidden: false
55
 		},
43
 		},
56
 		{
44
 		{
57
-			index: 'DLV_QTY', name: 'dlvQty',
58
-			label: ITP_MSG_LOCALE.label.dlvQty, 			// 납품수량
59
-			width: '5', fixed: false, align: 'center',
60
-			sortable: false, hidden: false
61
-		},
62
-		{
63
-			index: 'WHS_QTY', name: 'whsQty',
64
-			label: ITP_MSG_LOCALE.label.whsQty, 			// 입고수량
65
-			width: '5', fixed: false, align: 'center',
66
-			sortable: false, hidden: false
67
-		},
68
-		{
69
-			index: 'DIV_REQ_DT', name: 'dlvReqDt',
70
-			label: ITP_MSG_LOCALE.label.dlvReqDt, 			// 납품요청일
45
+			index: 'ITEM_ID', name: 'itemId',
46
+			label: ITP_MSG_LOCALE.label.itemId, 			// 품목번호
71
 			width: '8', fixed: false, align: 'center',
47
 			width: '8', fixed: false, align: 'center',
72
 			sortable: false, hidden: false
48
 			sortable: false, hidden: false
73
 		},
49
 		},
74
-		
75
 		{
50
 		{
76
-			index: 'DLV_SCH_DT', name: 'dlvSchDt',
77
-			label: ITP_MSG_LOCALE.label.dlvSchDt, 			// 납품예정일
51
+			index: 'ITEM_NM', name: 'itemNm',
52
+			label: ITP_MSG_LOCALE.label.itemNm, 			// 품목명
78
 			width: '8', fixed: false, align: 'center',
53
 			width: '8', fixed: false, align: 'center',
79
 			sortable: false, hidden: false
54
 			sortable: false, hidden: false
80
 		},
55
 		},
81
 		{
56
 		{
82
-			index: 'DLV_CMPLT_DT', name: 'dlvCmpltDt',
83
-			label: ITP_MSG_LOCALE.label.dlvCmpltDt, 		// 납품일자
84
-			width: '8', fixed: false, align: 'center',
85
-			sortable: false, hidden: false
57
+			index: 'RODR_QTY', name: 'rodrQty',
58
+			label: '반품발주수량', 
59
+			width: '5', fixed: false, align: 'center',
60
+			sortable: false, hidden: false, 
61
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
86
 		},
62
 		},
87
 		{
63
 		{
88
-			index: 'WHS_CNFM_NM', name: 'whsCnfmNm',
89
-			label: ITP_MSG_LOCALE.label.whsCnfmNm, 			// 입고확인자
90
-			width: '8', fixed: false, align: 'center',
91
-			sortable: false, hidden: false
64
+			index: 'COL_REQ_QTY', name: 'colReqQty',
65
+			label: '수거요청수량', 
66
+			width: '5', fixed: false, align: 'center',
67
+			sortable: false, hidden: false, 
68
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
92
 		},
69
 		},
93
 		{
70
 		{
94
-			index: 'DLV_MGR_NM', name: 'dlvMgrNm',
95
-			label: ITP_MSG_LOCALE.label.dlvMgrNm, 			// 납품자명
96
-			width: '8', fixed: false, align: 'center',
97
-			sortable: false, hidden: false
71
+			index: 'COL_QTY', name: 'colQty',
72
+			label: '수거수량', 
73
+			width: '5', fixed: false, align: 'center',
74
+			sortable: false, hidden: false, 
75
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
98
 		},
76
 		},
99
 		{
77
 		{
100
-			index: 'DLV_MGR_TEL_NO', name: 'dlvMgrTelNo',
101
-			label: ITP_MSG_LOCALE.label.dlvMgrTelNo, 		// 납품자전화번호
78
+			index: 'COL_AMT', name: 'colAmt',
79
+			label: '수거금액', 
102
 			width: '8', fixed: false, align: 'center',
80
 			width: '8', fixed: false, align: 'center',
81
+			sortable: false, hidden: false,
82
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
83
+		}, 
84
+		{
85
+			index: 'RTN_WHS_NM', name: 'rtnWhsNm',
86
+			label: '수거창고', 
87
+			width: '10', fixed: false, align: 'center',
103
 			sortable: false, hidden: false
88
 			sortable: false, hidden: false
104
 		},
89
 		},
105
 		{
90
 		{
106
-			index: 'ITEM_ID', name: 'itemId',
107
-			label: ITP_MSG_LOCALE.label.itemId, 			// 품목번호
91
+			index: 'COL_SCH_DT', name: 'colSchDt',
92
+			label: '수거예정일', 
108
 			width: '8', fixed: false, align: 'center',
93
 			width: '8', fixed: false, align: 'center',
109
 			sortable: false, hidden: false
94
 			sortable: false, hidden: false
110
 		},
95
 		},
111
 		{
96
 		{
112
-			index: 'ITEM_NM', name: 'itemNm',
113
-			label: ITP_MSG_LOCALE.label.itemNm, 			// 품목명
97
+			index: 'PICK_MGR_NM', name: 'pickMgrNm',
98
+			label: '수거담당자명', 
114
 			width: '8', fixed: false, align: 'center',
99
 			width: '8', fixed: false, align: 'center',
115
 			sortable: false, hidden: false
100
 			sortable: false, hidden: false
116
 		},
101
 		},
117
 		{
102
 		{
118
-			index: 'UNIT', name: 'unit',
119
-			label: ITP_MSG_LOCALE.label.unit, 				// 기본단위
120
-			width: '5', fixed: false, align: 'center',
103
+			index: 'PICK_MGR_TEL_NO', name: 'pickMgrTelNo',
104
+			label: '수거담당자전화번호', 
105
+			width: '10', fixed: false, align: 'center',
121
 			sortable: false, hidden: false
106
 			sortable: false, hidden: false
122
-		},
123
-		{
124
-			index: 'WHS_AMT', name: 'whsAmt',
125
-			label: ITP_MSG_LOCALE.label.whsAmt, 			// 입고금액
126
-			width: '8', fixed: false, align: 'center',
127
-			sortable: false, hidden: false,
128
-			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
129
-		}
107
+		}		
130
 	],
108
 	],
131
 	view: [],
109
 	view: [],
132
 	detail: []
110
 	detail: []
@@ -213,7 +191,6 @@ let pageObj = {
213
     }
191
     }
214
 }
192
 }
215
 
193
 
216
-
217
 /*목록화면 Object*/
194
 /*목록화면 Object*/
218
 let listObj = {
195
 let listObj = {
219
 	init: function() {
196
 	init: function() {
@@ -275,18 +252,6 @@ let listObj = {
275
             	url: DOMAIN + API_POMNG_INOUTMNG_WAREHOUSE_GRID_LIST,
252
             	url: DOMAIN + API_POMNG_INOUTMNG_WAREHOUSE_GRID_LIST,
276
             	pager: RTNMNG06010_GRID_PAGER,
253
             	pager: RTNMNG06010_GRID_PAGER,
277
             	rownumbers: false,
254
             	rownumbers: false,
278
-            	/*onCellSelect: function(rowId, cellIdx, cellValue) {
279
-                    var cm = $(this).jqGrid('getGridParam', 'colModel');
280
-                    var colNm = cm[cellIdx].name;
281
-                    if (colNm === 'pchPodrUnqNo') {
282
-                        const pchPodrUnqNoVal = $(this).jqGrid('getCell', rowId, 'pchPodrUnqNo');
283
-                        const brandIdVal = $(this).jqGrid('getCell', rowId, 'brandId');
284
-                        const spplyIdVal = LOGIN_USER_INFO.spplyId;
285
-                        const key = {pchPodrUnqNo: pchPodrUnqNoVal, brandId: brandIdVal, spplyId: spplyIdVal};
286
-                        var param = $.param(key);
287
-                        viewObj.init(param);
288
-                    }
289
-				},*/
290
 				loadComplete: function(data) {
255
 				loadComplete: function(data) {
291
 					console.log(data);
256
 					console.log(data);
292
                     itp_fn_grid_load_complete(data, RTNMNG06010_GRID_ID, true, 'number', 'RTNMNG06010', listObj.itp_RTNMNG06010_search, listObj.empty, true, data.gridRecords, true);
257
                     itp_fn_grid_load_complete(data, RTNMNG06010_GRID_ID, true, 'number', 'RTNMNG06010', listObj.itp_RTNMNG06010_search, listObj.empty, true, data.gridRecords, true);
@@ -314,53 +279,62 @@ let listObj = {
314
 	action: function() {
279
 	action: function() {
315
 		var _this = this;
280
 		var _this = this;
316
 		// 공급업체 조회 버튼 클릭
281
 		// 공급업체 조회 버튼 클릭
317
-		$('#ITP_BTN_RTNMNG06010_SEARCH_SPPLY_ID').on('click', function() {
282
+		$('#ITP_BTN_RTNMNG06010_SEARCH_POP_SSPPLY_NM').on('click', function() {
318
 			_this.popup('spply');
283
 			_this.popup('spply');
319
 		});
284
 		});
320
 		// 공급업체 텍스트 삭제 버튼 클릭
285
 		// 공급업체 텍스트 삭제 버튼 클릭
321
-		$('#ITP_BTN_RTNMNG06010_DELETE_SPPLY_ID').on('click', function() {
322
-			$('#ITP_FORM_RTNMNG06010_DETAIL_SPPLY_NM').val('');
323
-			$('#ITP_FORM_RTNMNG06010_DETAIL_SPPLY_ID').val('');
286
+		$('#ITP_BTN_RTNMNG06010_SEARCH_DEL_SSPPLY_NM').on('click', function() {
287
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SSPPLY_NM').val('');
288
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SSPPLY_ID').val('');
324
 		});
289
 		});
325
 		
290
 		
326
 		// 매장/창고 조회 버튼 클릭
291
 		// 매장/창고 조회 버튼 클릭
327
-		$('#ITP_BTN_RTNMNG06010_SEARCH_WHS_ID').on('click', function() {
292
+		$('#ITP_BTN_RTNMNG06010_SEARCH_POP_SWHS_NM').on('click', function() {
328
 			_this.popup('whs');
293
 			_this.popup('whs');
329
 		});
294
 		});
330
 		// 매장/창고 텍스트 삭제 버튼 클릭
295
 		// 매장/창고 텍스트 삭제 버튼 클릭
331
-		$('#ITP_BTN_RTNMNG06010_DELETE_WHS_ID').on('click', function() {
332
-			$('#ITP_FORM_RTNMNG06010_DETAIL_WHS_NM').val('');
333
-			$('#ITP_FORM_RTNMNG06010_DETAIL_WHS_ID').val('');
296
+		$('#ITP_BTN_RTNMNG06010_SEARCH_DEL_SWHS_NM').on('click', function() {
297
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SWHS_NM').val('');
298
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SWHS_ID').val('');
299
+		});
300
+		
301
+		// 매장/창고 조회 버튼 클릭
302
+		$('#ITP_BTN_RTNMNG06010_SEARCH_POP_SRTN_WHS_NM').on('click', function() {
303
+			_this.popup('rwhs');
304
+		});
305
+		// 매장/창고 텍스트 삭제 버튼 클릭
306
+		$('#ITP_BTN_RTNMNG06010_SEARCH_DEL_SRTN_WHS_NM').on('click', function() {
307
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SRTN_WHS_NM').val('');
308
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SRTN_WHS_ID').val('');
334
 		});
309
 		});
335
 	},
310
 	},
336
-	popup: function(keyword) {
337
-		var popFn = this.callback.create;
338
-		 
311
+	popup: function(keyword) {		 
339
 		if(keyword === 'spply'){
312
 		if(keyword === 'spply'){
313
+			var popFn = this.callback.supply;			
340
 			const key = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId')};
314
 			const key = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId')};
341
 			fn_call_popup('biz', 'BIZPOP_STORE_SPPLY', '#ITP_ASIDE', popFn, key, 'S');
315
 			fn_call_popup('biz', 'BIZPOP_STORE_SPPLY', '#ITP_ASIDE', popFn, key, 'S');
342
 		} else if(keyword === 'whs'){
316
 		} else if(keyword === 'whs'){
317
+			var popFn = this.callback.whs;
318
+			const key1 = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId'), whsDvsn:""};
319
+			fn_call_popup('biz', 'BIZPOP_WHS_LOCATION', '#ITP_ASIDE', popFn, key1, 'S');
320
+		} else if(keyword === 'rwhs'){
321
+			var popFn = this.callback.rwhs;
343
 			const key1 = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId'), whsDvsn:""};
322
 			const key1 = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId'), whsDvsn:""};
344
 			fn_call_popup('biz', 'BIZPOP_WHS_LOCATION', '#ITP_ASIDE', popFn, key1, 'S');
323
 			fn_call_popup('biz', 'BIZPOP_WHS_LOCATION', '#ITP_ASIDE', popFn, key1, 'S');
345
 		}
324
 		}
346
 	},
325
 	},
347
 	callback: {
326
 	callback: {
348
-		create: function(rowDataPop) {
349
-			console.log(rowDataPop);
350
-			console.log(Array.isArray(rowDataPop));
351
-			if(rowDataPop.hasOwnProperty('whsId') == false) {
352
-				console.log(rowDataPop.spplyId);
353
-				$('#ITP_FORM_RTNMNG06010_DETAIL_SPPLY_NM').val(rowDataPop.spplyNm);
354
-				$('#ITP_FORM_RTNMNG06010_DETAIL_SPPLY_ID').val(rowDataPop.spplyId);
355
-				//console.log(rowDataPop[0].storeId);
356
-				//$('#ITP_FORM_RTNMNG06010_DETAIL_STORE_NM').val(rowDataPop[0].storeNm);
357
-				//$('#ITP_FORM_RTNMNG06010_DETAIL_STORE_ID').val(rowDataPop[0].storeId);
358
-			} else {
359
-				console.log(rowDataPop);
360
-				console.log(rowDataPop.whsId);
361
-				$('#ITP_FORM_RTNMNG06010_DETAIL_WHS_NM').val(rowDataPop.whsNm);
362
-				$('#ITP_FORM_RTNMNG06010_DETAIL_WHS_ID').val(rowDataPop.whsId);
363
-			}
327
+		supply: function(rowDataPop) {
328
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SSPPLY_NM').val(rowDataPop.spplyNm);
329
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SSPPLY_ID').val(rowDataPop.spplyId);
330
+		},
331
+		whs: function(rowDataPop) {
332
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SWHS_NM').val(rowDataPop.whsNm);
333
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SWHS_ID').val(rowDataPop.whsId);
334
+		}, 
335
+		rwhs: function(rowDataPop) {
336
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SRTN_WHS_NM').val(rowDataPop.whsNm);
337
+			$('#ITP_FORM_RTNMNG06010_SEARCH_SRTN_WHS_ID').val(rowDataPop.whsId);
364
 		}
338
 		}
365
 	}
339
 	}
366
 }
340
 }