Browse Source

모바일 수거관리 스크립트 생성

juney 2 years ago
parent
commit
6a8efa74f8

+ 61 - 21
src/main/webapp/mobile/app/mcollmng/MCOLLMNG01010.html

@@ -1,24 +1,28 @@
1
 <section id="ITP_MOBILE_MCOLLMNG01010">
1
 <section id="ITP_MOBILE_MCOLLMNG01010">
2
 	<div id="ITP_AJAX_MCOLLMNG01010_LIST_CONTAINER" style="display: none;">
2
 	<div id="ITP_AJAX_MCOLLMNG01010_LIST_CONTAINER" style="display: none;">
3
-	  <form id="ITP_FORM_MCOLLMNG01010_LIST" class="form-horizontal" onsubmit="return false;">
3
+	  <form id="ITP_FORM_MCOLLMNG03010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
4
 		<input type="hidden" id="ITP_FORM_MCOLLMNG01010_LIST_VIEW_CD" name="viewCd" value="C">
4
 		<input type="hidden" id="ITP_FORM_MCOLLMNG01010_LIST_VIEW_CD" name="viewCd" value="C">
5
+		  <input type="hidden" id="ITP_FORM_MCOLLMNG03010_SEARCH_BRAND_ID" name="sbrandId" value="">
6
+		  <input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_STORE_ID" name="sstoreId" value="">
7
+		  <input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
8
+		  <input type="hidden" id="ITP_FORM_ORDMNG01010_LIST_SEARCH_IDX" name="sidx" value="0">
5
 		  <div class="content">
9
 		  <div class="content">
6
 			<div class="line">
10
 			<div class="line">
7
 			  <label>수거장소</label>
11
 			  <label>수거장소</label>
8
 			  <div class="search_wrap">
12
 			  <div class="search_wrap">
9
 				  <div class="float_left">
13
 				  <div class="float_left">
10
-					<input id="ITP_FORM_MCOLLMNG01010_LIST_COL_PLACE" name="colPlace" type="text" placeholder="A매장명">
14
+					<input id="ITP_FORM_MCOLLMNG01010_LIST_COL_PLACE" name="scolPlace" type="text" placeholder="A매장명">
11
 				  </div>
15
 				  </div>
12
 				  <div class="float_left_btn">
16
 				  <div class="float_left_btn">
13
-					<button id="ITP_BTN_MCOLLMNG01010_LIST_SEARCH_COL_PLACE" data-call-popup="ITP_POP_MCOLLMNG01010_COL_AREA"><img src="../img/search.png" alt=""></button>
14
-					<button id="ITP_BTN_MCOLLMNG01010_LIST_DETELE_COL_PLACE"><img src="../img/delete.png" alt=""></button>
17
+					<button id="ITP_BTN_MCOLLMNG01010_LIST_SEARCH_WHS_NM"><img src="../img/search.png" alt=""></button>
18
+					<button id="ITP_BTN_MCOLLMNG01010_LIST_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
15
 				  </div>	
19
 				  </div>	
16
 			  </div>
20
 			  </div>
17
 			</div>
21
 			</div>
18
 			<div class="line">
22
 			<div class="line">
19
 			  <label>수거상태</label>
23
 			  <label>수거상태</label>
20
 			  <div class="line_right">
24
 			  <div class="line_right">
21
-				<select name="colStCd" id="ITP_FORM_MCOLLMNG01010_LIST_COL_ST_CD">
25
+				<select name="colStCd" id="ITP_FORM_MCOLLMNG01010_LIST_COL_ST_CD" data-select-code="COL_ST_CD">
22
 				  <option value=""></option>
26
 				  <option value=""></option>
23
 				</select>
27
 				</select>
24
 			  </div>
28
 			  </div>
@@ -26,17 +30,15 @@
26
 			<div class="line">
30
 			<div class="line">
27
 			  <label>수거일자</label>
31
 			  <label>수거일자</label>
28
 			  <div class="date_to">
32
 			  <div class="date_to">
29
-				<input id="ITP_FORM_MCOLLMNG01010_LIST_COL_FORM_DT" name="colFormDt" class="year" type="date">
30
-				<div class="at">~</div>
31
-				<input id="ITP_FORM_MCOLLMNG01010_LIST_COL_TO_DT" name="colToDt" class="year" type="date">
33
+				  <input id="ITP_FORM_MCOLLMNG01010_LIST_SEARCH_FROM_DT" name="fromDt" class="year" type="date">
34
+				  <div class="at">~</div>
35
+				  <input id="ITP_FORM_MCOLLMNG01010_LIST_SEARCH_TO_DT" name="toDt" class="year" type="date">
32
 			  </div>
36
 			  </div>
33
 			</div>
37
 			</div>
34
 			<div class="line">
38
 			<div class="line">
35
-			  <select class="label" name="itemNm" id="ITP_FORM_MCOLLMNG01010_LIST_ITEM_NM">
36
-				<option value="">발주번호/품목명</option>
37
-			  </select>
39
+				<label>발주번호/품목번호/품목명</label>
38
 			  <div class="search_wrap">
40
 			  <div class="search_wrap">
39
-				<input id="ITP_FORM_MCOLLMNG01010_LIST_ITEM_NM" name="itemNm" style="width: 262px;" type="text" placeholder="검색어입력">
41
+				  <input id="ITP_FORM_MCOLLMNG01010_LIST_SEARCH_ITEM_NM" name="sitemNm" style="width: 262px;" type="text" placeholder="검색어입력">
40
 			  </div>
42
 			  </div>
41
 			</div>
43
 			</div>
42
 			<div class="line" style="height:50px;">
44
 			<div class="line" style="height:50px;">
@@ -48,10 +50,10 @@
48
 			  <h1>> 수거수주 내역</h1>
50
 			  <h1>> 수거수주 내역</h1>
49
 			</div>
51
 			</div>
50
 		  </div>
52
 		  </div>
51
-			<div id="ITP_LIST_MCOLLMNG01010_ITEM_AREA" class="scroll_area row-3">
52
-			  <ul id="ITP_LIST_MCOLLMNG01010_LIST_ROWS" class="panel-group"></ul>
53
-			  <div id="ITP_LIST_MCOLLMNG01010_LIST_ROWCOPY" style="display:none;">
54
-				<li class="history_list">
53
+			<div id="ITP_LIST_MCOLLMNG01010_LIST_ITEM_AREA" class="scroll_area row-3">
54
+			  <ul id="ITP_LIST_MCOLLMNG01010_LIST_ITEM_ROWS" class="panel-group"></ul>
55
+			  <div id="ITP_LIST_MCOLLMNG01010_LIST_ITEM_ROWCOPY" style="display:none;">
56
+				<li class="history_list list-row">
55
 				  <div>
57
 				  <div>
56
 					<div class="left">
58
 					<div class="left">
57
 					  <div class="nomal">
59
 					  <div class="nomal">
@@ -157,10 +159,10 @@
157
 			  <h1>> 수거수주 상세 내역</h1>
159
 			  <h1>> 수거수주 상세 내역</h1>
158
 			</div>
160
 			</div>
159
 		  </div>
161
 		  </div>
160
-			<div id="ITP_LIST_MCOLLMNG01010_ITEM_AREA" class="scroll_area row-5">
161
-			  <ul id="ITP_LIST_MCOLLMNG01010_VIEW_ROWS" class="panel-group"></ul>
162
-			  <div id="ITP_LIST_MCOLLMNG01010_VIEW_ROWCOPY" style="display: none;">
163
-				<li class="history_list2">
162
+			<div id="ITP_LIST_MCOLLMNG01010_VIEW_ITEM_AREA" class="scroll_area row-5">
163
+			  <ul id="ITP_LIST_MCOLLMNG01010_VIEW_ITEM_ROWS" class="panel-group"></ul>
164
+			  <div id="ITP_LIST_MCOLLMNG01010_VIEW_ITEM_ROWCOPY" style="display: none;">
165
+				<li class="history_list2 list-row">
164
 				  <div>
166
 				  <div>
165
 					<div class="left">
167
 					<div class="left">
166
 					  <div class="nomal">
168
 					  <div class="nomal">
@@ -223,8 +225,46 @@
223
 			</div>
225
 			</div>
224
 		  </div>
226
 		  </div>
225
 		  <div class="button_bar">
227
 		  <div class="button_bar">
226
-			<button id="ITP_BTN_MCOLLMNG01010_VIEW_CANCEL" class="col_12 btn-gray CLB">취소</button>
228
+			<button id="ITP_BTN_MCOLLMNG03010_VIEW_CANCEL_LIST" class="col_12 btn-gray CLB">취소</button>
227
 		  </div>
229
 		  </div>
228
 	  </form>
230
 	  </form>
229
 	</div>
231
 	</div>
232
+	<div id="ITP_MOBILE_JS"></div>
233
+	<div id="ITP_POP_MCOLLMNG03010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
234
+		<div class="pop">
235
+			<div class="header">
236
+				<div class="header_left">
237
+					<label>> 납품장소</label>
238
+				</div>
239
+				<div class="header_right">
240
+					<button type="button" id="ITP_BTN_MCOLLMNG03010_POP_WHS_CLOSE" class="btn-pop-close"><img src="../img/close.png"></button>
241
+				</div>
242
+			</div>
243
+			<div class="search_bar">
244
+				<form id="ITP_FORM_MCOLLMNG03010_POP_WHS" class="form-horizontal" onsubmit="return false;">
245
+					<input type="hidden" id="ITP_FORM_MCOLLMNG03010_WHS_ITEM_BRAND_ID" name="sbrandId" value="">
246
+					<input type="hidden" id="ITP_FORM_MCOLLMNG03010_WHS_ITEM_STORE_ID" name="sstoreId" value="">
247
+					<input id="ITP_FORM_MCOLLMNG03010_POP_WHS_KEYWORD" type="text" name="swhsNm" placeholder="납품장소명">
248
+					<button id="ITP_BTN_MCOLLMNG03010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
249
+				</form>
250
+			</div>
251
+			<div class="search_bar">
252
+				<button id="ITP_BTN_MCOLLMNG03010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
253
+			</div>
254
+			<div id="ITP_LIST_MCOLLMNG03010_POP_WHS_AREA" class="popup_scroll">
255
+				<ul id="ITP_LIST_MCOLLMNG03010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
256
+				<div id="ITP_LIST_MCOLLMNG03010_POP_WHS_ROWCOPY" style="display:none;">
257
+					<li class="list-row">
258
+						<div class="scroll_left">
259
+							<div class="fnWhsNm">브랜드 창고 명A</div>
260
+							<div class="fnLocationNm">(상세위치내용)</div>
261
+						</div>
262
+						<div class="scroll_right">
263
+							<button id="ITP_BTN_MCOLLMNG03010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
264
+						</div>
265
+					</li>
266
+				</div>
267
+			</div>
268
+		</div>
269
+	</div>
230
   </section>
270
   </section>

+ 31 - 29
src/main/webapp/mobile/app/mcollmng/MCOLLMNG02010.html

@@ -1,32 +1,34 @@
1
 <section id="ITP_MOBILE_MCOLLMNG02010">
1
 <section id="ITP_MOBILE_MCOLLMNG02010">
2
 	<div id="ITP_AJAX_MCOLLMNG02010_LIST_CONTAINER" style="display: none;">
2
 	<div id="ITP_AJAX_MCOLLMNG02010_LIST_CONTAINER" style="display: none;">
3
-		<form id="ITP_FORM_MCOLLMNG02010_LIST" class="form-horizontal" onsubmit="return false;">
3
+		<form id="ITP_FORM_MCOLLMNG02010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
4
 		<input type="hidden" id="ITP_FORM_MCOLLMNG02010_LIST_VIEW_CD" name="viewCd" value="C">
4
 		<input type="hidden" id="ITP_FORM_MCOLLMNG02010_LIST_VIEW_CD" name="viewCd" value="C">
5
+			<input type="hidden" id="ITP_FORM_MCOLLMNG02010_SEARCH_BRAND_ID" name="sbrandId" value="">
6
+			<input type="hidden" id="ITP_FORM_MCOLLMNG02010_SEARCH_STORE_ID" name="sstoreId" value="">
7
+			<input type="hidden" id="ITP_FORM_MCOLLMNG02010_SEARCH_SPPLY_ID" name="sspplyId" value="">
5
 		  <div class="content">
8
 		  <div class="content">
6
 		   <div class="line">
9
 		   <div class="line">
7
 			  <label>수거장소</label>
10
 			  <label>수거장소</label>
8
-			  <div class="search_wrap">
9
-				  <div class="float_left">
10
-					<input id="ITP_FORM_MCOLLMNG02010_LIST_COL_PLACE" name="colPlace" type="text" placeholder="A매장명">
11
-				  </div>
12
-				  <div class="float_left_btn">
13
-					<button id="ITP_BTN_MCOLLMNG02010_LIST_SEARCH_COL_PLACE" data-call-popup="ITP_POP_MCOLLMNG02010_COL_AREA"><img src="../img/search.png" alt=""></button>
14
-					<button id="ITP_BTN_MCOLLMNG02010_LIST_DETELE_COL_PLACE"><img src="../img/delete.png" alt=""></button>
15
-				  </div>	
16
-			  </div>
11
+			   <div class="search_wrap">
12
+				   <div class="float_left">
13
+					   <input id="ITP_FORM_MCOLLMNG02010_LIST_SEARCH_WHS_NM" name="swhsNm" type="text" placeholder="A매장명">
14
+					   <input type="hidden" id="ITP_FORM_MCOLLMNG02010_LIST_SEARCH_WHS_ID" class="form-control itp_input" name="swhsId"/>
15
+				   </div>
16
+				   <div class="float_left_btn">
17
+					   <button type="button" id="ITP_BTN_MCOLLMNG02010_LIST_SEARCH_WHS_NM"><img src="../img/search.png" alt=""></button>
18
+					   <button type="button" id="ITP_BTN_MCOLLMNG02010_LIST_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
19
+				   </div>
20
+			   </div>
17
 			</div>
21
 			</div>
18
 			<div class="line">
22
 			<div class="line">
19
 			  <label>수거요청일</label>
23
 			  <label>수거요청일</label>
20
-			  <div class="date_to">
21
-				<input id="ITP_FORM_MCOLLMNG02010_LIST_COL_REQ_DT" name="colReqDt" class="year" type="date">
22
-				<div class="at">~</div>
23
-				<input id="ITP_FORM_MCOLLMNG02010_LIST" class="year" type="date">
24
-			  </div>
24
+				<div class="date_to">
25
+					<input id="ITP_FORM_MCOLLMNG02010_LIST_SEARCH_FROM_DT" name="fromDt" class="year" type="date">
26
+					<div class="at">~</div>
27
+					<input id="ITP_FORM_MCOLLMNG02010_LIST_SEARCH_TO_DT" name="toDt" class="year" type="date">
28
+				</div>
25
 			</div>
29
 			</div>
26
 			<div class="line">
30
 			<div class="line">
27
-			  <select class="label" name="itemNm" id="ITP_FORM_MCOLLMNG02010_LIST_ITEM_NM">
28
-				<option value="">발주번호/품목명</option>
29
-			  </select>
31
+				<label>발주번호/품목명</label>
30
 			  <div class="search_wrap">
32
 			  <div class="search_wrap">
31
 				<input id="ITP_FORM_MCOLLMNG02010_LIST_ITEM_NM" name="ITEM_NM" style="width: 262px;" type="text" placeholder="검색어입력">
33
 				<input id="ITP_FORM_MCOLLMNG02010_LIST_ITEM_NM" name="ITEM_NM" style="width: 262px;" type="text" placeholder="검색어입력">
32
 			  </div>
34
 			  </div>
@@ -40,10 +42,10 @@
40
 			  <h1>> 수주 내역</h1>
42
 			  <h1>> 수주 내역</h1>
41
 			</div>
43
 			</div>
42
 		  </div>
44
 		  </div>
43
-		   <div id="ITP_LIST_MCOLLMNG02010_ITEM_AREA" class="scroll_area row-2">
44
-			  <ul id="ITP_LIST_MCOLLMNG02010_LIST_ROWS" class="panel-group"></ul>
45
-			  <div id="ITP_LIST_MCOLLMNG02010_LIST_ROWCOPY" style="display: block;">
46
-				<li class="history_list3">
45
+		   <div id="ITP_LIST_MCOLLMNG02010_LIST_ITEM_AREA" class="scroll_area row-2">
46
+			  <ul id="ITP_LIST_MCOLLMNG02010_LIST_ITEM_ROWS" class="panel-group"></ul>
47
+			  <div id="ITP_LIST_MCOLLMNG02010_LIST_ITEM_ROWCOPY" style="display: block;">
48
+				<li class="history_list3 list-row">
47
 				  <div>
49
 				  <div>
48
 					<div class="left">
50
 					<div class="left">
49
 					  <div class="nomal">
51
 					  <div class="nomal">
@@ -112,8 +114,8 @@
112
 				</li>
114
 				</li>
113
 			</div>
115
 			</div>
114
 			<div class="button_bar">
116
 			<div class="button_bar">
115
-			  <button id="ITP_BTN_MCOLLMNG02010_LIST" class="btn_col_6 btn-primary IVC">수거서생성</button>
116
-			  <button id="ITP_BTN_MCOLLMNG02010_LIST_CANCEL" class="btn_col_3 btn-gray CLB">취소</button>
117
+			  <button id="ITP_BTN_MCOLLMNG02010_LIST" class="btn_col_12 btn-primary IVC">수거서생성</button>
118
+			  <!--<button id="ITP_BTN_MCOLLMNG02010_LIST_CANCEL" class="btn_col_3 btn-gray CLB">취소</button>-->
117
 			</div>
119
 			</div>
118
 		  </div>
120
 		  </div>
119
 	  </form>
121
 	  </form>
@@ -169,10 +171,10 @@
169
 			  <h1>> 수거 상세 내역</h1>
171
 			  <h1>> 수거 상세 내역</h1>
170
 			</div>
172
 			</div>
171
 		  </div>
173
 		  </div>
172
-			<div id="ITP_LIST_MCOLLMNG02010_ITEM_AREA" class="scroll_area row-5">
173
-			  <ul id="ITP_LIST_MCOLLMNG02010_VIEW_ROWS" class="panel-group"></ul>
174
-			  <div id="ITP_LIST_MCOLLMNG02010_VIEW_ROWCOPY" style="display: bl;">
175
-				<li class="history_list2">
174
+			<div id="ITP_LIST_MCOLLMNG02010_VIEW_ITEM_AREA" class="scroll_area row-5">
175
+			  <ul id="ITP_LIST_MCOLLMNG02010_VIEW_ITEM_ROWS" class="panel-group"></ul>
176
+			  <div id="ITP_LIST_MCOLLMNG02010_VIEW_ITEM_ROWCOPY" style="display: bl;">
177
+				<li class="history_list2 list-row">
176
 				  <div>
178
 				  <div>
177
 					<div class="left">
179
 					<div class="left">
178
 					  <div class="nomal">
180
 					  <div class="nomal">
@@ -242,7 +244,7 @@
242
 		  </div>
244
 		  </div>
243
 		  <div class="button_bar">
245
 		  <div class="button_bar">
244
 			<button id="ITP_BTN_MCOLLMNG02010_VIEW_ADD" class="btn_col_6 btn-primary CRT">생성</button>
246
 			<button id="ITP_BTN_MCOLLMNG02010_VIEW_ADD" class="btn_col_6 btn-primary CRT">생성</button>
245
-			<button id="ITP_BTN_MCOLLMNG02010_VIEW_CANCEL" class="btn_col_3 btn-gray CLB">취소</button>
247
+			<button id="ITP_BTN_MCOLLMNG02010_VIEW_CANCEL_LIST" class="btn_col_3 btn-gray CLB">취소</button>
246
 		  </div>
248
 		  </div>
247
 	  </form>
249
 	  </form>
248
 	</div>
250
 	</div>

+ 32 - 30
src/main/webapp/mobile/app/mcollmng/MCOLLMNG03010.html

@@ -1,34 +1,36 @@
1
 <section id="ITP_MOBILE_MCOLLMNG03010">
1
 <section id="ITP_MOBILE_MCOLLMNG03010">
2
 	<div id="ITP_AJAX_MCOLLMNG03010_LIST_CONTAINER" style="display: none;">
2
 	<div id="ITP_AJAX_MCOLLMNG03010_LIST_CONTAINER" style="display: none;">
3
-	  <form id="ITP_FORM_MCOLLMNG03010_LIST" class="form-horizontal" onsubmit="return false;">
3
+	  <form id="ITP_FORM_MCOLLMNG03010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
4
 		<input type="hidden" id="ITP_FORM_MCOLLMNG03010_LIST_VIEW_CD" name="viewCd" value="C">
4
 		<input type="hidden" id="ITP_FORM_MCOLLMNG03010_LIST_VIEW_CD" name="viewCd" value="C">
5
+		  <input type="hidden" id="ITP_FORM_MCOLLMNG03010_SEARCH_BRAND_ID" name="sbrandId" value="">
6
+		  <input type="hidden" id="ITP_FORM_MCOLLMNG03010_SEARCH_STORE_ID" name="sstoreId" value="">
7
+		  <input type="hidden" id="ITP_FORM_MCOLLMNG03010_SEARCH_SPPLY_ID" name="sspplyId" value="">
5
 		  <div class="content">
8
 		  <div class="content">
6
 			<div class="line">
9
 			<div class="line">
7
 			  <label>수거장소</label>
10
 			  <label>수거장소</label>
8
-			  <div class="search_wrap">
9
-				  <div class="float_left">
10
-					<input id="ITP_FORM_MCOLLMNG03010_LIST_COL_PLACE" name="colPlace" type="text" placeholder="A매장명">
11
-				  </div>
12
-				  <div class="float_left_btn">
13
-					<button id="ITP_BTN_MCOLLMNG03010_LIST_SEARCH_COL_PLACE" data-call-popup="ITP_POP_MCOLLMNG03010_COL_AREA"><img src="../img/search.png" alt=""></button>
14
-					<button id="ITP_BTN_MCOLLMNG03010_LIST_DETELE_COL_PLACE"><img src="../img/delete.png" alt=""></button>
15
-				  </div>
16
-			  </div>
11
+				<div class="search_wrap">
12
+					<div class="float_left">
13
+						<input id="ITP_FORM_MCOLLMNG03010_LIST_SEARCH_WHS_NM" name="swhsNm" type="text" placeholder="A매장명">
14
+						<input type="hidden" id="ITP_FORM_MCOLLMNG03010_LIST_SEARCH_WHS_ID" class="form-control itp_input" name="swhsId"/>
15
+					</div>
16
+					<div class="float_left_btn">
17
+						<button type="button" id="ITP_BTN_MCOLLMNG03010_LIST_SEARCH_WHS_NM"><img src="../img/search.png" alt=""></button>
18
+						<button type="button" id="ITP_BTN_MCOLLMNG03010_LIST_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
19
+					</div>
20
+				</div>
17
 			</div>
21
 			</div>
18
 			<div class="line">
22
 			<div class="line">
19
 			  <label>수거일자</label>
23
 			  <label>수거일자</label>
20
-			  <div class="date_to">
21
-				<input id="ITP_FORM_MCOLLMNG03010_LIST_COL_REQ_DT" name="colReqDt" class="year" type="date">
22
-				<div class="at">~</div>
23
-				<input id="ITP_FORM_MCOLLMNG03010_LIST_COL_CMPLT_DT" name="colCmpltDt" class="year" type="date">
24
-			  </div>
24
+				<div class="date_to">
25
+					<input id="ITP_FORM_MCOLLMNG03010_LIST_SEARCH_FROM_DT" name="fromDt" class="year" type="date">
26
+					<div class="at">~</div>
27
+					<input id="ITP_FORM_MCOLLMNG03010_LIST_SEARCH_TO_DT" name="toDt" class="year" type="date">
28
+				</div>
25
 			</div>
29
 			</div>
26
 			<div class="line">
30
 			<div class="line">
27
-			  <select class="label" name="itemNm" id="ITP_FORM_MCOLLMNG03010_LIST_ITEM_NM">
28
-				<option value="">발주번호/품목명</option>
29
-			  </select>
31
+				<label>발주번호/품목명</label>
30
 			  <div class="search_wrap">
32
 			  <div class="search_wrap">
31
-				<input id="ITP_FORM_MCOLLMNG03010_LIST_ITEM_NM" name="itemNm" style="width: 262px;" type="text" placeholder="검색어입력">
33
+				  <input id="ITP_FORM_MCOLLMNG03010_LIST_ITEM_NM" name="sitemNm" style="width: 262px;" type="text" placeholder="검색어입력">
32
 			  </div>
34
 			  </div>
33
 			</div>
35
 			</div>
34
 			<div class="line" style="height:45px;">
36
 			<div class="line" style="height:45px;">
@@ -40,10 +42,10 @@
40
 			  <h1>> 수주 내역</h1>
42
 			  <h1>> 수주 내역</h1>
41
 			</div>
43
 			</div>
42
 		  </div>
44
 		  </div>
43
-		  <div id="ITP_LIST_MCOLLMNG03010_ITEM_AREA" class="scroll_area row-2">
44
-			  <ul id="ITP_LIST_MCOLLMNG03010_LIST_ROWS" class="panel-group"></ul>
45
-			  <div id="ITP_LIST_MCOLLMNG03010_LIST_ROWCOPY" style="display: block;">
46
-				<li class="history_list3">
45
+		  <div id="ITP_LIST_MCOLLMNG03010_LIST_ITEM_AREA" class="scroll_area row-2">
46
+			  <ul id="ITP_LIST_MCOLLMNG03010_LIST_ITEM_ROWS" class="panel-group"></ul>
47
+			  <div id="ITP_LIST_MCOLLMNG03010_LIST_ITEM_ROWCOPY" style="display: block;">
48
+				<li class="history_list3 list-row">
47
 				  <div>
49
 				  <div>
48
 					<div class="left">
50
 					<div class="left">
49
 					  <div class="nomal">
51
 					  <div class="nomal">
@@ -109,8 +111,8 @@
109
 				</li>
111
 				</li>
110
 			</div>
112
 			</div>
111
 			<div class="button_bar">
113
 			<div class="button_bar">
112
-			  <button id="ITP_BTN_MCOLLMNG03010_LIST_DLV" class="btn_col_6 btn-primary IVDETAIL">납품서보기</button>
113
-			  <button id="ITP_BTN_MCOLLMNG03010_LIST_CANCEL" class="btn_col_3 btn-gray CLB">취소</button>
114
+			  <button id="ITP_BTN_MCOLLMNG03010_LIST_DLV_VIEW" class="btn_col_6 btn-primary IVDETAIL">납품서보기</button>
115
+			  <!--<button id="ITP_BTN_MCOLLMNG03010_LIST_CANCEL" class="btn_col_3 btn-gray CLB">취소</button>-->
114
 			</div>
116
 			</div>
115
 		  </div>
117
 		  </div>
116
 	  </form>
118
 	  </form>
@@ -207,10 +209,10 @@
207
 			  <h1>> 수거 상세 내역</h1>
209
 			  <h1>> 수거 상세 내역</h1>
208
 			</div>
210
 			</div>
209
 		  </div>
211
 		  </div>
210
-			<div id="ITP_LIST_MCOLLMNG03010_ITEM_AREA" class="scroll_area row-7">
211
-				 <ul id="ITP_LIST_MCOLLMNG03010_VIEW_ROWS" class="panel-group"></ul>
212
-				 <div id="ITP_LIST_MCOLLMNG03010_VIEW_ROWCOPY" style="display: block;">
213
-				<li class="history_list5">
212
+			<div id="ITP_LIST_MCOLLMNG03010_VIEW_ITEM_AREA" class="scroll_area row-7">
213
+				 <ul id="ITP_LIST_MCOLLMNG03010_VIEW_ITEM_ROWS" class="panel-group"></ul>
214
+				 <div id="ITP_LIST_MCOLLMNG03010_VIEW_ITEM_ROWCOPY" style="display: block;">
215
+				<li class="history_list5 list-row">
214
 				  <div>
216
 				  <div>
215
 					<div class="left">
217
 					<div class="left">
216
 					  <div class="nomal">
218
 					  <div class="nomal">
@@ -253,7 +255,7 @@
253
 			</div>
255
 			</div>
254
 		  </div>
256
 		  </div>
255
 		  <div class="button_bar">
257
 		  <div class="button_bar">
256
-			<button id="ITP_BTN_MCOLLMNG03010_VIEW" class="ok col_12 btn-gray COK">확인</button>
258
+			<button id="ITP_BTN_MCOLLMNG03010_VIEW_CONFIRM" class="ok col_12 btn-gray COK">확인</button>
257
 		  </div>
259
 		  </div>
258
 	  </form>
260
 	  </form>
259
 	</div>
261
 	</div>

+ 3 - 3
src/main/webapp/mobile/app/mordmng/MORDMNG01010.html

@@ -3,9 +3,9 @@
3
 	  <form id="ITP_FORM_MORDMNG01010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
3
 	  <form id="ITP_FORM_MORDMNG01010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
4
 		<input type="hidden" id="ITP_FORM_MORDMNG01010_LIST_VIEW_CD" name="viewCd" value="C">
4
 		<input type="hidden" id="ITP_FORM_MORDMNG01010_LIST_VIEW_CD" name="viewCd" value="C">
5
 		  <input type="hidden" id="ITP_FORM_MORDMNG01010_SEARCH_BRAND_ID" name="sbrandId" value="">
5
 		  <input type="hidden" id="ITP_FORM_MORDMNG01010_SEARCH_BRAND_ID" name="sbrandId" value="">
6
-		  <input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_STORE_ID" name="sstoreId" value="">
7
-		  <input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
8
-		  <input type="hidden" id="ITP_FORM_ORDMNG01010_LIST_SEARCH_IDX" name="sidx" value="0">
6
+		  <input type="hidden" id="ITP_FORM_MORDMNG01010_SEARCH_STORE_ID" name="sstoreId" value="">
7
+		  <input type="hidden" id="ITP_FORM_MORDMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
8
+		  <input type="hidden" id="ITP_FORM_MORDMNG01010_LIST_SEARCH_IDX" name="sidx" value="0">
9
 		  <div class="content">
9
 		  <div class="content">
10
 			<div class="line">
10
 			<div class="line">
11
 			  <label>납품장소</label>
11
 			  <label>납품장소</label>

+ 2 - 2
src/main/webapp/mobile/app/mordmng/MORDMNG02010.html

@@ -3,8 +3,8 @@
3
 		<form id="ITP_FORM_MORDMNG02010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
3
 		<form id="ITP_FORM_MORDMNG02010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
4
 			<input type="hidden" id="ITP_FORM_MORDMNG02010_LIST_VIEW_CD" name="viewCd" value="C">
4
 			<input type="hidden" id="ITP_FORM_MORDMNG02010_LIST_VIEW_CD" name="viewCd" value="C">
5
 			<input type="hidden" id="ITP_FORM_MORDMNG02010_SEARCH_BRAND_ID" name="sbrandId" value="">
5
 			<input type="hidden" id="ITP_FORM_MORDMNG02010_SEARCH_BRAND_ID" name="sbrandId" value="">
6
-			<input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_STORE_ID" name="sstoreId" value="">
7
-			<input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
6
+			<input type="hidden" id="ITP_FORM_MORDMNG02010_SEARCH_STORE_ID" name="sstoreId" value="">
7
+			<input type="hidden" id="ITP_FORM_MORDMNG02010_SEARCH_SPPLY_ID" name="sspplyId" value="">
8
 		  <div class="content">
8
 		  <div class="content">
9
 		   <div class="line">
9
 		   <div class="line">
10
 			  <label>납품장소</label>
10
 			  <label>납품장소</label>

+ 2 - 3
src/main/webapp/mobile/app/mordmng/MORDMNG03010.html

@@ -3,12 +3,11 @@
3
 	  <form id="ITP_FORM_MORDMNG03010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
3
 	  <form id="ITP_FORM_MORDMNG03010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
4
 		<input type="hidden" id="ITP_FORM_MORDMNG03010_LIST_VIEW_CD" name="viewCd" value="C">
4
 		<input type="hidden" id="ITP_FORM_MORDMNG03010_LIST_VIEW_CD" name="viewCd" value="C">
5
 		  <input type="hidden" id="ITP_FORM_MORDMNG03010_SEARCH_BRAND_ID" name="sbrandId" value="">
5
 		  <input type="hidden" id="ITP_FORM_MORDMNG03010_SEARCH_BRAND_ID" name="sbrandId" value="">
6
-		  <input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_STORE_ID" name="sstoreId" value="">
7
-		  <input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
6
+		  <input type="hidden" id="ITP_FORM_MORDMNG01010_SEARCH_STORE_ID" name="sstoreId" value="">
7
+		  <input type="hidden" id="ITP_FORM_MORDMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
8
 		  <div class="content">
8
 		  <div class="content">
9
 			<div class="line">
9
 			<div class="line">
10
 			  <label>납품장소</label>
10
 			  <label>납품장소</label>
11
-				<label>납품장소</label>
12
 				<div class="search_wrap">
11
 				<div class="search_wrap">
13
 					<div class="float_left">
12
 					<div class="float_left">
14
 						<input id="ITP_FORM_MORDMNG03010_LIST_SEARCH_WHS_NM" name="swhsNm" type="text" placeholder="A매장명">
13
 						<input id="ITP_FORM_MORDMNG03010_LIST_SEARCH_WHS_NM" name="swhsNm" type="text" placeholder="A매장명">

+ 39 - 39
src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG01010.js

@@ -34,8 +34,8 @@ let mobPageObj = {
34
 			});
34
 			});
35
 
35
 
36
 			// 조회일자 지정
36
 			// 조회일자 지정
37
-			$('#ITP_FORM_MORDMNG01010_LIST_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
38
-			$('#ITP_FORM_MORDMNG01010_LIST_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
37
+			$('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
38
+			$('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
39
 		},
39
 		},
40
 		info: function() {
40
 		info: function() {
41
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
41
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
@@ -48,43 +48,43 @@ let mobPageObj = {
48
 			this.button();
48
 			this.button();
49
 		},
49
 		},
50
 		button: function() {
50
 		button: function() {
51
-			$('button[id^="ITP_BTN_MORDMNG01010_LIST"]').on('click', function() {
51
+			$('button[id^="ITP_BTN_MCOLLMNG01010_LIST"]').on('click', function() {
52
 				var id = $(this).attr('id');
52
 				var id = $(this).attr('id');
53
 				switch (id) {
53
 				switch (id) {
54
-					case 'ITP_BTN_MORDMNG01010_LIST_SEARCH_WHS_NM'	: mobPopObj.popWhsNm.init(); 	break;
55
-					case 'ITP_BTN_MORDMNG01010_LIST_DELETE_WHS_NM'	: mobPopObj.popWhsNm.delete(); 	break;
56
-					case 'ITP_BTN_MORDMNG01010_LIST_SEARCH'			: mobContentObj.list.search();	break;
54
+					case 'ITP_BTN_MCOLLMNG01010_LIST_SEARCH_WHS_NM'	: mobPopObj.popWhsNm.init(); 	break;
55
+					case 'ITP_BTN_MCOLLMNG01010_LIST_DELETE_WHS_NM'	: mobPopObj.popWhsNm.delete(); 	break;
56
+					case 'ITP_BTN_MCOLLMNG01010_LIST_SEARCH'			: mobContentObj.list.search();	break;
57
 				}
57
 				}
58
 				return false;
58
 				return false;
59
 			});
59
 			});
60
 
60
 
61
-			$('button[id^="ITP_BTN_MORDMNG01010_VIEW"]').on('click', function() {
61
+			$('button[id^="ITP_BTN_MCOLLMNG01010_VIEW"]').on('click', function() {
62
 				var id = $(this).attr('id');
62
 				var id = $(this).attr('id');
63
 				switch (id) {
63
 				switch (id) {
64
-					case 'ITP_BTN_MORDMNG01010_VIEW_CANCEL_LIST'		: mobContentObj.view.cancel();	break;
64
+					case 'ITP_BTN_MCOLLMNG01010_VIEW_CANCEL_LIST'		: mobContentObj.view.cancel();	break;
65
 				}
65
 				}
66
 				return false;
66
 				return false;
67
 			});
67
 			});
68
 
68
 
69
-			$(document).on('click', '#ITP_LIST_MORDMNG01010_LIST_ITEM_ROWS li', function() {
69
+			$(document).on('click', '#ITP_LIST_MCOLLMNG01010_LIST_ITEM_ROWS li', function() {
70
 				var item = mobContentObj.list.rows[$(this).index()];
70
 				var item = mobContentObj.list.rows[$(this).index()];
71
 				mobContentObj.view.init(item);
71
 				mobContentObj.view.init(item);
72
 			});
72
 			});
73
 
73
 
74
-			$(document).on('click', '#ITP_LIST_MORDMNG01010_POP_WHS_ROWS li button', function() {
74
+			$(document).on('click', '#ITP_LIST_MCOLLMNG01010_POP_WHS_ROWS li button', function() {
75
 				mobPopObj.popWhsNm.choice($(this));
75
 				mobPopObj.popWhsNm.choice($(this));
76
 			});
76
 			});
77
 		}
77
 		}
78
 	},
78
 	},
79
 	switchScreen: function(mode) {
79
 	switchScreen: function(mode) {
80
-		$('#ITP_MOBILE_MORDMNG01010').find('div[id$="_CONTAINER"]').each(function(i) {
80
+		$('#ITP_MOBILE_MCOLLMNG01010').find('div[id$="_CONTAINER"]').each(function(i) {
81
 			$(this).hide();
81
 			$(this).hide();
82
 		});
82
 		});
83
 		if(mode === PAGE_MODE_LIST) {
83
 		if(mode === PAGE_MODE_LIST) {
84
-			$('#ITP_AJAX_MORDMNG01010_LIST_CONTAINER').show();
84
+			$('#ITP_AJAX_MCOLLMNG01010_LIST_CONTAINER').show();
85
 			this.moreView(true);
85
 			this.moreView(true);
86
 		} else if(mode === PAGE_MODE_VIEW) {
86
 		} else if(mode === PAGE_MODE_VIEW) {
87
-			$('#ITP_AJAX_MORDMNG01010_VIEW_CONTAINER').show();
87
+			$('#ITP_AJAX_MCOLLMNG01010_VIEW_CONTAINER').show();
88
 			this.moreView(false);
88
 			this.moreView(false);
89
 		}
89
 		}
90
 		this.viewMode = mode;
90
 		this.viewMode = mode;
@@ -92,7 +92,7 @@ let mobPageObj = {
92
 	moreView: function(isScroll) {
92
 	moreView: function(isScroll) {
93
 		var _this = this;
93
 		var _this = this;
94
 		if(isScroll) {
94
 		if(isScroll) {
95
-			$('#ITP_LIST_MORDMNG01010_LIST_ITEM_AREA').on('scroll', function () {
95
+			$('#ITP_LIST_MCOLLMNG01010_LIST_ITEM_AREA').on('scroll', function () {
96
 				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
96
 				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
97
 					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
97
 					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
98
 						if(!mobContentObj.list.isSearch) {
98
 						if(!mobContentObj.list.isSearch) {
@@ -102,7 +102,7 @@ let mobPageObj = {
102
 				}
102
 				}
103
 			});
103
 			});
104
 		} else {
104
 		} else {
105
-			$('#ITP_LIST_MORDMNG01010_LIST_AREA').off('scroll');
105
+			$('#ITP_LIST_MCOLLMNG01010_LIST_AREA').off('scroll');
106
 		}
106
 		}
107
 	},
107
 	},
108
 	ready: function() {
108
 	ready: function() {
@@ -125,7 +125,7 @@ let mobContentObj = {
125
 			this.listPage = 0;
125
 			this.listPage = 0;
126
 			this.totPage = 0;
126
 			this.totPage = 0;
127
 			this.rows.length = 0;
127
 			this.rows.length = 0;
128
-			$('#ITP_LIST_MORDMNG01010_LIST_ITEM_ROWS').empty();
128
+			$('#ITP_LIST_MCOLLMNG01010_LIST_ITEM_ROWS').empty();
129
 			this.load();
129
 			this.load();
130
 		},
130
 		},
131
 		load: function() {
131
 		load: function() {
@@ -136,8 +136,8 @@ let mobContentObj = {
136
 				_this.isSearch = false;
136
 				_this.isSearch = false;
137
 				_this.totPage = result.gridTotal;
137
 				_this.totPage = result.gridTotal;
138
 				$.each(result.gridRows, function (i, item) {
138
 				$.each(result.gridRows, function (i, item) {
139
-					$('#ITP_LIST_MORDMNG01010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MORDMNG01010_LIST_ITEM_ROWCOPY').html());
140
-					var $li = $('#ITP_LIST_MORDMNG01010_LIST_ITEM_AREA .panel-group > .list-row:last');
139
+					$('#ITP_LIST_MCOLLMNG01010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG01010_LIST_ITEM_ROWCOPY').html());
140
+					var $li = $('#ITP_LIST_MCOLLMNG01010_LIST_ITEM_AREA .panel-group > .list-row:last');
141
 					$li.find('.fnBrandNm').text(item.brandNm);
141
 					$li.find('.fnBrandNm').text(item.brandNm);
142
 					$li.find('.fnPchPodrUnqNo').text(item.pchPodrUnqNo);
142
 					$li.find('.fnPchPodrUnqNo').text(item.pchPodrUnqNo);
143
 					$li.find('.fnPchOdrStNm').text(item.pchOdrStNm);
143
 					$li.find('.fnPchOdrStNm').text(item.pchOdrStNm);
@@ -150,7 +150,7 @@ let mobContentObj = {
150
 				});
150
 				});
151
 			};
151
 			};
152
 			var errFn = function() { _this.isSearch = false;};
152
 			var errFn = function() { _this.isSearch = false;};
153
-			const param = $('#ITP_FORM_MORDMNG01010_LIST_SEARCH').serializeObject();
153
+			const param = $('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH').serializeObject();
154
 			param.gridPage = ++this.listPage;
154
 			param.gridPage = ++this.listPage;
155
 			param.gridSize = this.listSize;
155
 			param.gridSize = this.listSize;
156
 			param.fromDt = param.fromDt.replace(/-/g, ".");
156
 			param.fromDt = param.fromDt.replace(/-/g, ".");
@@ -179,7 +179,7 @@ let mobContentObj = {
179
 		},
179
 		},
180
 		view: function(result) {
180
 		view: function(result) {
181
 			var _this = this;
181
 			var _this = this;
182
-			var id = '#ITP_AJAX_MORDMNG01010_VIEW_CONTAINER';
182
+			var id = '#ITP_AJAX_MCOLLMNG01010_VIEW_CONTAINER';
183
 			$(id).find('.fnBrandNm').text(result.brandNm);
183
 			$(id).find('.fnBrandNm').text(result.brandNm);
184
 			$(id).find('.fnPchPodrUnqNo').text(result.pchPodrUnqNo);
184
 			$(id).find('.fnPchPodrUnqNo').text(result.pchPodrUnqNo);
185
 			$(id).find('.fnPodrDt').text(result.podrDt);
185
 			$(id).find('.fnPodrDt').text(result.podrDt);
@@ -188,8 +188,8 @@ let mobContentObj = {
188
 			$(id).find('.fnPodrTotalAmt').text(CommonObj.currency.add(result.podrItemQty));
188
 			$(id).find('.fnPodrTotalAmt').text(CommonObj.currency.add(result.podrItemQty));
189
 			$(id).find('.fnPodrMgrNm').text(result.podrMgrNm);
189
 			$(id).find('.fnPodrMgrNm').text(result.podrMgrNm);
190
 			$.each(result.pchOdrDtlList, function (i, item) {
190
 			$.each(result.pchOdrDtlList, function (i, item) {
191
-				$('#ITP_LIST_MORDMNG01010_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MORDMNG01010_VIEW_ITEM_ROWCOPY').html());
192
-				var $li = $('#ITP_LIST_MORDMNG01010_VIEW_ITEM_AREA .panel-group > .list-row:last');
191
+				$('#ITP_LIST_MCOLLMNG01010_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG01010_VIEW_ITEM_ROWCOPY').html());
192
+				var $li = $('#ITP_LIST_MCOLLMNG01010_VIEW_ITEM_AREA .panel-group > .list-row:last');
193
 				$li.find('.fnItemid').text(item.itemId);
193
 				$li.find('.fnItemid').text(item.itemId);
194
 				$li.find('.fnItemNm').text(item.itemNm);
194
 				$li.find('.fnItemNm').text(item.itemNm);
195
 				$li.find('.fnUPodrQty').text(item.podrQty);
195
 				$li.find('.fnUPodrQty').text(item.podrQty);
@@ -201,7 +201,7 @@ let mobContentObj = {
201
 			});
201
 			});
202
 		},
202
 		},
203
 		cancel: function () {
203
 		cancel: function () {
204
-			var id = '#ITP_AJAX_MORDMNG01010_VIEW_CONTAINER';
204
+			var id = '#ITP_AJAX_MCOLLMNG01010_VIEW_CONTAINER';
205
 			$(id).find('.fnItemid').text('');
205
 			$(id).find('.fnItemid').text('');
206
 			$(id).find('.fnItemNm').text('');
206
 			$(id).find('.fnItemNm').text('');
207
 			$(id).find('.fnUPodrQty').text('');
207
 			$(id).find('.fnUPodrQty').text('');
@@ -210,7 +210,7 @@ let mobContentObj = {
210
 			$(id).find('.fnPodrQty').text('');
210
 			$(id).find('.fnPodrQty').text('');
211
 			$(id).find('.fnPodrAmt').text('');
211
 			$(id).find('.fnPodrAmt').text('');
212
 			$(id).find('.fnDlvReqDt').text('');
212
 			$(id).find('.fnDlvReqDt').text('');
213
-			$('#ITP_LIST_MORDMNG01010_VIEW_ITEM_AREA .panel-group').empty();
213
+			$('#ITP_LIST_MCOLLMNG01010_VIEW_ITEM_AREA .panel-group').empty();
214
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
214
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
215
 		}
215
 		}
216
 	}
216
 	}
@@ -218,7 +218,7 @@ let mobContentObj = {
218
 
218
 
219
 let mobPopObj = {
219
 let mobPopObj = {
220
 	popWhsNm: {
220
 	popWhsNm: {
221
-		popId: 'ITP_POP_MORDMNG01010_WHS_AREA',
221
+		popId: 'ITP_POP_MCOLLMNG01010_WHS_AREA',
222
 		rows: [],
222
 		rows: [],
223
 		init: function () {
223
 		init: function () {
224
 			this.rows.length = 0;
224
 			this.rows.length = 0;
@@ -228,19 +228,19 @@ let mobPopObj = {
228
 		},
228
 		},
229
 		search: function () {
229
 		search: function () {
230
 			var _this = this;
230
 			var _this = this;
231
-			$('#ITP_LIST_MORDMNG01010_POP_WHS_AREA .panel-group').empty();
231
+			$('#ITP_LIST_MCOLLMNG01010_POP_WHS_AREA .panel-group').empty();
232
 			var callbackFn = function(result) {
232
 			var callbackFn = function(result) {
233
 				console.log(result);
233
 				console.log(result);
234
 				_this.view(result.gridRows);
234
 				_this.view(result.gridRows);
235
 			};
235
 			};
236
-			const param = $('#ITP_FORM_MORDMNG01010_POP_WHS').serializeObject();
236
+			const param = $('#ITP_FORM_MCOLLMNG01010_POP_WHS').serializeObject();
237
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
237
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
238
 		},
238
 		},
239
 		view: function(gridRows) {
239
 		view: function(gridRows) {
240
 			this.rows = gridRows;
240
 			this.rows = gridRows;
241
 			$.each(gridRows, function (i, item) {
241
 			$.each(gridRows, function (i, item) {
242
-				$('#ITP_LIST_MORDMNG01010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MORDMNG01010_POP_WHS_ROWCOPY').html());
243
-				var $li = $('#ITP_LIST_MORDMNG01010_POP_WHS_AREA .panel-group > .list-row:last');
242
+				$('#ITP_LIST_MCOLLMNG01010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG01010_POP_WHS_ROWCOPY').html());
243
+				var $li = $('#ITP_LIST_MCOLLMNG01010_POP_WHS_AREA .panel-group > .list-row:last');
244
 				$li.find('.fnWhsNm').text(item.whsNm);
244
 				$li.find('.fnWhsNm').text(item.whsNm);
245
 				$li.find('.fnLocationNm').text(item.locationNm);
245
 				$li.find('.fnLocationNm').text(item.locationNm);
246
 				$li.find('.fnWhsId').data('whs-id', item.whsId);
246
 				$li.find('.fnWhsId').data('whs-id', item.whsId);
@@ -251,8 +251,8 @@ let mobPopObj = {
251
 			var whsId = $(elem).data('whs-id');
251
 			var whsId = $(elem).data('whs-id');
252
 			$.each(this.rows, function (i, item) {
252
 			$.each(this.rows, function (i, item) {
253
 				if(whsId === item.whsId) {
253
 				if(whsId === item.whsId) {
254
-					$('#ITP_FORM_MORDMNG01010_LIST_SEARCH #ITP_FORM_MORDMNG01010_LIST_SEARCH_WHS_ID').val(item.whsId);
255
-					$('#ITP_FORM_MORDMNG01010_LIST_SEARCH #ITP_FORM_MORDMNG01010_LIST_SEARCH_WHS_NM').val(item.whsNm);
254
+					$('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH #ITP_FORM_MCOLLMNG01010_LIST_SEARCH_WHS_ID').val(item.whsId);
255
+					$('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH #ITP_FORM_MCOLLMNG01010_LIST_SEARCH_WHS_NM').val(item.whsNm);
256
 					_this.close();
256
 					_this.close();
257
 					return false;
257
 					return false;
258
 				}
258
 				}
@@ -260,24 +260,24 @@ let mobPopObj = {
260
 		},
260
 		},
261
 		action: function() {
261
 		action: function() {
262
 			var _this = this;
262
 			var _this = this;
263
-			$('button[id^="ITP_BTN_MORDMNG01010_POP_WHS"]').off('click').on('click', function() {
263
+			$('button[id^="ITP_BTN_MCOLLMNG01010_POP_WHS"]').off('click').on('click', function() {
264
 				var id = $(this).attr('id');
264
 				var id = $(this).attr('id');
265
 				switch (id) {
265
 				switch (id) {
266
-					case 'ITP_BTN_MORDMNG01010_POP_WHS_SEARCH'	: _this.search();			break;
267
-					case 'ITP_BTN_MORDMNG01010_POP_WHS_CHOICE'	: _this.choice($(this)); 	break;
268
-					case 'ITP_BTN_MORDMNG01010_POP_WHS_CLOSE'	: _this.close(); 			break;
266
+					case 'ITP_BTN_MCOLLMNG01010_POP_WHS_SEARCH'	: _this.search();			break;
267
+					case 'ITP_BTN_MCOLLMNG01010_POP_WHS_CHOICE'	: _this.choice($(this)); 	break;
268
+					case 'ITP_BTN_MCOLLMNG01010_POP_WHS_CLOSE'	: _this.close(); 			break;
269
 				}
269
 				}
270
 				return false;
270
 				return false;
271
 			});
271
 			});
272
 		},
272
 		},
273
 		delete: function() {
273
 		delete: function() {
274
-			$('#ITP_FORM_MORDMNG01010_LIST_SEARCH #ITP_FORM_MORDMNG01010_LIST_SEARCH_WHS_ID').val('');
275
-			$('#ITP_FORM_MORDMNG01010_LIST_SEARCH #ITP_FORM_MORDMNG01010_LIST_SEARCH_WHS_NM').val('');
274
+			$('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH #ITP_FORM_MCOLLMNG01010_LIST_SEARCH_WHS_ID').val('');
275
+			$('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH #ITP_FORM_MCOLLMNG01010_LIST_SEARCH_WHS_NM').val('');
276
 		},
276
 		},
277
 		close: function() {
277
 		close: function() {
278
 			this.rows.length = 0;
278
 			this.rows.length = 0;
279
-			$('#ITP_POP_MORDMNG01010_LIST_WHS_AREA .panel-group').empty();
280
-			$('#ITP_FORM_MORDMNG01010_POP_WHS #ITP_FORM_MORDMNG01010_POP_WHS_KEYWORD').val('');
279
+			$('#ITP_POP_MCOLLMNG01010_LIST_WHS_AREA .panel-group').empty();
280
+			$('#ITP_FORM_MCOLLMNG01010_POP_WHS #ITP_FORM_MCOLLMNG01010_POP_WHS_KEYWORD').val('');
281
 			mobPopObj.hide(this.popId);
281
 			mobPopObj.hide(this.popId);
282
 		}
282
 		}
283
 	},
283
 	},

+ 50 - 50
src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG02010.js

@@ -35,8 +35,8 @@ let mobPageObj = {
35
 			});
35
 			});
36
 
36
 
37
 			// 조회일자 지정
37
 			// 조회일자 지정
38
-			$('#ITP_FORM_MORDMNG02010_LIST_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
39
-			$('#ITP_FORM_MORDMNG02010_LIST_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
38
+			$('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
39
+			$('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
40
 		},
40
 		},
41
 		info: function() {
41
 		info: function() {
42
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
42
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
@@ -49,44 +49,44 @@ let mobPageObj = {
49
 			this.button();
49
 			this.button();
50
 		},
50
 		},
51
 		button: function() {
51
 		button: function() {
52
-			$('button[id^="ITP_BTN_MORDMNG02010_LIST"]').on('click', function() {
52
+			$('button[id^="ITP_BTN_MCOLLMNG02010_LIST"]').on('click', function() {
53
 				var id = $(this).attr('id');
53
 				var id = $(this).attr('id');
54
 				switch (id) {
54
 				switch (id) {
55
-					case 'ITP_BTN_MORDMNG02010_LIST_SEARCH_WHS_NM'	: mobPopObj.popWhsNm.init(); 	break;
56
-					case 'ITP_BTN_MORDMNG02010_LIST_DELETE_WHS_NM'	: mobPopObj.popWhsNm.delete(); 	break;
57
-					case 'ITP_BTN_MORDMNG02010_LIST_SEARCH'			: mobContentObj.list.search();	break;
55
+					case 'ITP_BTN_MCOLLMNG02010_LIST_SEARCH_WHS_NM'	: mobPopObj.popWhsNm.init(); 	break;
56
+					case 'ITP_BTN_MCOLLMNG02010_LIST_DELETE_WHS_NM'	: mobPopObj.popWhsNm.delete(); 	break;
57
+					case 'ITP_BTN_MCOLLMNG02010_LIST_SEARCH'			: mobContentObj.list.search();	break;
58
 				}
58
 				}
59
 				return false;
59
 				return false;
60
 			});
60
 			});
61
 
61
 
62
-			$('button[id^="ITP_BTN_MORDMNG02010_VIEW"]').on('click', function() {
62
+			$('button[id^="ITP_BTN_MCOLLMNG02010_VIEW"]').on('click', function() {
63
 				var id = $(this).attr('id');
63
 				var id = $(this).attr('id');
64
 				switch (id) {
64
 				switch (id) {
65
-					case 'ITP_BTN_MORDMNG02010_VIEW_ADD'			: mobContentObj.view.add();	break;
66
-					case 'ITP_BTN_MORDMNG02010_VIEW_CANCEL_LIST'	: mobContentObj.view.cancel();	break;
65
+					case 'ITP_BTN_MCOLLMNG02010_VIEW_ADD'			: mobContentObj.view.add();	break;
66
+					case 'ITP_BTN_MCOLLMNG02010_VIEW_CANCEL_LIST'	: mobContentObj.view.cancel();	break;
67
 				}
67
 				}
68
 				return false;
68
 				return false;
69
 			});
69
 			});
70
 
70
 
71
-			$(document).on('click', '#ITP_LIST_MORDMNG02010_LIST_ITEM_ROWS li', function() {
71
+			$(document).on('click', '#ITP_LIST_MCOLLMNG02010_LIST_ITEM_ROWS li', function() {
72
 				var item = mobContentObj.list.rows[$(this).index()];
72
 				var item = mobContentObj.list.rows[$(this).index()];
73
 				mobContentObj.view.init(item);
73
 				mobContentObj.view.init(item);
74
 			});
74
 			});
75
 
75
 
76
-			$(document).on('click', '#ITP_LIST_MORDMNG02010_POP_WHS_ROWS li button', function() {
76
+			$(document).on('click', '#ITP_LIST_MCOLLMNG02010_POP_WHS_ROWS li button', function() {
77
 				mobPopObj.popWhsNm.choice($(this));
77
 				mobPopObj.popWhsNm.choice($(this));
78
 			});
78
 			});
79
 		}
79
 		}
80
 	},
80
 	},
81
 	switchScreen: function(mode) {
81
 	switchScreen: function(mode) {
82
-		$('#ITP_MOBILE_MORDMNG02010').find('div[id$="_CONTAINER"]').each(function(i) {
82
+		$('#ITP_MOBILE_MCOLLMNG02010').find('div[id$="_CONTAINER"]').each(function(i) {
83
 			$(this).hide();
83
 			$(this).hide();
84
 		});
84
 		});
85
 		if(mode === PAGE_MODE_LIST) {
85
 		if(mode === PAGE_MODE_LIST) {
86
-			$('#ITP_AJAX_MORDMNG02010_LIST_CONTAINER').show();
86
+			$('#ITP_AJAX_MCOLLMNG02010_LIST_CONTAINER').show();
87
 			this.moreView(true);
87
 			this.moreView(true);
88
 		} else if(mode === PAGE_MODE_VIEW) {
88
 		} else if(mode === PAGE_MODE_VIEW) {
89
-			$('#ITP_AJAX_MORDMNG02010_VIEW_CONTAINER').show();
89
+			$('#ITP_AJAX_MCOLLMNG02010_VIEW_CONTAINER').show();
90
 			this.moreView(false);
90
 			this.moreView(false);
91
 		}
91
 		}
92
 		this.viewMode = mode;
92
 		this.viewMode = mode;
@@ -94,7 +94,7 @@ let mobPageObj = {
94
 	moreView: function(isScroll) {
94
 	moreView: function(isScroll) {
95
 		var _this = this;
95
 		var _this = this;
96
 		if(isScroll) {
96
 		if(isScroll) {
97
-			$('#ITP_LIST_MORDMNG02010_LIST_ITEM_AREA').on('scroll', function () {
97
+			$('#ITP_LIST_MCOLLMNG02010_LIST_ITEM_AREA').on('scroll', function () {
98
 				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
98
 				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
99
 					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
99
 					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
100
 						if(!mobContentObj.list.isSearch) {
100
 						if(!mobContentObj.list.isSearch) {
@@ -104,7 +104,7 @@ let mobPageObj = {
104
 				}
104
 				}
105
 			});
105
 			});
106
 		} else {
106
 		} else {
107
-			$('#ITP_LIST_MORDMNG02010_LIST_AREA').off('scroll');
107
+			$('#ITP_LIST_MCOLLMNG02010_LIST_AREA').off('scroll');
108
 		}
108
 		}
109
 	},
109
 	},
110
 	ready: function() {
110
 	ready: function() {
@@ -127,7 +127,7 @@ let mobContentObj = {
127
 			this.listPage = 0;
127
 			this.listPage = 0;
128
 			this.totPage = 0;
128
 			this.totPage = 0;
129
 			this.rows.length = 0;
129
 			this.rows.length = 0;
130
-			$('#ITP_LIST_MORDMNG02010_LIST_ITEM_ROWS').empty();
130
+			$('#ITP_LIST_MCOLLMNG02010_LIST_ITEM_ROWS').empty();
131
 			this.load();
131
 			this.load();
132
 		},
132
 		},
133
 		load: function() {
133
 		load: function() {
@@ -138,8 +138,8 @@ let mobContentObj = {
138
 				_this.isSearch = false;
138
 				_this.isSearch = false;
139
 				_this.totPage = result.gridTotal;
139
 				_this.totPage = result.gridTotal;
140
 				$.each(result.gridRows, function (i, item) {
140
 				$.each(result.gridRows, function (i, item) {
141
-					$('#ITP_LIST_MORDMNG02010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MORDMNG02010_LIST_ITEM_ROWCOPY').html());
142
-					var $li = $('#ITP_LIST_MORDMNG02010_LIST_ITEM_AREA .panel-group > .list-row:last');
141
+					$('#ITP_LIST_MCOLLMNG02010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG02010_LIST_ITEM_ROWCOPY').html());
142
+					var $li = $('#ITP_LIST_MCOLLMNG02010_LIST_ITEM_AREA .panel-group > .list-row:last');
143
 					$li.find('.fnBrandNm').text(item.brandNm);
143
 					$li.find('.fnBrandNm').text(item.brandNm);
144
 					$li.find('.fnPchPodrUnqNo').text(item.pchPodrUnqNo);
144
 					$li.find('.fnPchPodrUnqNo').text(item.pchPodrUnqNo);
145
 					$li.find('.fnPchPodrDtlNo').text(item.pchPodrDtlNo);
145
 					$li.find('.fnPchPodrDtlNo').text(item.pchPodrDtlNo);
@@ -155,7 +155,7 @@ let mobContentObj = {
155
 				});
155
 				});
156
 			};
156
 			};
157
 			var errFn = function() { _this.isSearch = false;};
157
 			var errFn = function() { _this.isSearch = false;};
158
-			const param = $('#ITP_FORM_MORDMNG02010_LIST_SEARCH').serializeObject();
158
+			const param = $('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH').serializeObject();
159
 			param.gridPage = ++this.listPage;
159
 			param.gridPage = ++this.listPage;
160
 			param.gridSize = this.listSize;
160
 			param.gridSize = this.listSize;
161
 			param.fromDt = param.fromDt.replace(/-/g, ".");
161
 			param.fromDt = param.fromDt.replace(/-/g, ".");
@@ -184,7 +184,7 @@ let mobContentObj = {
184
 		},
184
 		},
185
 		view: function(result) {
185
 		view: function(result) {
186
 			var _this = this;
186
 			var _this = this;
187
-			var id = '#ITP_AJAX_MORDMNG02010_VIEW_CONTAINER';
187
+			var id = '#ITP_AJAX_MCOLLMNG02010_VIEW_CONTAINER';
188
 			$(id).find('.fnBrandNm').text(result.brandNm);
188
 			$(id).find('.fnBrandNm').text(result.brandNm);
189
 			$(id).find('.fnPchPodrUnqNo').text(result.pchPodrUnqNo);
189
 			$(id).find('.fnPchPodrUnqNo').text(result.pchPodrUnqNo);
190
 			$(id).find('.fnDlvRegDt').text(result.dlvReqDt);
190
 			$(id).find('.fnDlvRegDt').text(result.dlvReqDt);
@@ -192,8 +192,8 @@ let mobContentObj = {
192
 			$(id).find('.fnWhsNm').text(result.whsNm);
192
 			$(id).find('.fnWhsNm').text(result.whsNm);
193
 			$(id).find('.fnDeliTelNo').text(result.deliTelNo);
193
 			$(id).find('.fnDeliTelNo').text(result.deliTelNo);
194
 			$.each(result.invPoInfoList, function (i, item) {
194
 			$.each(result.invPoInfoList, function (i, item) {
195
-				$('#ITP_LIST_MORDMNG02010_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MORDMNG02010_VIEW_ITEM_ROWCOPY').html());
196
-				var $li = $('#ITP_LIST_MORDMNG02010_VIEW_ITEM_AREA .panel-group > .list-row:last');
195
+				$('#ITP_LIST_MCOLLMNG02010_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG02010_VIEW_ITEM_ROWCOPY').html());
196
+				var $li = $('#ITP_LIST_MCOLLMNG02010_VIEW_ITEM_AREA .panel-group > .list-row:last');
197
 				$li.find('.fnPchPodrDtlNo').text(item.pchPodrDtlNo);
197
 				$li.find('.fnPchPodrDtlNo').text(item.pchPodrDtlNo);
198
 				$li.find('.fnItemId').text(item.itemId);
198
 				$li.find('.fnItemId').text(item.itemId);
199
 				$li.find('.fnItemNm').text(item.itemNm);
199
 				$li.find('.fnItemNm').text(item.itemNm);
@@ -208,9 +208,9 @@ let mobContentObj = {
208
 		add: function() {
208
 		add: function() {
209
 			var _this = this;
209
 			var _this = this;
210
 			var param = {};
210
 			var param = {};
211
-			var dlvSchDt = $('#ITP_AJAX_MORDMNG02010_VIEW_CONTAINER #ITP_FORM_MORDMNG02010_VIEW_DLV_SCH_DT').val();
212
-			var dlvMgrNm = $('#ITP_AJAX_MORDMNG02010_VIEW_CONTAINER #ITP_FORM_MORDMNG02010_VIEW_DLV_MGR_NM').val();
213
-			var dlvMgrTelNo = $('#ITP_AJAX_MORDMNG02010_VIEW_CONTAINER #ITP_FORM_MORDMNG02010_VIEW_DLV_MGR_TEL_NO').val();
211
+			var dlvSchDt = $('#ITP_AJAX_MCOLLMNG02010_VIEW_CONTAINER #ITP_FORM_MCOLLMNG02010_VIEW_DLV_SCH_DT').val();
212
+			var dlvMgrNm = $('#ITP_AJAX_MCOLLMNG02010_VIEW_CONTAINER #ITP_FORM_MCOLLMNG02010_VIEW_DLV_MGR_NM').val();
213
+			var dlvMgrTelNo = $('#ITP_AJAX_MCOLLMNG02010_VIEW_CONTAINER #ITP_FORM_MCOLLMNG02010_VIEW_DLV_MGR_TEL_NO').val();
214
 			if(dlvSchDt.length < 1) {
214
 			if(dlvSchDt.length < 1) {
215
 				alert('납품일자를 입력해 주세요.');
215
 				alert('납품일자를 입력해 주세요.');
216
 				return false;
216
 				return false;
@@ -225,14 +225,14 @@ let mobContentObj = {
225
 			}
225
 			}
226
 			var gridInsertData = [];
226
 			var gridInsertData = [];
227
 			var isValid = false;
227
 			var isValid = false;
228
-			$('#ITP_LIST_MORDMNG02010_VIEW_ITEM_AREA .panel-group > .list-row').each(function(index) {
228
+			$('#ITP_LIST_MCOLLMNG02010_VIEW_ITEM_AREA .panel-group > .list-row').each(function(index) {
229
 				var row = _this.rows[index];
229
 				var row = _this.rows[index];
230
 				var item = {
230
 				var item = {
231
 					'pchPodrDtlNo': row.pchPodrDtlNo,
231
 					'pchPodrDtlNo': row.pchPodrDtlNo,
232
 					'pchPodrUnqNo': row.pchPodrUnqNo,
232
 					'pchPodrUnqNo': row.pchPodrUnqNo,
233
-					'shmtQty': $(this).find('#ITP_FORM_MORDMNG02010_VIEW_SHMT_QTY').val(),
234
-					'expryDate': $(this).find('#ITP_FORM_MORDMNG02010_VIEW_EXPRY_DATE').val(),
235
-					'deliDesc': $(this).find('#ITP_FORM_MORDMNG02010_VIEW_DELI_DESC').val()
233
+					'shmtQty': $(this).find('#ITP_FORM_MCOLLMNG02010_VIEW_SHMT_QTY').val(),
234
+					'expryDate': $(this).find('#ITP_FORM_MCOLLMNG02010_VIEW_EXPRY_DATE').val(),
235
+					'deliDesc': $(this).find('#ITP_FORM_MCOLLMNG02010_VIEW_DELI_DESC').val()
236
 				};
236
 				};
237
 				if(row.expryYn === 'Y' && item.expryDate.length < 1) {
237
 				if(row.expryYn === 'Y' && item.expryDate.length < 1) {
238
 					alert('유통기한을 입력해 주세요.');
238
 					alert('유통기한을 입력해 주세요.');
@@ -267,10 +267,10 @@ let mobContentObj = {
267
 			}
267
 			}
268
 		},
268
 		},
269
 		cancel: function () {
269
 		cancel: function () {
270
-			var id = '#ITP_AJAX_MORDMNG02010_VIEW_CONTAINER';
271
-			$(id + ' #ITP_FORM_MORDMNG02010_VIEW_DLV_SCH_DT').val('');
272
-			$(id + ' #ITP_FORM_MORDMNG02010_VIEW_DLV_MGR_NM').val('');
273
-			$(id + ' #ITP_FORM_MORDMNG02010_VIEW_DLV_MGR_TEL_NO').val('');
270
+			var id = '#ITP_AJAX_MCOLLMNG02010_VIEW_CONTAINER';
271
+			$(id + ' #ITP_FORM_MCOLLMNG02010_VIEW_DLV_SCH_DT').val('');
272
+			$(id + ' #ITP_FORM_MCOLLMNG02010_VIEW_DLV_MGR_NM').val('');
273
+			$(id + ' #ITP_FORM_MCOLLMNG02010_VIEW_DLV_MGR_TEL_NO').val('');
274
 			$(id).find('.fnPchPodrDtlNo').text('');
274
 			$(id).find('.fnPchPodrDtlNo').text('');
275
 			$(id).find('.fnItemid').text('');
275
 			$(id).find('.fnItemid').text('');
276
 			$(id).find('.fnItemNm').text('');
276
 			$(id).find('.fnItemNm').text('');
@@ -280,7 +280,7 @@ let mobContentObj = {
280
 			$(id).find('.fnPodrQty').text('');
280
 			$(id).find('.fnPodrQty').text('');
281
 			$(id).find('.fnPodrAmt').text('');
281
 			$(id).find('.fnPodrAmt').text('');
282
 			$(id).find('.fnDlvReqDt').text('');
282
 			$(id).find('.fnDlvReqDt').text('');
283
-			$('#ITP_LIST_MORDMNG02010_VIEW_ITEM_AREA .panel-group').empty();
283
+			$('#ITP_LIST_MCOLLMNG02010_VIEW_ITEM_AREA .panel-group').empty();
284
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
284
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
285
 		}
285
 		}
286
 	}
286
 	}
@@ -288,7 +288,7 @@ let mobContentObj = {
288
 
288
 
289
 let mobPopObj = {
289
 let mobPopObj = {
290
 	popWhsNm: {
290
 	popWhsNm: {
291
-		popId: 'ITP_POP_MORDMNG02010_WHS_AREA',
291
+		popId: 'ITP_POP_MCOLLMNG02010_WHS_AREA',
292
 		rows: [],
292
 		rows: [],
293
 		init: function () {
293
 		init: function () {
294
 			this.rows.length = 0;
294
 			this.rows.length = 0;
@@ -298,19 +298,19 @@ let mobPopObj = {
298
 		},
298
 		},
299
 		search: function () {
299
 		search: function () {
300
 			var _this = this;
300
 			var _this = this;
301
-			$('#ITP_LIST_MORDMNG02010_POP_WHS_AREA .panel-group').empty();
301
+			$('#ITP_LIST_MCOLLMNG02010_POP_WHS_AREA .panel-group').empty();
302
 			var callbackFn = function(result) {
302
 			var callbackFn = function(result) {
303
 				console.log(result);
303
 				console.log(result);
304
 				_this.view(result.gridRows);
304
 				_this.view(result.gridRows);
305
 			};
305
 			};
306
-			const param = $('#ITP_FORM_MORDMNG02010_POP_WHS').serializeObject();
306
+			const param = $('#ITP_FORM_MCOLLMNG02010_POP_WHS').serializeObject();
307
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
307
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
308
 		},
308
 		},
309
 		view: function(gridRows) {
309
 		view: function(gridRows) {
310
 			this.rows = gridRows;
310
 			this.rows = gridRows;
311
 			$.each(gridRows, function (i, item) {
311
 			$.each(gridRows, function (i, item) {
312
-				$('#ITP_LIST_MORDMNG02010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MORDMNG02010_POP_WHS_ROWCOPY').html());
313
-				var $li = $('#ITP_LIST_MORDMNG02010_POP_WHS_AREA .panel-group > .list-row:last');
312
+				$('#ITP_LIST_MCOLLMNG02010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG02010_POP_WHS_ROWCOPY').html());
313
+				var $li = $('#ITP_LIST_MCOLLMNG02010_POP_WHS_AREA .panel-group > .list-row:last');
314
 				$li.find('.fnWhsNm').text(item.whsNm);
314
 				$li.find('.fnWhsNm').text(item.whsNm);
315
 				$li.find('.fnLocationNm').text(item.locationNm);
315
 				$li.find('.fnLocationNm').text(item.locationNm);
316
 				$li.find('.fnWhsId').data('whs-id', item.whsId);
316
 				$li.find('.fnWhsId').data('whs-id', item.whsId);
@@ -321,8 +321,8 @@ let mobPopObj = {
321
 			var whsId = $(elem).data('whs-id');
321
 			var whsId = $(elem).data('whs-id');
322
 			$.each(this.rows, function (i, item) {
322
 			$.each(this.rows, function (i, item) {
323
 				if(whsId === item.whsId) {
323
 				if(whsId === item.whsId) {
324
-					$('#ITP_FORM_MORDMNG02010_LIST_SEARCH #ITP_FORM_MORDMNG02010_LIST_SEARCH_WHS_ID').val(item.whsId);
325
-					$('#ITP_FORM_MORDMNG02010_LIST_SEARCH #ITP_FORM_MORDMNG02010_LIST_SEARCH_WHS_NM').val(item.whsNm);
324
+					$('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH #ITP_FORM_MCOLLMNG02010_LIST_SEARCH_WHS_ID').val(item.whsId);
325
+					$('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH #ITP_FORM_MCOLLMNG02010_LIST_SEARCH_WHS_NM').val(item.whsNm);
326
 					_this.close();
326
 					_this.close();
327
 					return false;
327
 					return false;
328
 				}
328
 				}
@@ -330,24 +330,24 @@ let mobPopObj = {
330
 		},
330
 		},
331
 		action: function() {
331
 		action: function() {
332
 			var _this = this;
332
 			var _this = this;
333
-			$('button[id^="ITP_BTN_MORDMNG02010_POP_WHS"]').off('click').on('click', function() {
333
+			$('button[id^="ITP_BTN_MCOLLMNG02010_POP_WHS"]').off('click').on('click', function() {
334
 				var id = $(this).attr('id');
334
 				var id = $(this).attr('id');
335
 				switch (id) {
335
 				switch (id) {
336
-					case 'ITP_BTN_MORDMNG02010_POP_WHS_SEARCH'	: _this.search();			break;
337
-					case 'ITP_BTN_MORDMNG02010_POP_WHS_CHOICE'	: _this.choice($(this)); 	break;
338
-					case 'ITP_BTN_MORDMNG02010_POP_WHS_CLOSE'	: _this.close(); 			break;
336
+					case 'ITP_BTN_MCOLLMNG02010_POP_WHS_SEARCH'	: _this.search();			break;
337
+					case 'ITP_BTN_MCOLLMNG02010_POP_WHS_CHOICE'	: _this.choice($(this)); 	break;
338
+					case 'ITP_BTN_MCOLLMNG02010_POP_WHS_CLOSE'	: _this.close(); 			break;
339
 				}
339
 				}
340
 				return false;
340
 				return false;
341
 			});
341
 			});
342
 		},
342
 		},
343
 		delete: function() {
343
 		delete: function() {
344
-			$('#ITP_FORM_MORDMNG02010_LIST_SEARCH #ITP_FORM_MORDMNG02010_LIST_SEARCH_WHS_ID').val('');
345
-			$('#ITP_FORM_MORDMNG02010_LIST_SEARCH #ITP_FORM_MORDMNG02010_LIST_SEARCH_WHS_NM').val('');
344
+			$('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH #ITP_FORM_MCOLLMNG02010_LIST_SEARCH_WHS_ID').val('');
345
+			$('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH #ITP_FORM_MCOLLMNG02010_LIST_SEARCH_WHS_NM').val('');
346
 		},
346
 		},
347
 		close: function() {
347
 		close: function() {
348
 			this.rows.length = 0;
348
 			this.rows.length = 0;
349
-			$('#ITP_POP_MORDMNG02010_LIST_WHS_AREA .panel-group').empty();
350
-			$('#ITP_FORM_MORDMNG02010_POP_WHS #ITP_FORM_MORDMNG02010_POP_WHS_KEYWORD').val('');
349
+			$('#ITP_POP_MCOLLMNG02010_LIST_WHS_AREA .panel-group').empty();
350
+			$('#ITP_FORM_MCOLLMNG02010_POP_WHS #ITP_FORM_MCOLLMNG02010_POP_WHS_KEYWORD').val('');
351
 			mobPopObj.hide(this.popId);
351
 			mobPopObj.hide(this.popId);
352
 		}
352
 		}
353
 	},
353
 	},

+ 50 - 50
src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG03010.js

@@ -34,8 +34,8 @@ let mobPageObj = {
34
 			});
34
 			});
35
 
35
 
36
 			// 조회일자 지정
36
 			// 조회일자 지정
37
-			$('#ITP_FORM_MORDMNG03010_LIST_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
38
-			$('#ITP_FORM_MORDMNG03010_LIST_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
37
+			$('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
38
+			$('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
39
 		},
39
 		},
40
 		info: function() {
40
 		info: function() {
41
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
41
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
@@ -48,44 +48,44 @@ let mobPageObj = {
48
 			this.button();
48
 			this.button();
49
 		},
49
 		},
50
 		button: function() {
50
 		button: function() {
51
-			$('button[id^="ITP_BTN_MORDMNG03010_LIST"]').on('click', function() {
51
+			$('button[id^="ITP_BTN_MCOLLMNG03010_LIST"]').on('click', function() {
52
 				var id = $(this).attr('id');
52
 				var id = $(this).attr('id');
53
 				switch (id) {
53
 				switch (id) {
54
-					case 'ITP_BTN_MORDMNG03010_LIST_SEARCH_WHS_NM'	: mobPopObj.popWhsNm.init(); 	break;
55
-					case 'ITP_BTN_MORDMNG03010_LIST_DELETE_WHS_NM'	: mobPopObj.popWhsNm.delete(); 	break;
56
-					case 'ITP_BTN_MORDMNG03010_LIST_SEARCH'			: mobContentObj.list.search();	break;
54
+					case 'ITP_BTN_MCOLLMNG03010_LIST_SEARCH_WHS_NM'	: mobPopObj.popWhsNm.init(); 	break;
55
+					case 'ITP_BTN_MCOLLMNG03010_LIST_DELETE_WHS_NM'	: mobPopObj.popWhsNm.delete(); 	break;
56
+					case 'ITP_BTN_MCOLLMNG03010_LIST_SEARCH'			: mobContentObj.list.search();	break;
57
 				}
57
 				}
58
 				return false;
58
 				return false;
59
 			});
59
 			});
60
 
60
 
61
-			$('button[id^="ITP_BTN_MORDMNG03010_VIEW"]').on('click', function() {
61
+			$('button[id^="ITP_BTN_MCOLLMNG03010_VIEW"]').on('click', function() {
62
 				var id = $(this).attr('id');
62
 				var id = $(this).attr('id');
63
 				switch (id) {
63
 				switch (id) {
64
-					case 'ITP_BTN_MORDMNG03010_VIEW_ADD'			: mobContentObj.view.add();	break;
65
-					case 'ITP_BTN_MORDMNG03010_VIEW_CANCEL_LIST'	: mobContentObj.view.cancel();	break;
64
+					case 'ITP_BTN_MCOLLMNG03010_VIEW_ADD'			: mobContentObj.view.add();	break;
65
+					case 'ITP_BTN_MCOLLMNG03010_VIEW_CANCEL_LIST'	: mobContentObj.view.cancel();	break;
66
 				}
66
 				}
67
 				return false;
67
 				return false;
68
 			});
68
 			});
69
 
69
 
70
-			$(document).on('click', '#ITP_LIST_MORDMNG03010_LIST_ITEM_ROWS li', function() {
70
+			$(document).on('click', '#ITP_LIST_MCOLLMNG03010_LIST_ITEM_ROWS li', function() {
71
 				var item = mobContentObj.list.rows[$(this).index()];
71
 				var item = mobContentObj.list.rows[$(this).index()];
72
 				mobContentObj.view.init(item);
72
 				mobContentObj.view.init(item);
73
 			});
73
 			});
74
 
74
 
75
-			$(document).on('click', '#ITP_LIST_MORDMNG03010_POP_WHS_ROWS li button', function() {
75
+			$(document).on('click', '#ITP_LIST_MCOLLMNG03010_POP_WHS_ROWS li button', function() {
76
 				mobPopObj.popWhsNm.choice($(this));
76
 				mobPopObj.popWhsNm.choice($(this));
77
 			});
77
 			});
78
 		}
78
 		}
79
 	},
79
 	},
80
 	switchScreen: function(mode) {
80
 	switchScreen: function(mode) {
81
-		$('#ITP_MOBILE_MORDMNG03010').find('div[id$="_CONTAINER"]').each(function(i) {
81
+		$('#ITP_MOBILE_MCOLLMNG03010').find('div[id$="_CONTAINER"]').each(function(i) {
82
 			$(this).hide();
82
 			$(this).hide();
83
 		});
83
 		});
84
 		if(mode === PAGE_MODE_LIST) {
84
 		if(mode === PAGE_MODE_LIST) {
85
-			$('#ITP_AJAX_MORDMNG03010_LIST_CONTAINER').show();
85
+			$('#ITP_AJAX_MCOLLMNG03010_LIST_CONTAINER').show();
86
 			this.moreView(true);
86
 			this.moreView(true);
87
 		} else if(mode === PAGE_MODE_VIEW) {
87
 		} else if(mode === PAGE_MODE_VIEW) {
88
-			$('#ITP_AJAX_MORDMNG03010_VIEW_CONTAINER').show();
88
+			$('#ITP_AJAX_MCOLLMNG03010_VIEW_CONTAINER').show();
89
 			this.moreView(false);
89
 			this.moreView(false);
90
 		}
90
 		}
91
 		this.viewMode = mode;
91
 		this.viewMode = mode;
@@ -93,7 +93,7 @@ let mobPageObj = {
93
 	moreView: function(isScroll) {
93
 	moreView: function(isScroll) {
94
 		var _this = this;
94
 		var _this = this;
95
 		if(isScroll) {
95
 		if(isScroll) {
96
-			$('#ITP_LIST_MORDMNG03010_LIST_ITEM_AREA').on('scroll', function () {
96
+			$('#ITP_LIST_MCOLLMNG03010_LIST_ITEM_AREA').on('scroll', function () {
97
 				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
97
 				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
98
 					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
98
 					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
99
 						if(!mobContentObj.list.isSearch) {
99
 						if(!mobContentObj.list.isSearch) {
@@ -103,7 +103,7 @@ let mobPageObj = {
103
 				}
103
 				}
104
 			});
104
 			});
105
 		} else {
105
 		} else {
106
-			$('#ITP_LIST_MORDMNG03010_LIST_AREA').off('scroll');
106
+			$('#ITP_LIST_MCOLLMNG03010_LIST_AREA').off('scroll');
107
 		}
107
 		}
108
 	},
108
 	},
109
 	ready: function() {
109
 	ready: function() {
@@ -126,7 +126,7 @@ let mobContentObj = {
126
 			this.listPage = 0;
126
 			this.listPage = 0;
127
 			this.totPage = 0;
127
 			this.totPage = 0;
128
 			this.rows.length = 0;
128
 			this.rows.length = 0;
129
-			$('#ITP_LIST_MORDMNG03010_LIST_ITEM_ROWS').empty();
129
+			$('#ITP_LIST_MCOLLMNG03010_LIST_ITEM_ROWS').empty();
130
 			this.load();
130
 			this.load();
131
 		},
131
 		},
132
 		load: function() {
132
 		load: function() {
@@ -137,8 +137,8 @@ let mobContentObj = {
137
 				_this.isSearch = false;
137
 				_this.isSearch = false;
138
 				_this.totPage = result.gridTotal;
138
 				_this.totPage = result.gridTotal;
139
 				$.each(result.gridRows, function (i, item) {
139
 				$.each(result.gridRows, function (i, item) {
140
-					$('#ITP_LIST_MORDMNG03010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MORDMNG03010_LIST_ITEM_ROWCOPY').html());
141
-					var $li = $('#ITP_LIST_MORDMNG03010_LIST_ITEM_AREA .panel-group > .list-row:last');
140
+					$('#ITP_LIST_MCOLLMNG03010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG03010_LIST_ITEM_ROWCOPY').html());
141
+					var $li = $('#ITP_LIST_MCOLLMNG03010_LIST_ITEM_AREA .panel-group > .list-row:last');
142
 					$li.find('.fnBrandNm').text(item.brandNm);
142
 					$li.find('.fnBrandNm').text(item.brandNm);
143
 					$li.find('.fnPchPodrUnqNo').text(item.pchPodrUnqNo);
143
 					$li.find('.fnPchPodrUnqNo').text(item.pchPodrUnqNo);
144
 					$li.find('.fnPchPodrDtlNo').text(item.pchPodrDtlNo);
144
 					$li.find('.fnPchPodrDtlNo').text(item.pchPodrDtlNo);
@@ -154,7 +154,7 @@ let mobContentObj = {
154
 				});
154
 				});
155
 			};
155
 			};
156
 			var errFn = function() { _this.isSearch = false;};
156
 			var errFn = function() { _this.isSearch = false;};
157
-			const param = $('#ITP_FORM_MORDMNG03010_LIST_SEARCH').serializeObject();
157
+			const param = $('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH').serializeObject();
158
 			param.gridPage = ++this.listPage;
158
 			param.gridPage = ++this.listPage;
159
 			param.gridSize = this.listSize;
159
 			param.gridSize = this.listSize;
160
 			param.fromDt = param.fromDt.replace(/-/g, ".");
160
 			param.fromDt = param.fromDt.replace(/-/g, ".");
@@ -183,7 +183,7 @@ let mobContentObj = {
183
 		},
183
 		},
184
 		view: function(result) {
184
 		view: function(result) {
185
 			var _this = this;
185
 			var _this = this;
186
-			var id = '#ITP_AJAX_MORDMNG03010_VIEW_CONTAINER';
186
+			var id = '#ITP_AJAX_MCOLLMNG03010_VIEW_CONTAINER';
187
 			$(id).find('.fnBrandNm').text(result.brandNm);
187
 			$(id).find('.fnBrandNm').text(result.brandNm);
188
 			$(id).find('.fnPchPodrUnqNo').text(result.pchPodrUnqNo);
188
 			$(id).find('.fnPchPodrUnqNo').text(result.pchPodrUnqNo);
189
 			$(id).find('.fnDlvRegDt').text(result.dlvReqDt);
189
 			$(id).find('.fnDlvRegDt').text(result.dlvReqDt);
@@ -191,8 +191,8 @@ let mobContentObj = {
191
 			$(id).find('.fnWhsNm').text(result.whsNm);
191
 			$(id).find('.fnWhsNm').text(result.whsNm);
192
 			$(id).find('.fnDeliTelNo').text(result.deliTelNo);
192
 			$(id).find('.fnDeliTelNo').text(result.deliTelNo);
193
 			$.each(result.invPoInfoList, function (i, item) {
193
 			$.each(result.invPoInfoList, function (i, item) {
194
-				$('#ITP_LIST_MORDMNG03010_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MORDMNG03010_VIEW_ITEM_ROWCOPY').html());
195
-				var $li = $('#ITP_LIST_MORDMNG03010_VIEW_ITEM_AREA .panel-group > .list-row:last');
194
+				$('#ITP_LIST_MCOLLMNG03010_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG03010_VIEW_ITEM_ROWCOPY').html());
195
+				var $li = $('#ITP_LIST_MCOLLMNG03010_VIEW_ITEM_AREA .panel-group > .list-row:last');
196
 				$li.find('.fnPchPodrDtlNo').text(item.pchPodrDtlNo);
196
 				$li.find('.fnPchPodrDtlNo').text(item.pchPodrDtlNo);
197
 				$li.find('.fnItemId').text(item.itemId);
197
 				$li.find('.fnItemId').text(item.itemId);
198
 				$li.find('.fnItemNm').text(item.itemNm);
198
 				$li.find('.fnItemNm').text(item.itemNm);
@@ -207,9 +207,9 @@ let mobContentObj = {
207
 		add: function() {
207
 		add: function() {
208
 			var _this = this;
208
 			var _this = this;
209
 			var param = {};
209
 			var param = {};
210
-			var dlvSchDt = $('#ITP_AJAX_MORDMNG03010_VIEW_CONTAINER #ITP_FORM_MORDMNG03010_VIEW_DLV_SCH_DT').val();
211
-			var dlvMgrNm = $('#ITP_AJAX_MORDMNG03010_VIEW_CONTAINER #ITP_FORM_MORDMNG03010_VIEW_DLV_MGR_NM').val();
212
-			var dlvMgrTelNo = $('#ITP_AJAX_MORDMNG03010_VIEW_CONTAINER #ITP_FORM_MORDMNG03010_VIEW_DLV_MGR_TEL_NO').val();
210
+			var dlvSchDt = $('#ITP_AJAX_MCOLLMNG03010_VIEW_CONTAINER #ITP_FORM_MCOLLMNG03010_VIEW_DLV_SCH_DT').val();
211
+			var dlvMgrNm = $('#ITP_AJAX_MCOLLMNG03010_VIEW_CONTAINER #ITP_FORM_MCOLLMNG03010_VIEW_DLV_MGR_NM').val();
212
+			var dlvMgrTelNo = $('#ITP_AJAX_MCOLLMNG03010_VIEW_CONTAINER #ITP_FORM_MCOLLMNG03010_VIEW_DLV_MGR_TEL_NO').val();
213
 			if(dlvSchDt.length < 1) {
213
 			if(dlvSchDt.length < 1) {
214
 				alert('납품일자를 입력해 주세요.');
214
 				alert('납품일자를 입력해 주세요.');
215
 				return false;
215
 				return false;
@@ -224,14 +224,14 @@ let mobContentObj = {
224
 			}
224
 			}
225
 			var gridInsertData = [];
225
 			var gridInsertData = [];
226
 			var isValid = false;
226
 			var isValid = false;
227
-			$('#ITP_LIST_MORDMNG03010_VIEW_ITEM_AREA .panel-group > .list-row').each(function(index) {
227
+			$('#ITP_LIST_MCOLLMNG03010_VIEW_ITEM_AREA .panel-group > .list-row').each(function(index) {
228
 				var row = _this.rows[index];
228
 				var row = _this.rows[index];
229
 				var item = {
229
 				var item = {
230
 					'pchPodrDtlNo': row.pchPodrDtlNo,
230
 					'pchPodrDtlNo': row.pchPodrDtlNo,
231
 					'pchPodrUnqNo': row.pchPodrUnqNo,
231
 					'pchPodrUnqNo': row.pchPodrUnqNo,
232
-					'shmtQty': $(this).find('#ITP_FORM_MORDMNG03010_VIEW_SHMT_QTY').val(),
233
-					'expryDate': $(this).find('#ITP_FORM_MORDMNG03010_VIEW_EXPRY_DATE').val(),
234
-					'deliDesc': $(this).find('#ITP_FORM_MORDMNG03010_VIEW_DELI_DESC').val()
232
+					'shmtQty': $(this).find('#ITP_FORM_MCOLLMNG03010_VIEW_SHMT_QTY').val(),
233
+					'expryDate': $(this).find('#ITP_FORM_MCOLLMNG03010_VIEW_EXPRY_DATE').val(),
234
+					'deliDesc': $(this).find('#ITP_FORM_MCOLLMNG03010_VIEW_DELI_DESC').val()
235
 				};
235
 				};
236
 				if(row.expryYn === 'Y' && item.expryDate.length < 1) {
236
 				if(row.expryYn === 'Y' && item.expryDate.length < 1) {
237
 					alert('유통기한을 입력해 주세요.');
237
 					alert('유통기한을 입력해 주세요.');
@@ -266,10 +266,10 @@ let mobContentObj = {
266
 			}
266
 			}
267
 		},
267
 		},
268
 		cancel: function () {
268
 		cancel: function () {
269
-			var id = '#ITP_AJAX_MORDMNG03010_VIEW_CONTAINER';
270
-			$(id + ' #ITP_FORM_MORDMNG03010_VIEW_DLV_SCH_DT').val('');
271
-			$(id + ' #ITP_FORM_MORDMNG03010_VIEW_DLV_MGR_NM').val('');
272
-			$(id + ' #ITP_FORM_MORDMNG03010_VIEW_DLV_MGR_TEL_NO').val('');
269
+			var id = '#ITP_AJAX_MCOLLMNG03010_VIEW_CONTAINER';
270
+			$(id + ' #ITP_FORM_MCOLLMNG03010_VIEW_DLV_SCH_DT').val('');
271
+			$(id + ' #ITP_FORM_MCOLLMNG03010_VIEW_DLV_MGR_NM').val('');
272
+			$(id + ' #ITP_FORM_MCOLLMNG03010_VIEW_DLV_MGR_TEL_NO').val('');
273
 			$(id).find('.fnPchPodrDtlNo').text('');
273
 			$(id).find('.fnPchPodrDtlNo').text('');
274
 			$(id).find('.fnItemid').text('');
274
 			$(id).find('.fnItemid').text('');
275
 			$(id).find('.fnItemNm').text('');
275
 			$(id).find('.fnItemNm').text('');
@@ -279,7 +279,7 @@ let mobContentObj = {
279
 			$(id).find('.fnPodrQty').text('');
279
 			$(id).find('.fnPodrQty').text('');
280
 			$(id).find('.fnPodrAmt').text('');
280
 			$(id).find('.fnPodrAmt').text('');
281
 			$(id).find('.fnDlvReqDt').text('');
281
 			$(id).find('.fnDlvReqDt').text('');
282
-			$('#ITP_LIST_MORDMNG03010_VIEW_ITEM_AREA .panel-group').empty();
282
+			$('#ITP_LIST_MCOLLMNG03010_VIEW_ITEM_AREA .panel-group').empty();
283
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
283
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
284
 		}
284
 		}
285
 	}
285
 	}
@@ -287,7 +287,7 @@ let mobContentObj = {
287
 
287
 
288
 let mobPopObj = {
288
 let mobPopObj = {
289
 	popWhsNm: {
289
 	popWhsNm: {
290
-		popId: 'ITP_POP_MORDMNG03010_WHS_AREA',
290
+		popId: 'ITP_POP_MCOLLMNG03010_WHS_AREA',
291
 		rows: [],
291
 		rows: [],
292
 		init: function () {
292
 		init: function () {
293
 			this.rows.length = 0;
293
 			this.rows.length = 0;
@@ -297,19 +297,19 @@ let mobPopObj = {
297
 		},
297
 		},
298
 		search: function () {
298
 		search: function () {
299
 			var _this = this;
299
 			var _this = this;
300
-			$('#ITP_LIST_MORDMNG03010_POP_WHS_AREA .panel-group').empty();
300
+			$('#ITP_LIST_MCOLLMNG03010_POP_WHS_AREA .panel-group').empty();
301
 			var callbackFn = function(result) {
301
 			var callbackFn = function(result) {
302
 				console.log(result);
302
 				console.log(result);
303
 				_this.view(result.gridRows);
303
 				_this.view(result.gridRows);
304
 			};
304
 			};
305
-			const param = $('#ITP_FORM_MORDMNG03010_POP_WHS').serializeObject();
305
+			const param = $('#ITP_FORM_MCOLLMNG03010_POP_WHS').serializeObject();
306
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
306
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
307
 		},
307
 		},
308
 		view: function(gridRows) {
308
 		view: function(gridRows) {
309
 			this.rows = gridRows;
309
 			this.rows = gridRows;
310
 			$.each(gridRows, function (i, item) {
310
 			$.each(gridRows, function (i, item) {
311
-				$('#ITP_LIST_MORDMNG03010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MORDMNG03010_POP_WHS_ROWCOPY').html());
312
-				var $li = $('#ITP_LIST_MORDMNG03010_POP_WHS_AREA .panel-group > .list-row:last');
311
+				$('#ITP_LIST_MCOLLMNG03010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MCOLLMNG03010_POP_WHS_ROWCOPY').html());
312
+				var $li = $('#ITP_LIST_MCOLLMNG03010_POP_WHS_AREA .panel-group > .list-row:last');
313
 				$li.find('.fnWhsNm').text(item.whsNm);
313
 				$li.find('.fnWhsNm').text(item.whsNm);
314
 				$li.find('.fnLocationNm').text(item.locationNm);
314
 				$li.find('.fnLocationNm').text(item.locationNm);
315
 				$li.find('.fnWhsId').data('whs-id', item.whsId);
315
 				$li.find('.fnWhsId').data('whs-id', item.whsId);
@@ -320,8 +320,8 @@ let mobPopObj = {
320
 			var whsId = $(elem).data('whs-id');
320
 			var whsId = $(elem).data('whs-id');
321
 			$.each(this.rows, function (i, item) {
321
 			$.each(this.rows, function (i, item) {
322
 				if(whsId === item.whsId) {
322
 				if(whsId === item.whsId) {
323
-					$('#ITP_FORM_MORDMNG03010_LIST_SEARCH #ITP_FORM_MORDMNG03010_LIST_SEARCH_WHS_ID').val(item.whsId);
324
-					$('#ITP_FORM_MORDMNG03010_LIST_SEARCH #ITP_FORM_MORDMNG03010_LIST_SEARCH_WHS_NM').val(item.whsNm);
323
+					$('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH #ITP_FORM_MCOLLMNG03010_LIST_SEARCH_WHS_ID').val(item.whsId);
324
+					$('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH #ITP_FORM_MCOLLMNG03010_LIST_SEARCH_WHS_NM').val(item.whsNm);
325
 					_this.close();
325
 					_this.close();
326
 					return false;
326
 					return false;
327
 				}
327
 				}
@@ -329,24 +329,24 @@ let mobPopObj = {
329
 		},
329
 		},
330
 		action: function() {
330
 		action: function() {
331
 			var _this = this;
331
 			var _this = this;
332
-			$('button[id^="ITP_BTN_MORDMNG03010_POP_WHS"]').off('click').on('click', function() {
332
+			$('button[id^="ITP_BTN_MCOLLMNG03010_POP_WHS"]').off('click').on('click', function() {
333
 				var id = $(this).attr('id');
333
 				var id = $(this).attr('id');
334
 				switch (id) {
334
 				switch (id) {
335
-					case 'ITP_BTN_MORDMNG03010_POP_WHS_SEARCH'	: _this.search();			break;
336
-					case 'ITP_BTN_MORDMNG03010_POP_WHS_CHOICE'	: _this.choice($(this)); 	break;
337
-					case 'ITP_BTN_MORDMNG03010_POP_WHS_CLOSE'	: _this.close(); 			break;
335
+					case 'ITP_BTN_MCOLLMNG03010_POP_WHS_SEARCH'	: _this.search();			break;
336
+					case 'ITP_BTN_MCOLLMNG03010_POP_WHS_CHOICE'	: _this.choice($(this)); 	break;
337
+					case 'ITP_BTN_MCOLLMNG03010_POP_WHS_CLOSE'	: _this.close(); 			break;
338
 				}
338
 				}
339
 				return false;
339
 				return false;
340
 			});
340
 			});
341
 		},
341
 		},
342
 		delete: function() {
342
 		delete: function() {
343
-			$('#ITP_FORM_MORDMNG03010_LIST_SEARCH #ITP_FORM_MORDMNG03010_LIST_SEARCH_WHS_ID').val('');
344
-			$('#ITP_FORM_MORDMNG03010_LIST_SEARCH #ITP_FORM_MORDMNG03010_LIST_SEARCH_WHS_NM').val('');
343
+			$('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH #ITP_FORM_MCOLLMNG03010_LIST_SEARCH_WHS_ID').val('');
344
+			$('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH #ITP_FORM_MCOLLMNG03010_LIST_SEARCH_WHS_NM').val('');
345
 		},
345
 		},
346
 		close: function() {
346
 		close: function() {
347
 			this.rows.length = 0;
347
 			this.rows.length = 0;
348
-			$('#ITP_POP_MORDMNG03010_LIST_WHS_AREA .panel-group').empty();
349
-			$('#ITP_FORM_MORDMNG03010_POP_WHS #ITP_FORM_MORDMNG03010_POP_WHS_KEYWORD').val('');
348
+			$('#ITP_POP_MCOLLMNG03010_LIST_WHS_AREA .panel-group').empty();
349
+			$('#ITP_FORM_MCOLLMNG03010_POP_WHS #ITP_FORM_MCOLLMNG03010_POP_WHS_KEYWORD').val('');
350
 			mobPopObj.hide(this.popId);
350
 			mobPopObj.hide(this.popId);
351
 		}
351
 		}
352
 	},
352
 	},