Procházet zdrojové kódy

Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view

yhl88 před 2 roky
rodič
revize
72806ce740

+ 19 - 17
src/main/webapp/app/pomng/POMNG07010.html

@@ -27,23 +27,6 @@
27 27
 											</div>
28 28
 										</div>
29 29
 										<div class="col-xs-2 itp_ip itp_noMar" style="width:9.6%;"></div>
30
-										<div class="col-xs-4 itp_ip itp_noMar">
31
-											<input type="text" id="ITP_FORM_POMNG07010_SEARCH_PCH_PODR_UNQ_NO" class="form-control itp_input" name="spchPodrUnqNo" placeholder="발주번호" />
32
-										</div>
33
-									</div>
34
-									<div class="form-group" style="padding-top: 10px; border-top: 1px dotted #ccc;">
35
-										<div class="col-xs-2 itp_ip itp_noMar">
36
-											<div class="input-group">
37
-											<input type="text" id="ITP_FORM_POMNG07010_DETAIL_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체" readonly/>
38
-											<input type="hidden" id="ITP_FORM_POMNG07010_DETAIL_SPPLY_ID" class="form-control itp_input" name="sspplyId" />
39
-												<span class="input-group-btn">
40
-													<button id="ITP_BTN_POMNG07010_DELETE_SPPLY_ID" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-remove"></i></button>
41
-												</span>
42
-											</div>
43
-										</div>	
44
-										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
45
-											<button type="button" id="ITP_BTN_POMNG07010_SEARCH_SPPLY_ID" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
46
-										</div>
47 30
 										<div class="col-xs-2 itp_ip itp_noMar">
48 31
 											<div class="input-group">
49 32
 											<input type="text" id="ITP_FORM_POMNG07010_DETAIL_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="매장/창고" readonly/>
@@ -56,6 +39,25 @@
56 39
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:10%;">
57 40
 											<button type="button" id="ITP_BTN_POMNG07010_SEARCH_WHS_ID" class="btn btn-success	 btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
58 41
 										</div>
42
+									</div>
43
+									<div class="form-group" style="padding-top: 10px; border-top: 1px dotted #ccc;">
44
+										<div class="brandSearchCond">
45
+											<div class="col-xs-2 itp_ip itp_noMar">
46
+												<div class="input-group">
47
+												<input type="text" id="ITP_FORM_POMNG07010_DETAIL_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체" readonly/>
48
+												<input type="hidden" id="ITP_FORM_POMNG07010_DETAIL_SPPLY_ID" class="form-control itp_input" name="sspplyId" />
49
+													<span class="input-group-btn">
50
+														<button id="ITP_BTN_POMNG07010_DELETE_SPPLY_ID" class="btn btn-default btn-sm UPB" type="button" style="padding:3.8px 10px;"><i class="glyphicon glyphicon-remove"></i></button>
51
+													</span>
52
+												</div>
53
+											</div>	
54
+											<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">
55
+												<button type="button" id="ITP_BTN_POMNG07010_SEARCH_SPPLY_ID" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
56
+											</div>
57
+										</div>
58
+										<div class="col-xs-4 itp_ip itp_noMar">
59
+											<input type="text" id="ITP_FORM_POMNG07010_SEARCH_PCH_PODR_UNQ_NO" class="form-control itp_input" name="spchPodrUnqNo" placeholder="발주번호" />
60
+										</div>
59 61
 										<div class="col-xs-4 itp_ip itp_noMar">
60 62
 											<input type="text" id="ITP_FORM_POMNG07010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="품목번호 or 품목명" />
61 63
 										</div>

+ 12 - 1
src/main/webapp/js/app/pomng/ITP_POMNG07010.js

@@ -181,6 +181,11 @@ let pageObj = {
181 181
 			$('#ITP_FORM_POMNG07010_SEARCH_TO_DT').datepicker('setDate', defaultToDate);
182 182
 			
183 183
 			$('#ITP_BTN_POMNG07010_EXCEL').show();
184
+			
185
+			if (fn_make_user_info.get('storeId') != '') {
186
+				$('.brandSearchCond').hide();	
187
+			}
188
+			
184 189
 		},
185 190
 		grid: function() {
186 191
 			itp_fn_jqgrid_resize(POMNG07010_GRID_ID, POMNG07010_GRID_LIST, 'lg');
@@ -358,7 +363,13 @@ let listObj = {
358 363
 			const key = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId')};
359 364
 			fn_call_popup('biz', 'BIZPOP_STORE_SPPLY', '#ITP_ASIDE', popFn, key, 'S');
360 365
 		} else if(keyword === 'whs'){
361
-			const key1 = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId'), whsDvsn:""};
366
+			var whsdvsn = "W01";
367
+			if (fn_make_user_info.get('storeId') != '') {
368
+				whsdvsn = "W02";
369
+			}
370
+			
371
+			
372
+			const key1 = {brandId:fn_make_user_info.get('brandId'),storeId:fn_make_user_info.get('storeId'), whsDvsn:whsdvsn};
362 373
 			fn_call_popup('biz', 'BIZPOP_WHS_LOCATION', '#ITP_ASIDE', popFn, key1, 'S');
363 374
 		}
364 375
 	},

+ 16 - 1
src/main/webapp/js/app/stockmng/ITP_STOCKMNG04010.js

@@ -208,7 +208,10 @@ let pageObj = {
208 208
 			fn_make_select(CODE_LIST, 'WHS_ST_CD', 'ITP_FORM_STOCKMNG04010_DETAIL_WHS_ST_CD', true, '선택');
209 209
 
210 210
 			// 조회일자 지정
211
-			$('#ITP_TAB_STOCKMNG04010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);			
211
+			$('#ITP_TAB_STOCKMNG04010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);		
212
+			
213
+			
214
+			$('#ITP_FORM_STOCKMNG04010_WHS_DVSN').val("W01");
212 215
 		},
213 216
 		grid: function() {
214 217
 			itp_fn_jqgrid_resize(STOCKMNG04010_GRID_ID, STOCKMNG04010_GRID_LIST, 'lg');
@@ -531,11 +534,23 @@ let modifyObj = {
531 534
 	},
532 535
 	button: {
533 536
 		modify: function (param) {
537
+			var storeId = $('#ITP_FORM_STOCKMNG04010_VIEW_STORE_ID').val();
538
+			if (storeId != '') {
539
+				console.log(fn_make_user_info.get('storeId'));
540
+				if (fn_make_user_info.get('storeId') != storeId) {
541
+					alert("매장 창고는 매장담당자만 수정 가능합니다.");
542
+					return;
543
+				}
544
+			}
545
+			
534 546
 			itp_fn_form_clear_validate(null, '#ITP_FORM_STOCKMNG04010_DETAIL');
535 547
 			const brandIdVal = $('#ITP_FORM_STOCKMNG04010_VIEW_BRAND_ID').val();
536 548
 			const whsIdVal = $('#ITP_FORM_STOCKMNG04010_VIEW_WHS_ID').val();
537 549
 			const key = {brandId: brandIdVal, whsId: whsIdVal, storeId: '', viewCd: 'R'};
538 550
 			var param = $.param(key);
551
+			
552
+			console.log(param);
553
+			
539 554
 			modifyObj.load(param);
540 555
 		}
541 556
 	},

+ 7 - 207
src/main/webapp/mobile/app/mpomng/MPOMNG01010.html

@@ -54,15 +54,15 @@
54 54
       </div>
55 55
       <div id="ITP_LIST_MPOMNG01010_ITEM_AREA" class="scroll_area row-1-1">
56 56
         <ul id="ITP_LIST_MPOMNG01010_DETAIL_ROWS" class="mb_0 panel-group"></ul>
57
+         <!--   검색된 데이터가 없습니다  -->
58
+         <div class="itp_non_data" style="display:none;">
59
+            <div>검색된 데이터가 없습니다.</div>
60
+         </div>
57 61
         <div id="ITP_LIST_MPOMNG01010_DETAIL_ROWCOPY" style="display: none;">
58
-      <!--   검색된 데이터가 없습니다  -->
59
-      	<div class="itp_non_data" style="display:none;">
60
-      		<div>검색된 데이터가 없습니다.</div>
61
-      	</div>
62 62
           <li class="list-row">
63 63
             <div class="left_info">
64 64
               <div class="check_box">
65
-                <div style="display:none;"><input type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" /></div>
65
+                <input type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" />
66 66
               </div>
67 67
               <div class="thick">
68 68
                 <div class="itp_item fnItemNm">품목명</div>
@@ -150,206 +150,6 @@
150 150
             </div>
151 151
         </div>
152 152
     </div>
153
-    <!-- 선불매장결제 -->
154
-    <div id="ITP_POP_MPOMNG01010_AMT_ADV_AREA" class="popup mobile-pop-close" style="display: none;">
155
-        <div class="pop">
156
-            <div class="pop_line">
157
-	            <div class="itp_label_area">
158
-	                <label>납품요청일</label>
159
-	            </div>
160
-	            <div class="itp_info_area">
161
-	                <div class="fnPopDlvReqDt"></div>
162
-	            </div>
163
-            </div>
164
-            <div class="pop_line">
165
-	            <div class="itp_label_area">
166
-              		<label>품목수</label>
167
-	            </div>
168
-   	            <div class="itp_info_area">
169
-                	<div class="fnItemQty"></div>
170
-                </div>
171
-            </div>
172
-            <div class="pop_line">
173
-              	<div class="itp_label_area">
174
-                	<label>구매요청금액 </label>
175
-                </div>
176
-                <div class="itp_info_area">
177
-                	<div class="fnOrdReqAmt"></div>
178
-                </div>
179
-            </div>
180
-            <div class="pop_line">
181
-              	<div class="itp_label_area">
182
-                	<label>구매가능금액 </label>
183
-                </div>
184
-                <div class="itp_info_area">
185
-                	<div class="fnOrdPssblAmt"></div>
186
-                </div>
187
-            </div>
188
-            <div class="pop_line border">
189
-              	<div class="itp_label_area">
190
-                	<label>구매금액 </label>
191
-                </div>
192
-                <div class="itp_info_area">
193
-                	<div class="fnOrdAmt"></div>
194
-                </div>
195
-            </div>
196
-            <div class="pop_msg">   선불매장이므로 결재를 하셔야 구매요청이 진행이 됩니다. <br>결재를 하시겠습니까?</div>
197
-            <div class="popup_btn">
198
-                <button id="ITP_BTN_MPOMNG01010_POP_AMT_ADV_CLOSE" class="cancel btn-gray CLB btn-pop-close">취소</button>
199
-                <button id="ITP_BTN_MPOMNG01010_POP_AMT_ADV_CONFIRM" class="ok btn-primary COK">결제</button>
200
-            </div>
201
-        </div>
202
-    </div>
203
-    <!-- 구매한도부족 -->
204
-    <div id="ITP_POP_MPOMNG01010_AMT_LMT_AREA" class="popup mobile-pop-close" style="display: none;">
205
-        <div class="pop">
206
-            <div class="pop_line">
207
-	            <div class="itp_label_area">
208
-	                <label>납품요청일</label>
209
-	            </div>
210
-	            <div class="itp_info_area">
211
-	                <div class="fnPopDlvReqDt"></div>
212
-	            </div>
213
-            </div>
214
-            <div class="pop_line">
215
-	            <div class="itp_label_area">
216
-              		<label>품목수</label>
217
-	            </div>
218
-   	            <div class="itp_info_area">
219
-                	<div class="fnItemQty"></div>
220
-                </div>
221
-            </div>
222
-            <div class="pop_line">
223
-              	<div class="itp_label_area">
224
-                	<label>구매요청금액 </label>
225
-                </div>
226
-                <div class="itp_info_area">
227
-                	<div class="fnOrdReqAmt"></div>
228
-                </div>
229
-            </div>
230
-            <div class="pop_line">
231
-              	<div class="itp_label_area">
232
-                	<label>구매가능금액 </label>
233
-                </div>
234
-                <div class="itp_info_area">
235
-                	<div class="fnOrdPssblAmt"></div>
236
-                </div>
237
-            </div>
238
-            <div class="pop_line border">
239
-              	<div class="itp_label_area">
240
-                	<label>구매금액 </label>
241
-                </div>
242
-                <div class="itp_info_area">
243
-                	<div class="fnOrdAmt"></div>
244
-                </div>
245
-            </div>
246
-            <div class="pop_msg">구매한도가 부족합니다.<br>선결재를 하신 후에 구매요청을 하시기 바랍니다.<br> 결재 버튼을 누르시면 임시 저장 후 결재가 진행이 됩니다.<br>결재를 하시겠습니까?</div>
247
-            <div class="popup_btn">
248
-                <button id="ITP_BTN_MPOMNG01010_POP_AMT_LMT_CLOSE" class="cancel btn-gray CLB btn-pop-close">취소</button>
249
-                <button id="ITP_BTN_MPOMNG01010_POP_AMT_LMT_CONFIRM" class="ok btn-primary COK">결제</button>
250
-            </div>
251
-        </div>
252
-    </div>
253
-     <!-- 선불매장- 임시저장 -->
254
-    <div id="ITP_POP_MPOMNG01010_AMT_ADV_SAVE_AREA" class="popup mobile-pop-close" style="display: none;">
255
-        <div class="pop">
256
-            <div class="pop_line">
257
-	            <div class="itp_label_area">
258
-	                <label>납품요청일</label>
259
-	            </div>
260
-	            <div class="itp_info_area">
261
-	                <div class="fnPopDlvReqDt"></div>
262
-	            </div>
263
-            </div>
264
-            <div class="pop_line">
265
-	            <div class="itp_label_area">
266
-              		<label>품목수</label>
267
-	            </div>
268
-   	            <div class="itp_info_area">
269
-                	<div class="fnItemQty"></div>
270
-                </div>
271
-            </div>
272
-            <div class="pop_line">
273
-              	<div class="itp_label_area">
274
-                	<label>구매요청금액 </label>
275
-                </div>
276
-                <div class="itp_info_area">
277
-                	<div class="fnOrdReqAmt"></div>
278
-                </div>
279
-            </div>
280
-            <div class="pop_line">
281
-              	<div class="itp_label_area">
282
-                	<label>구매가능금액 </label>
283
-                </div>
284
-                <div class="itp_info_area">
285
-                	<div class="fnOrdPssblAmt"></div>
286
-                </div>
287
-            </div>
288
-            <div class="pop_line border">
289
-              	<div class="itp_label_area">
290
-                	<label>구매금액 </label>
291
-                </div>
292
-                <div class="itp_info_area">
293
-                	<div class="fnOrdAmt"></div>
294
-                </div>
295
-            </div>
296
-            <div class="pop_msg">선불매장이므로 입금을 하시고,입금등록 후 브랜드에서 승인이 되어야  구매요청을 하실 수 있습니다. </div>
297
-            <div class="popup_btn">
298
-                <button id="ITP_BTN_MPOMNG01010_POP_AMT_ADV_SAVE_CLOSE" class="cancel btn-gray CLB btn-pop-close">취소</button>
299
-                <button id="ITP_BTN_MPOMNG01010_POP_AMT_ADV_SAVE_CONFIRM" class="ok btn-primary COK">결제</button>
300
-            </div>
301
-        </div>
302
-    </div>
303
-    <!-- 구매한도부족- 임시저장 -->
304
-    <div id="ITP_POP_MPOMNG01010_AMT_LMT_SAVE_AREA" class="popup mobile-pop-close" style="display: none;">
305
-        <div class="pop">
306
-            <div class="pop_line">
307
-	            <div class="itp_label_area">
308
-	                <label>납품요청일</label>
309
-	            </div>
310
-	            <div class="itp_info_area">
311
-	                <div class="fnPopDlvReqDt"></div>
312
-	            </div>
313
-            </div>
314
-            <div class="pop_line">
315
-	            <div class="itp_label_area">
316
-              		<label>품목수</label>
317
-	            </div>
318
-   	            <div class="itp_info_area">
319
-                	<div class="fnItemQty"></div>
320
-                </div>
321
-            </div>
322
-            <div class="pop_line">
323
-              	<div class="itp_label_area">
324
-                	<label>구매요청금액 </label>
325
-                </div>
326
-                <div class="itp_info_area">
327
-                	<div class="fnOrdReqAmt"></div>
328
-                </div>
329
-            </div>
330
-            <div class="pop_line">
331
-              	<div class="itp_label_area">
332
-                	<label>구매가능금액 </label>
333
-                </div>
334
-                <div class="itp_info_area">
335
-                	<div class="fnOrdPssblAmt"></div>
336
-                </div>
337
-            </div>
338
-            <div class="pop_line border">
339
-              	<div class="itp_label_area">
340
-                	<label>구매금액 </label>
341
-                </div>
342
-                <div class="itp_info_area">
343
-                	<div class="fnOrdAmt"></div>
344
-                </div>
345
-            </div>
346
-            <div class="pop_msg">구매한도가 부족합니다.<br> 선입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야 구매요청을  하실 수 있습니다.</div>
347
-            <div class="popup_btn">
348
-                <button id="ITP_BTN_MPOMNG01010_POP_AMT_LMT_SAVE_CLOSE" class="cancel btn-gray CLB btn-pop-close">취소</button>
349
-                <button id="ITP_BTN_MPOMNG01010_POP_AMT_LMT_SAVE_CONFIRM" class="ok btn-primary COK">결제</button>
350
-            </div>
351
-        </div>
352
-    </div>
353 153
     <div id="ITP_POP_MPOMNG01010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
354 154
         <div class="pop">
355 155
             <div class="header">
@@ -387,7 +187,7 @@
387 187
             </div>
388 188
         </div>
389 189
     </div>
390
-    <div id="ITP_POP_MPOMNG01010_ITEM_AREA" class="popup2 mobile-pop-close" style="display: block;">
190
+    <div id="ITP_POP_MPOMNG01010_ITEM_AREA" class="popup2 mobile-pop-close" style="display: none;">
391 191
         <div class="pop">
392 192
             <div class="header">
393 193
                 <div class="header_left">
@@ -409,7 +209,7 @@
409 209
                 </div>
410 210
             </form>
411 211
             <div id="ITP_LIST_MPOMNG01010_POP_ITEM_AREA" class="popup_scroll">
412
-                <ul id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWS" class="mb_0"></ul>
212
+                <ul id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWS" class="mb_0 panel-group"></ul>
413 213
                 <div id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWCOPY" style="display: none;">
414 214
                      <li class="row_2">
415 215
                         <div class="scroll_left">

+ 26 - 14
src/main/webapp/mobile/app/mpomng/MPOMNG02010.html

@@ -1,5 +1,5 @@
1 1
 <section id="ITP_MOBILE_MPOMNG02010">
2
-  <div id="ITP_AJAX_MPOMNG02010_LIST_CONTAINER" style="display: block;">
2
+  <div id="ITP_AJAX_MPOMNG02010_LIST_CONTAINER" style="display: none;">
3 3
     <div class="content">
4 4
       <form id="ITP_FORM_MPOMNG02010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
5 5
         <input type="hidden" id="ITP_FORM_MPOMNG02010_LIST_SEARCH_BRAND_ID" name="sbrandId" value="">
@@ -48,7 +48,7 @@
48 48
     </div>
49 49
     <div id="ITP_LIST_MPOMNG02010_ITEM_AREA" class="scroll_area row-1">
50 50
       <ul id="ITP_LIST_MPOMNG02010_ITEM_ROWS" class="mb_0 panel-group"></ul>
51
-      <div id="ITP_LIST_MPOMNG02010_ITEM_ROWCOPY" style="display: none;">
51
+      <div id="ITP_LIST_MPOMNG02010_ITEM_ROWCOPY" style="display: block;">
52 52
         <li class="history_list">
53 53
           <div class="left">
54 54
             <div class="nomal">
@@ -217,7 +217,7 @@
217 217
           <li class="list-row">
218 218
             <div class="left_info">
219 219
               <div class="check_box">
220
-                <div style="display:none;"><input style="width:20px;" type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" /></div>
220
+                <input style="width:20px;" type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" />
221 221
               </div>
222 222
               <div class="thick">
223 223
               	<label>품목명</label>
@@ -246,18 +246,30 @@
246 246
     </form>
247 247
   </div>
248 248
   <div id="ITP_POP_MPOMNG02010_REQ_AREA" class="popup mobile-pop-close" style="display: none;">
249
-    <div class="pop">
250
-      <div class="pop_line">
251
-        <label>납품요청일 &nbsp;&nbsp;:</label>
252
-        <div class="fnPopDlvReqDt"></div>
253
-      </div>
254
-      <div class="pop_line">
255
-        <label>품목수&nbsp;&nbsp; :</label>
256
-        <div class="fnItemQty">개</div>
257
-      </div>
249
+    <div class="pop short">
258 250
       <div class="pop_line">
259
-        <label>구매금액 &nbsp;&nbsp;:</label>
260
-        <div class="fnOrdAmt">원</div>
251
+	       <div class="itp_label_area">
252
+	           <label>납품요청일</label>
253
+	       </div>
254
+	       <div class="itp_info_area">
255
+	           <div class="fnPopDlvReqDt"></div>
256
+	       </div>
257
+       </div>
258
+       <div class="pop_line">
259
+	      <div class="itp_label_area">
260
+   		  	<label>품목수</label>
261
+	      </div>
262
+	      <div class="itp_info_area">
263
+         	<div class="fnItemQty"></div>
264
+	      </div>
265
+       </div>
266
+       <div class="pop_line border">
267
+	      <div class="itp_label_area">
268
+	        <label>구매금액</label>
269
+	      </div>  
270
+	      <div class="itp_info_area">
271
+	        <div class="fnOrdAmt">원</div>
272
+	      </div>
261 273
       </div>
262 274
       <label class="pop_label pop_msg">구매요청 하시겠습니까?</label>
263 275
       <div class="popup_btn">

+ 3 - 3
src/main/webapp/mobile/app/mpomng/MPOMNG04010.html

@@ -144,7 +144,7 @@
144 144
 			  </div>
145 145
 			</div>
146 146
 			<div class="table_header">
147
-			  <h1>> 발주 품목</h1>
147
+			  <h1><발주 품목></h1>
148 148
 			</div>
149 149
 		  </div>
150 150
 		<div id="ITP_LIST_MPOMNG04010_VIEW_ITEM_AREA" class="scroll_area row-2">
@@ -254,7 +254,7 @@
254 254
 				</form>
255 255
 			</div>
256 256
 			<div class="select_btn">
257
-				<button id="ITP_BTN_MPOMNG04010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
257
+				<button id="ITP_BTN_MPOMNG04010_POP_WHS_NM" class="btn_blue">납품장소 ▼</button>
258 258
 			</div>
259 259
 			<div id="ITP_LIST_MPOMNG04010_POP_WHS_AREA" class="popup_scroll">
260 260
 				<ul id="ITP_LIST_MPOMNG04010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>
@@ -273,4 +273,4 @@
273 273
 			</div>
274 274
 		</div>
275 275
 	</div>
276
-  </section>
276
+</section>

+ 2 - 2
src/main/webapp/mobile/app/mpomng/MPOMNG05010.html

@@ -144,7 +144,7 @@
144 144
 				</form>
145 145
 			</div>
146 146
 			<div class="select_btn">
147
-				<button id="ITP_BTN_MPOMNG05010_POP_SPPLY_NM" class="btn_blue">공급업체▼</button>
147
+				<button id="ITP_BTN_MPOMNG05010_POP_SPPLY_NM" class="btn_blue">공급업체 ▼</button>
148 148
 			</div>
149 149
 			<div id="ITP_POP_MPOMNG05010_LIST_SPPLY_AREA" class="popup_scroll">
150 150
 				<ul id="ITP_POP_MPOMNG05010_LIST_SPPLY_ROWS" class="mb_0 panel-group itp_nav"></ul>
@@ -181,7 +181,7 @@
181 181
 				</form>
182 182
 			</div>
183 183
 			<div class="select_btn">
184
-				<button id="ITP_BTN_MPOMNG05010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
184
+				<button id="ITP_BTN_MPOMNG05010_POP_WHS_NM" class="btn_blue">납품장소 ▼</button>
185 185
 			</div>
186 186
 			<div id="ITP_LIST_MPOMNG05010_POP_WHS_AREA" class="popup_scroll">
187 187
 				<ul id="ITP_LIST_MPOMNG05010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>

+ 14 - 14
src/main/webapp/mobile/app/mpomng/MPOMNG06010.html

@@ -11,9 +11,9 @@
11 11
 				<div class="line">
12 12
 					<label>납품예정일</label>
13 13
 					<div class="date_to">
14
-						<input id="ITP_FORM_MPOMNG06010_LIST_SEARCH_FROM_DT" name="fromDt" class="year" type="date">
14
+						<input id="ITP_FORM_MPOMNG06010_LIST_SEARCH_FROM_DT" name="fromDt" class="itp_input date" type="text">
15 15
 						<div class="at">~</div>
16
-						<input id="ITP_FORM_MPOMNG06010_LIST_SEARCH_TO_DT" name="toDt" class="year" type="date">
16
+						<input id="ITP_FORM_MPOMNG06010_LIST_SEARCH_TO_DT" name="toDt" class="itp_input date" type="text">
17 17
 					</div>
18 18
 				</div>
19 19
 				<div class="line">
@@ -38,8 +38,8 @@
38 38
 				<div class="line">
39 39
 					<label>납품장소</label>
40 40
 					<div class="float_left">
41
-						<input type="text" id="ITP_FORM_MPOMNG06010_LIST_SEARCH_WHS_NM" data-check-required="empty" class="" name="swhsNm" placeholder="매장명" readonly />
42
-						<input type="hidden" id="ITP_FORM_MPOMNG06010_LIST_SEARCH_WHS_ID" data-check-required="empty" class="" name="swhsId" />
41
+						<input type="text" id="ITP_FORM_MPOMNG06010_LIST_SEARCH_WHS_NM" data-check-required="empty" data-alert-required="ONLYCHK" data-alert-msg="납품장소" class="" name="swhsNm" placeholder="매장명" readonly />
42
+						<input type="hidden" id="ITP_FORM_MPOMNG06010_LIST_SEARCH_WHS_ID" data-check-required="empty" data-alert-required="ONLYCHK" data-alert-msg="납품장소" class="" name="swhsId" />
43 43
            				<div class="itp_input_btn">
44 44
 							<button id="ITP_BTN_MPOMNG06010_LIST_SEARCH_WHS_NM"><img src="../img/search.png" alt=""></button>
45 45
 						</div>
@@ -67,7 +67,7 @@
67 67
 		<form id="ITP_FORM_MPOMNG06010_LIST_MODIFY" class="form-horizontal" onsubmit="return false;">
68 68
 			<div id="ITP_LIST_MPOMNG06010_LIST_ITEM_AREA" class="scroll_area row-4">
69 69
 				<ul id="ITP_LIST_MPOMNG06010_LIST_ITEM_ROWS" class="mb_0 panel-group"></ul>
70
-				<div id="ITP_LIST_MPOMNG06010_LIST_ITEM_ROWCOPY" style="display: block;">
70
+				<div id="ITP_LIST_MPOMNG06010_LIST_ITEM_ROWCOPY" style="display: none;">
71 71
 					<li class="history_list2">
72 72
 						<div class="left">
73 73
 							<div class="nomal">
@@ -153,15 +153,15 @@
153 153
 				</form>
154 154
 			</div>
155 155
 			<div class="select_btn">
156
-				<button id="ITP_BTN_MPOMNG06010_POP_SPPLY_NM" class="btn_blue">공급업체▼</button>
156
+				<button id="ITP_BTN_MPOMNG06010_POP_SPPLY_NM" class="btn_blue">공급업체 ▼</button>
157 157
 			</div>
158 158
 			<div id="ITP_POP_MPOMNG06010_LIST_SPPLY_AREA" class="popup_scroll">
159 159
 				<ul id="ITP_POP_MPOMNG06010_LIST_SPPLY_ROWS" class="mb_0 panel-group itp_nav"></ul>
160
-				<div id="ITP_POP_MPOMNG06010_LIST_SPPLY_ROWCOPY" style="display: block;">
160
+				<div id="ITP_POP_MPOMNG06010_LIST_SPPLY_ROWCOPY" style="display: none;">
161 161
 					<li class="row_2">
162 162
 						<div class="scroll_left">
163 163
 							<div class="con_2 fnSpplyNm">공급업체 명A</div>
164
-							<div class="con_2 fnStNm">($)</div>
164
+							<div class="con_2 sub fnStNm">($)</div>
165 165
 						</div>
166 166
 						<div class="scroll_right">
167 167
 							<button id="ITP_BTN_MPOMNG06010_POP_SPPLY_CHOICE" class="fnSpplyId" data-item-key="">선택</button>
@@ -175,7 +175,7 @@
175 175
 		<div class="pop">
176 176
 			<div class="header">
177 177
 				<div class="header_left">
178
-					<label>> 납품장소</label>
178
+					<label>납품장소</label>
179 179
 				</div>
180 180
 				<div class="header_right">
181 181
 					<button type="button" id="ITP_BTN_MPOMNG06010_POP_WHS_CLOSE"><img src="../img/close.png"></button>
@@ -190,16 +190,16 @@
190 190
 				</form>
191 191
 			</div>
192 192
 			<div class="select_btn">
193
-				<button id="ITP_BTN_MPOMNG06010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
193
+				<button id="ITP_BTN_MPOMNG06010_POP_WHS_NM" class="btn_blue">납품장소 ▼</button>
194 194
 			</div>
195 195
 			<div id="ITP_LIST_MPOMNG06010_POP_WHS_AREA" class="popup_scroll">
196 196
 				<ul id="ITP_LIST_MPOMNG06010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>
197
-				<div id="ITP_LIST_MPOMNG06010_POP_WHS_ROWCOPY" style="display: block;">
197
+				<div id="ITP_LIST_MPOMNG06010_POP_WHS_ROWCOPY" style="display: none;">
198 198
 					<li class="row_2">
199 199
 						<div class="scroll_left">
200
-						  <div class="fnWhsNm">브랜드 창고 명A</div>
201
-						  <div class="sub fnLocationNm">서울특별시 동대문구 서울 시립대로 12길</div>
202
-						  <div class="sub fnLocationNm">누리자 B/D</div>
200
+						  <div class="fnWhsNm"></div>
201
+						  <div class="sub fnLocationNm"></div>
202
+						  <div class="sub fnLocationNm"></div>
203 203
 						</div>
204 204
 						<div class="scroll_right">
205 205
 							<button id="ITP_BTN_MPOMNG06010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>

+ 9 - 9
src/main/webapp/mobile/app/mpomng/MPOMNG07010.html

@@ -11,9 +11,9 @@
11 11
 	      <div class="line">
12 12
 			  <label>입고일자</label>
13 13
 	        <div class="date_to">
14
-				<input id="ITP_FORM_MPOMNG07010_LIST_SEARCH_FROM_DT" name="fromDt" class="year" type="date">
14
+				<input id="ITP_FORM_MPOMNG07010_LIST_SEARCH_FROM_DT" name="fromDt" class="itp_input date" type="text">
15 15
 				<div class="at">~</div>
16
-				<input id="ITP_FORM_MPOMNG07010_LIST_SEARCH_TO_DT" name="toDt" class="year" type="date">
16
+				<input id="ITP_FORM_MPOMNG07010_LIST_SEARCH_TO_DT" name="toDt" class="itp_input date" type="text">
17 17
 	        </div>
18 18
 	      </div>
19 19
 	      <div class="line">
@@ -60,7 +60,7 @@
60 60
 	        </div>
61 61
 	      </div>
62 62
 	      <div class="table_header">
63
-	        <h1>> 입고 내역</h1>
63
+	        <h1><입고 내역></h1>
64 64
 	      </div>
65 65
 	    </div>
66 66
       <div id="ITP_LIST_MPOMNG07010_LIST_ITEM_AREA" class="scroll_area row-4">
@@ -147,15 +147,15 @@
147 147
 				</form>
148 148
 			</div>
149 149
 			<div class="select_btn">
150
-				<button id="ITP_BTN_MPOMNG07010_POP_SPPLY_NM" class="btn_blue">공급업체▼</button>
150
+				<button id="ITP_BTN_MPOMNG07010_POP_SPPLY_NM" class="btn_blue">공급업체 ▼</button>
151 151
 			</div>
152 152
 			<div id="ITP_POP_MPOMNG07010_LIST_SPPLY_AREA" class="popup_scroll">
153 153
 				<ul id="ITP_POP_MPOMNG07010_LIST_SPPLY_ROWS" class="mb_0 panel-group itp_nav"></ul>
154
-				<div id="ITP_POP_MPOMNG07010_LIST_SPPLY_ROWCOPY" style="display: block;">
154
+				<div id="ITP_POP_MPOMNG07010_LIST_SPPLY_ROWCOPY" style="display: none;">
155 155
 					<li class="row_2">
156 156
 						<div class="scroll_left">
157 157
 							<div class="con_2 fnSpplyNm">공급업체 명A</div>
158
-							<div class="con_2 fnStNm">($)</div>
158
+							<div class="con_2 sub fnStNm">($)</div>
159 159
 						</div>
160 160
 						<div class="scroll_right">
161 161
 							<button id="ITP_BTN_MPOMNG07010_POP_SPPLY_CHOICE" class="fnSpplyId" data-item-key="">선택</button>
@@ -184,15 +184,15 @@
184 184
 				</form>
185 185
 			</div>
186 186
 			<div class="select_btn">
187
-				<button id="ITP_BTN_MPOMNG07010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
187
+				<button id="ITP_BTN_MPOMNG07010_POP_WHS_NM" class="btn_blue">납품장소 ▼</button>
188 188
 			</div>
189 189
 			<div id="ITP_LIST_MPOMNG07010_POP_WHS_AREA" class="popup_scroll">
190 190
 				<ul id="ITP_LIST_MPOMNG07010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>
191
-				<div id="ITP_LIST_MPOMNG07010_POP_WHS_ROWCOPY" style="display: block;">
191
+				<div id="ITP_LIST_MPOMNG07010_POP_WHS_ROWCOPY" style="display: none;">
192 192
 					<li class="row_2">
193 193
 						<div class="scroll_left">
194 194
 							<div class="fnWhsNm">브랜드 창고 명A</div>
195
-							<div class="fnLocationNm">(상세위치내용)</div>
195
+							<div class="sub fnLocationNm">(상세위치내용)</div>
196 196
 							<div class="sub fnLocationNm">누리자 B/D</div>
197 197
 						</div>
198 198
 						<div class="scroll_right">

+ 25 - 13
src/main/webapp/mobile/app/mrtnmng/MRTNMNG01010.html

@@ -49,7 +49,7 @@
49 49
 					<li class="list-row">
50 50
 						<div class="left_info">
51 51
 			              <div class="check_box">
52
-			                <div style="display:none;"><input style="width:20px;" type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" /></div>
52
+			                <input style="width:20px;" type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" />
53 53
 			              </div>
54 54
 			              <div class="thick">
55 55
 			              	<label>품목명</label>
@@ -59,7 +59,7 @@
59 59
 			              <div class="thick">
60 60
 			              	<label>구매가</label>
61 61
 			                <span>:</span>
62
-			                <div class="itp_amt fnUnitAmt">asdfasdf</div>
62
+			                <div class="itp_amt fnUnitAmt"></div>
63 63
 			              </div>
64 64
 			            </div>
65 65
 						<div class="right">
@@ -79,18 +79,30 @@
79 79
 	</div>
80 80
 	<div id="ITP_MOBILE_JS"></div>
81 81
 	<div id="ITP_POP_MRTNMNG01010_RTN_AREA" class="popup mobile-pop-close" style="display: none;">
82
-		<div class="pop">
82
+		<div class="pop short">
83 83
 			<div class="pop_line">
84
-				<label>반품요청일 &nbsp;&nbsp;:</label>
85
-				<div class="fnRtnReqDt"></div>
84
+            	<div class="itp_label_area">
85
+					<label>반품요청일</label>
86
+				</div>
87
+	            <div class="itp_info_area">
88
+					<div class="fnRtnReqDt"></div>
89
+				</div>
86 90
 			</div>
87 91
 			<div class="pop_line">
88
-				<label>품목수&nbsp;&nbsp; :</label>
89
-				<div class="fnItemQty">개</div>
92
+				<div class="itp_label_area">
93
+					<label>품목수</label>
94
+				</div>
95
+				<div class="itp_info_area">
96
+					<div class="fnItemQty"></div>
97
+				</div>
90 98
 			</div>
91
-			<div class="pop_line">
92
-				<label>반품금액 &nbsp;&nbsp;:</label>
93
-				<div class="fnRtnAmt">원</div>
99
+			<div class="pop_line border">
100
+				<div class="itp_label_area">
101
+					<label>반품금액</label>
102
+				</div>
103
+				<div class="itp_info_area">
104
+					<div class="fnRtnAmt"></div>
105
+				</div>
94 106
 			</div>
95 107
 			<label class="pop_label msg_save">요청 하시겠습니까?</label>
96 108
 			<div class="popup_btn">
@@ -118,7 +130,7 @@
118 130
 				</form>
119 131
 			</div>
120 132
 			<div class="select_btn">
121
-				<button id="ITP_BTN_MRTNMNG01010_POP_WHS_NM" class="btn_blue">반품장소▼</button>
133
+				<button id="ITP_BTN_MRTNMNG01010_POP_WHS_NM" class="btn_blue">반품장소 ▼</button>
122 134
 			</div>
123 135
 			<div id="ITP_LIST_MRTNMNG01010_POP_WHS_AREA" class="popup_scroll">
124 136
 				<ul id="ITP_LIST_MRTNMNG01010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>
@@ -155,12 +167,12 @@
155 167
 					<button id="ITP_BTN_MRTNMNG01010_POP_ITEM_SEARCH"><img src="../img/search.png"></button>
156 168
 				</div>
157 169
 				<div class="select_btn">
158
-					<button id="ITP_BTN_MRTNMNG01010_POP_ITEM_NM" class="btn_blue">품목명▼</button>
170
+					<button id="ITP_BTN_MRTNMNG01010_POP_ITEM_NM" class="btn_blue">품목명 ▼</button>
159 171
 				</div>
160 172
 			</form>
161 173
 			<div id="ITP_LIST_MRTNMNG01010_POP_ITEM_AREA" class="popup_scroll">
162 174
 				<ul id="ITP_LIST_MRTNMNG01010_POP_ITEM_ROWS" class="mb_0 panel-group"></ul>
163
-				<div id="ITP_LIST_MRTNMNG01010_POP_ITEM_ROWCOPY" style="display: block;">
175
+				<div id="ITP_LIST_MRTNMNG01010_POP_ITEM_ROWCOPY" style="display: none;">
164 176
 					<li class="row_2">
165 177
 						 <div class="scroll_left">
166 178
                             <div class="fnItemNm"></div>

+ 97 - 85
src/main/webapp/mobile/app/mrtnmng/MRTNMNG02010.html

@@ -1,9 +1,12 @@
1 1
 <section id="ITP_MOBILE_MRTNMNG02010">
2
-	<div id="ITP_AJAX_MRTNMNG02010_LIST_CONTAINER" style="display: none;">
2
+	<div id="ITP_AJAX_MRTNMNG02010_LIST_CONTAINER" style="display: block;">
3 3
 		<div class="content">
4 4
 			<form id="ITP_FORM_MRTNMNG02010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
5 5
 				<input type="hidden" id="ITP_FORM_MRTNMNG02010_LIST_SEARCH_BRAND_ID" name="sbrandId" value="">
6 6
 				<input type="hidden" id="ITP_FORM_MRTNMNG02010_LIST_SEARCH_STORE_ID" name="sstoreId" value="">
7
+			  	<div class="line header">
8
+					<div class="itp_search_header"><img src="../img/right_arrow_pink.png" alt="">반품요청현황</div>
9
+		      	</div>
7 10
 				<div class="line">
8 11
 					<label>반품요청일</label>
9 12
 					<div class="input-group date_to date">
@@ -14,7 +17,7 @@
14 17
 				</div>
15 18
 				<div class="line">
16 19
 					<label>반품요청상태</label>
17
-					<div class="line_right">
20
+					<div class="float_left">
18 21
 						<select id="ITP_FORM_MRTNMNG02010_LIST_SEARCH_RTN_REQ_ST_CD" data-select-code="RTN_REQ_ST_CD" class="stcd" name="srtnReqStCd">
19 22
 							<option value="">상태</option>
20 23
 						</select>
@@ -22,16 +25,16 @@
22 25
 				</div>
23 26
 				<div class="line">
24 27
 					<label>납품장소</label>
25
-					<div class="search_wrap">
26
-						<div class="float_left">
27
-							<input id="ITP_FORM_MRTNMNG02010_LIST_SEARCH_WHS_NM" class="" name="swhsNm" type="text" placeholder="납품창고" readonly>
28
-							<input type="hidden" id="ITP_FORM_MRTNMNG02010_LIST_SEARCH_WHS_ID" name="swhsId" value="">
29
-						</div>
30
-						<div class="float_left_btn">
28
+					<div class="float_left">
29
+						<input id="ITP_FORM_MRTNMNG02010_LIST_SEARCH_WHS_NM" class="" name="swhsNm" type="text" placeholder="납품창고" readonly>
30
+						<input type="hidden" id="ITP_FORM_MRTNMNG02010_LIST_SEARCH_WHS_ID" name="swhsId" value="">
31
+						<div class="itp_input_btn">
31 32
 							<button id="ITP_BTN_MRTNMNG02010_LIST_SEARCH_WHS_NM"><img src="../img/search.png" alt=""></button>
32
-							<button id="ITP_BTN_MRTNMNG02010_LIST_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
33 33
 						</div>
34 34
 					</div>
35
+					<div class="float_right_btn">
36
+						<button id="ITP_BTN_MRTNMNG02010_LIST_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
37
+					</div>
35 38
 				</div>
36 39
 				<div class="line" style="height:50px;">
37 40
 					<div class="search">
@@ -39,21 +42,21 @@
39 42
 					</div>
40 43
 				</div>
41 44
 				<div class="table_header">
42
-					<h1>>구매 요청 내역</h1>
45
+					<h1><반품 요청 내역></h1>
43 46
 				</div>
44 47
 			</form>
45 48
 		</div>
46
-		<div id="ITP_LIST_MRTNMNG02010_LIST_AREA" class="scroll_area row-1-1">
47
-			<ul id="ITP_LIST_MRTNMNG02010_LIST_ROWS" class="panel-group"></ul>
48
-			<div id="ITP_LIST_MRTNMNG02010_LIST_ROWCOPY" style="display:none;">
49
-				<li class="history_list list-row">
49
+		<div id="ITP_LIST_MRTNMNG02010_LIST_AREA" class="scroll_area row-10">
50
+			<ul id="ITP_LIST_MRTNMNG02010_LIST_ROWS" class="mb_0 panel-group"></ul>
51
+			<div id="ITP_LIST_MRTNMNG02010_LIST_ROWCOPY" style="display: block;">
52
+				<li class="history_list5">
50 53
 					<div class="left">
51 54
 						<div class="nomal">
52 55
 							<label>반품요청일 </label>
53 56
 							<span>:</span>
54 57
 							<div class="history">
55
-								<div class="fnRtnReqDt"></div>
56
-								(<div class="fnRtnReqMgrNm"></div>)
58
+								<div class="fnRtnReqDt">asdf</div>
59
+								(<div class="fnRtnReqMgrNm">asdf</div>)
57 60
 							</div>
58 61
 						</div>
59 62
 					</div>
@@ -114,23 +117,24 @@
114 117
 				<h1>> 반품 품목</h1>
115 118
 			</div>
116 119
 		</div>
117
-		<div id="ITP_LIST_MRTNMNG02010_DETAIL_AREA" class="scroll_area row-2">
118
-			<ul id="ITP_LIST_MRTNMNG02010_DETAIL_ROWS" class="panel-group"></ul>
119
-			<div id="ITP_LIST_MRTNMNG02010_DETAIL_ROWCOPY" style="display:none;">
120
+		<div id="ITP_LIST_MRTNMNG02010_DETAIL_AREA" class="scroll_area row-11">
121
+			<ul id="ITP_LIST_MRTNMNG02010_DETAIL_ROWS" class="mb_0 panel-group"></ul>
122
+			<div id="ITP_LIST_MRTNMNG02010_DETAIL_ROWCOPY" style="display: block;">
120 123
 				<li class="list-row">
121 124
 					<div class="left_info">
122 125
 						<div class="thick">
123
-							<div class="fnItemNm">품목명</div>
124
-							<div>-</div>
125
-							<div class="fnUnit"></div>
126
-						</div>
127
-						<div class="thick">
128
-							<label class="space0">반품가 :</label>
129
-							<div class="fnRtnAmt"></div>
130
-						</div>
126
+			              	<label>품목명</label>
127
+			                <span>:</span>
128
+			                <div class="itp_item fnItemNm"></div>
129
+	                	</div>
130
+		                <div class="thick">
131
+		              		<label>구매가</label>
132
+		                	<span>:</span>
133
+		                	<div class="itp_amt fnRtnAmt"></div>
134
+		                </div>
131 135
 					</div>
132 136
 					<div class="right">
133
-						<div class="fnRtnQty"></div>
137
+						<div class="fnnum fnRtnQty">1</div>
134 138
 					</div>
135 139
 				</li>
136 140
 			</div>
@@ -149,6 +153,9 @@
149 153
 			<input type="hidden" id="ITP_FORM_MRTNMNG02010_MODIFY_RTN_REQ_MGR_ID" name="rtnReqMgrId" value="">
150 154
 			<input type="hidden" id="ITP_FORM_MRTNMNG02010_MODIFY_RTN_REQ_ST_CD" name="rtnReqStCd" value="">
151 155
 			<div class="content">
156
+				<div class="line header">
157
+					<div class="itp_search_header"><img src="../img/right_arrow_pink.png" alt="">반품요청현황</div>
158
+		      	</div>
152 159
 				<div class="line">
153 160
 					<label>반품요청일</label>
154 161
 					<input id="ITP_FORM_MRTNMNG02010_MODIFY_COL_REQ_DT" name="colReqDt" class="date fnColReqDt" data-check-required="empty" type="date" placeholder="">
@@ -161,43 +168,44 @@
161 168
 				</div>
162 169
 				<div class="line">
163 170
 					<label>반품장소</label>
164
-					<div class="search_nm">
165
-						<div class="float_left">
166
-							<input type="text" id="ITP_FORM_MRTNMNG02010_MODIFY_WHS_NM" class="" name="rtnWhsNm" data-check-required="empty" placeholder="매장명" readonly />
167
-							<input type="hidden" id="ITP_FORM_MRTNMNG02010_MODIFY_WHS_ID" class="form-control itp_input" name="rtnWhsId" value="" />
168
-							<input type="hidden" id="ITP_FORM_MRTNMNG02010_MODIFY_LOCATION" class="form-control itp_input" name="rtnLocation" value="" />
169
-						</div>
170
-						<div class="float_left_btn">
171
+					<div class="float_left">
172
+						<input type="text" id="ITP_FORM_MRTNMNG02010_MODIFY_WHS_NM" class="" name="rtnWhsNm" data-check-required="empty" placeholder="매장명" readonly />
173
+						<input type="hidden" id="ITP_FORM_MRTNMNG02010_MODIFY_WHS_ID" class="form-control itp_input" name="rtnWhsId" value="" />
174
+						<input type="hidden" id="ITP_FORM_MRTNMNG02010_MODIFY_LOCATION" class="form-control itp_input" name="rtnLocation" value="" />
175
+						<div class="itp_input_btn">
171 176
 							<button id="ITP_BTN_MRTNMNG02010_MODIFY_SEARCH_WHS_NM"><img src="../img/search.png" alt=""></button>
172
-							<button id="ITP_BTN_MRTNMNG02010_MODIFY_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
173 177
 						</div>
174 178
 					</div>
179
+					<div class="float_right_btn">
180
+						<button id="ITP_BTN_MRTNMNG02010_MODIFY_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
181
+					</div>
175 182
 				</div>
176
-				<div class="line">
183
+				<div class="header line">
177 184
 					<div class="table_header">
178
-						<h1>>반품 품목</h1>
185
+						<h1><반품 품목></h1>
179 186
 						<button type="button" id="ITP_BTN_MRTNMNG02010_MODIFY_DEL_ROW" class="btn-primary btn-sm ADB">품목삭제</button>
180 187
 						<button type="button" id="ITP_BTN_MRTNMNG02010_MODIFY_ADD_ROW" class="btn-primary btn-sm ADB">품목추가</button>
181 188
 					</div>
182 189
 				</div>
183 190
 			</div>
184
-			<div id="ITP_LIST_MRTNMNG02010_MODIFY_AREA" class="scroll_area row-1-1">
185
-				<ul id="ITP_LIST_MRTNMNG02010_MODIFY_ROWS" class="panel-group"></ul>
186
-				<div id="ITP_LIST_MRTNMNG02010_MODIFY_ROWCOPY" style="display:none;">
191
+			<div id="ITP_LIST_MRTNMNG02010_MODIFY_AREA" class="scroll_area row-2-1">
192
+				<ul id="ITP_LIST_MRTNMNG02010_MODIFY_ROWS" class="mb_0 panel-group"></ul>
193
+				<div id="ITP_LIST_MRTNMNG02010_MODIFY_ROWCOPY" style="display: block;">
187 194
 					<li class="list-row">
188 195
 						<div class="left_info">
189 196
 							<div class="check_box"><!-- class 변경 -->
190
-								<div><input type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" /></div>
191
-							</div>
192
-							<div class="thick">
193
-								<div class="fnItemNm">품목명</div>
194
-								<div>-</div>
195
-								<div class="fnUnit">EA</div>
197
+								<input type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" />
196 198
 							</div>
197 199
 							<div class="thick">
198
-								<label class="space0">구매가 :</label>
199
-								<div class="fnUnitAmt"></div>
200
-							</div>
200
+				              	<label>품목명</label>
201
+				                <span>:</span>
202
+				                <div class="itp_item fnItemNm">품목명</div>
203
+			              	</div>
204
+			              	<div class="thick">
205
+				              	<label>구매가</label>
206
+				                <span>:</span>
207
+				                <div class="itp_amt fnUnitAmt"></div>
208
+			             	 </div>
201 209
 						</div>
202 210
 						<div class="right">
203 211
 							<button id="ITP_BTN_MRTNMNG02010_MODIFY_MINUS" class="DETAIL_ITEM_MINUS">-</button>
@@ -215,18 +223,30 @@
215 223
 		</form>
216 224
 	</div>
217 225
 	<div id="ITP_POP_MRTNMNG02010_REQ_AREA" class="popup mobile-pop-close" style="display: none;">
218
-		<div class="pop">
226
+		<div class="pop short">
219 227
 			<div class="pop_line">
220
-				<label>반품요청일 &nbsp;&nbsp;:</label>
221
-				<div class="fnPopDlvReqDt"></div>
228
+            	<div class="itp_label_area">
229
+					<label>반품요청일</label>
230
+				</div>
231
+	            <div class="itp_info_area">
232
+					<div class="fnPopDlvReqDt"></div>
233
+				</div>
222 234
 			</div>
223 235
 			<div class="pop_line">
224
-				<label>품목수&nbsp;&nbsp; :</label>
225
-				<div class="fnItemQty"></div>
236
+				<div class="itp_label_area">
237
+					<label>품목수</label>
238
+				</div>
239
+				<div class="itp_info_area">
240
+					<div class="fnItemQty"></div>
241
+				</div>
226 242
 			</div>
227
-			<div class="pop_line">
228
-				<label>구매금액 &nbsp;&nbsp;:</label>
229
-				<div class="fnRtnTotalAmt"></div>
243
+			<div class="pop_line border">
244
+				<div class="itp_label_area">
245
+					<label>반품금액</label>
246
+				</div>
247
+				<div class="itp_info_area">
248
+					<div class="fnRtnTotalAmt"></div>
249
+				</div>
230 250
 			</div>
231 251
 			<label class="pop_label msg_save">구매요청 하시겠습니까?</label>
232 252
 			<div class="popup_btn">
@@ -253,16 +273,17 @@
253 273
 					<button id="ITP_BTN_MRTNMNG02010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
254 274
 				</form>
255 275
 			</div>
256
-			<div class="search_bar">
257
-				<button id="ITP_BTN_MRTNMNG02010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
276
+			<div class="select_btn">
277
+				<button id="ITP_BTN_MRTNMNG02010_POP_WHS_NM" class="btn_blue">납품장소 ▼</button>
258 278
 			</div>
259 279
 			<div id="ITP_LIST_MRTNMNG02010_POP_WHS_AREA" class="popup_scroll">
260
-				<ul id="ITP_LIST_MRTNMNG02010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
261
-				<div id="ITP_LIST_MRTNMNG02010_POP_WHS_ROWCOPY" style="display:none;">
280
+				<ul id="ITP_LIST_MRTNMNG02010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>
281
+				<div id="ITP_LIST_MRTNMNG02010_POP_WHS_ROWCOPY" style="display: block;">
262 282
 					<li class="row_2">
263 283
 						<div class="scroll_left">
264 284
 							<div class="fnWhsNm">브랜드 창고 명A</div>
265
-							<div class="fnLocationNm">(상세위치내용)</div>
285
+							<div class="sub fnLocationNm">(상세위치내용)</div>
286
+							<div class="sub fnLocationNm">누리자 B/D</div>
266 287
 						</div>
267 288
 						<div class="scroll_right">
268 289
 							<button id="ITP_BTN_MRTNMNG02010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
@@ -289,36 +310,27 @@
289 310
 					<input id="ITP_FORM_MRTNMNG02010_POP_ITEM_KEYWORD" name="sitemNm" type="text" placeholder="품목명/품목번호" />
290 311
 					<button id="ITP_BTN_MRTNMNG02010_POP_ITEM_SEARCH"><img src="../img/search.png"></button>
291 312
 				</div>
292
-				<div class="search_bar">
293
-					<button id="ITP_BTN_MRTNMNG02010_POP_ITEM_NM" class="btn_blue">품목명▼</button>
313
+				<div class="select_btn">
314
+					<button id="ITP_BTN_MRTNMNG02010_POP_ITEM_NM" class="btn_blue">품목명 ▼</button>
294 315
 				</div>
295 316
 			</form>
296 317
 			<div id="ITP_LIST_MRTNMNG02010_POP_ITEM_AREA" class="popup_scroll">
297
-				<ul id="ITP_LIST_MRTNMNG02010_POP_ITEM_ROWS" class="panel-group"></ul>
298
-				<div id="ITP_LIST_MRTNMNG02010_POP_ITEM_ROWCOPY" style="display:none;">
318
+				<ul id="ITP_LIST_MRTNMNG02010_POP_ITEM_ROWS" class="mb_0 panel-group"></ul>
319
+				<div id="ITP_LIST_MRTNMNG02010_POP_ITEM_ROWCOPY" style="display: block;">
299 320
 					<li class="row_2">
300
-						<div class="left" style="width:180px;">
301
-							<!--<div class="check_box">
302
-                                <input type="checkbox" id="ITP_FORM_MRTNMNG02010_POP_ITEM_CHECKBOX" name="itemId" />
303
-                            </div>-->
304
-							<div class="thick">
305
-								<div class="fnItemNm">품목명</div>
306
-								<div>-</div>
307
-								<div class="fnUnit">EA</div>
308
-							</div>
309
-							<div class="thick" style="font-weight:100;">
310
-								<div class="space">구매가 :</div>
311
-								<div class="fnUnitAmt">0</div>
312
-							</div>
313
-						</div>
321
+						 <div class="scroll_left">
322
+                            <div class="fnItemNm"></div>
323
+                            <div class="sub fnKg"></div>
324
+                            <div class="amt fnUnitAmt"></div>
325
+                        </div>
326
+                        <div class="scroll_right">
327
+                            <button id="ITP_BTN_MPOMNG02010_POP_ITEM_ADD" class="POP_ITEM_ADD">추가</button>
328
+                        </div>
314 329
 						<div class="right">
315 330
 							<button id="ITP_BTN_MRTNMNG02010_POP_ITEM_MINUS" class="POP_ITEM_MINUS">-</button>
316
-							<div class="num fnRtnQty">1</div>
331
+							<div class="num fnPchReqQty">1</div>
317 332
 							<button id="ITP_BTN_MRTNMNG02010_POP_ITEM_PLUS" class="POP_ITEM_PLUS">+</button>
318 333
 						</div>
319
-						<div class="add">
320
-							<button id="ITP_BTN_MRTNMNG02010_POP_ITEM_ADD" class="POP_ITEM_ADD">추가</button>
321
-						</div>
322 334
 					</li>
323 335
 				</div>
324 336
 			</div>

+ 13 - 10
src/main/webapp/mobile/css/style.css

@@ -12,6 +12,7 @@ body .login {position:fixed;}
12 12
 /* 팝업 */
13 13
 section .popup { position: fixed; width: 100%; height: 100%; background: transparent; z-index: 11;}
14 14
 section .popup .pop {position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 70%; height: 360px; padding-top: 20px; background: #fff; border: 2px solid #000; border-top-left-radius: 10px; border-top-right-radius: 10px;}
15
+section .popup .pop.short {height:260px;}
15 16
 section .popup .pop label.pop_label {position:relative; top:10px; font-size: 16px;}
16 17
 section .popup .pop div.pop_msg {padding:0 5%; text-align:left; position:relative; top:10px; font-size: 16px;}
17 18
 section .popup .pop .pop_line {width: 90%; margin:0 5%; display:flex; border:1px solid #aaa; border-bottom:none;}
@@ -224,7 +225,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
224 225
 
225 226
 /* 메뉴바 */
226 227
 #ITP_MENU .menu_area {position: fixed; width: 100%; height: 100%; top: 0; left: -0%; background: #000; opacity: 0.7; z-index: 12; transition: all 0.5s;}
227
-#ITP_MENU .menu_area button {float: right; width: 20px; height: 20px; padding: 0; background: transparent; border: none;}
228
+#ITP_MENU .menu_area button {float: right; width: 50px; height: 50px; padding: 0; background: transparent; border: none;}
228 229
 #ITP_MENU .menu_area button img {float: right; width: 40px; height: 40px; margin: 7px;}
229 230
 #ITP_MENU .menu_bar {position: fixed; width: 70%; height: 100%; left: -0%; top: 0; background: #fff; opacity: 1; z-index: 13; transition: all 0.5s;}
230 231
 #ITP_MENU .menu_bar .menu_header {width: 100%; height: 100px; border-bottom: 1px solid #000 ;}
@@ -287,7 +288,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
287 288
 .content .line label {min-width:110px; color:#666; font-size: 18px; margin-left: 10px; float: left; text-align: left; margin-top: 10px; font-weight:100;}
288 289
 .content .line label.pay_label {margin:38px 1%; width:98%;}
289 290
 .content .line select.label {border: 1px solid #000; font-size: 0.9rem;margin:9px 0 0 5px; float: left; width: 120px; height: 30px; text-align: left;}
290
-.content .line .itp_label_select {padding:0;width:120px; color:#666; font-size: 18px; float: left; margin-top: 3px; font-weight:100;}
291
+.content .line .itp_label_select {padding:0;width:116px; color:#666; font-size: 18px; float: left; margin-top: 5px; margin-right:4px; font-weight:100; border:1px solid #aaa; border-radius:5px;}
291 292
 .content .line .float_left {float: left; margin-top:2px; width:50%;}
292 293
 .content .line .float_left.name {width:60%;}
293 294
 .content .line .float_left button {float:right; left:-5px; position:relative; background:transparent; border:none; width:36px; height:36px; padding:0;} 
@@ -311,10 +312,10 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
311 312
 .content .line .line_right select {float: right; width: 180px; height: 30px; margin-top: 7px; border: 1px solid #000; font-size: 1rem; margin-right:93px;}
312 313
 .content .line input.date {width: 50%; margin: 5px 0; height: 35px; float: left; text-align:center; font-size:14px;background: url(../img/calender.png)no-repeat 95% 50%/20px auto #fff;}
313 314
 .content .line input.date2 {width: 140px; height: 30px; margin-right:133px;}
314
-.content .line div.date_to {width:60%; float: left; margin-right:0px;}
315
-.content .line div.date_to input {width:45%; font-size:14px;}
315
+.content .line div.date_to {display:flex; width:60%; float: left; margin-right:0px;}
316
+.content .line div.date_to input {font-weight:100; width:47%; font-size:14px;}
316 317
 
317
-.content .line div.date_to div.at {width: 3%;  font-size: 1rem; float: right; display: contents;}
318
+.content .line div.date_to div.at {width: 6%;  font-size: 16px; padding-top:12px; float: right;}
318 319
 .content .line .search {width: 100%; height: 50px; padding-top:8px;}
319 320
 .content .line .search button {width: 50%; height: 35px; font-size: 14px; font-weight:100; padding: 0;}
320 321
 .content .line .search button.col_3 {width: 25%; margin:0 12px;}
@@ -374,15 +375,17 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
374 375
 .scroll_area {position: absolute; width: 100%; height: 1090px; bottom: 30px; overflow: auto; background: #fff;}
375 376
 .row-1{top: 347px;}
376 377
 .row-1-1{top:363px;}
377
-.row-2{top: 300px;}
378
+.row-2{top: 345px;}
378 379
 .row-2-1{top:317px;}
379 380
 .row-3{top: 395px;}
380
-.row-4{top: 440px;}
381
+
382
+.row-4{top: 439px;}
381 383
 .row-5{top: 418px;}
382 384
 .row-6{top: 468px;}
383 385
 .row-7{top: 533px;}
384 386
 .row-9{top: 383px;}
385
-
387
+.row-10{top: 349px;}
388
+.row-11{top: 254px;}
386 389
 .col-4{width:35% !important;}
387 390
 .col-6{width:60% !important;}
388 391
 .col-4 .thick{width:100% !important;}
@@ -445,7 +448,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
445 448
 .scroll_area li .left .nomal .half {float:left;}
446 449
 .scroll_area li .left .nomal .half label {min-width:auto;}
447 450
 .scroll_area li .left .nomal .half div {min-width:auto; margin-right:5px; margin-top:0;}
448
-.scroll_area li .left .nomal  input{width: 85px; height:30px;}
451
+.scroll_area li .left .nomal  input{width: 85px; height:30px; margin-top:-3px;}
449 452
 
450 453
 .scroll_area li .scroll_btn {width:10%; height:158px; margin-top:-5px; display:inline-flex;}
451 454
 
@@ -507,7 +510,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
507 510
 	.content .line .float_left .itp_input_btn {width:70%;}
508 511
 	.content .line .float_left {width:70%;}
509 512
 	.content .line div.date_to {width:70%;}
510
-	.content .line div.date_to input {width:45%}
513
+	.content .line div.date_to input {width:47%}
511 514
 	.content .line .float_left.name {width:76%;}
512 515
 	.modal-dialog {margin:auto 20% !important;}
513 516
 	.scroll_area li .left_info .thick {width: 90%;}

+ 6 - 2
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG01010.js

@@ -72,6 +72,7 @@ let mobPageObj = {
72 72
 
73 73
 let mobContObj = {
74 74
 	init: function() {
75
+		this.list.empty();
75 76
 		this.data.load();
76 77
 	},
77 78
 	data: {
@@ -132,6 +133,7 @@ let mobContObj = {
132 133
 				$('.list-row #ITP_BTN_MPOMNG01010_DETAIL_PLUS')[$li.index()].addEventListener('click', function() { _this.actPlus(this); });
133 134
 				$('.list-row #ITP_BTN_MPOMNG01010_DETAIL_MINUS')[$li.index()].addEventListener('click', function() { _this.actMinus(this); });
134 135
 			}
136
+			this.empty();
135 137
 		},
136 138
 		detachRow: function () {
137 139
 			if($('#ITP_LIST_MPOMNG01010_ITEM_AREA input:checkbox[name=brandUnitUnqNo]:checked').length > 0) {
@@ -144,11 +146,11 @@ let mobContObj = {
144 146
 				});
145 147
 				this.pchReqAmtTot();
146 148
 			}
149
+			this.empty();
147 150
 		},
148 151
 		actPlus: function(elem) {
149 152
 			var $div = $(elem).siblings('div');
150 153
 			var num = Number($div.text());
151
-			console.log('actPlus ===> ' + num);
152 154
 			$($div).text((num + 1).toString());
153 155
 			this.rows[$div.parents('li').index()]['pchReqQty'] = $($div).text();
154 156
 			this.pchReqAmtTot();
@@ -156,7 +158,6 @@ let mobContObj = {
156 158
 		actMinus: function(elem) {
157 159
 			var $div = $(elem).siblings('div');
158 160
 			var num = Number($div.text());
159
-			console.log('actMinus ===> ' + num);
160 161
 			if(num <= 1) {
161 162
 				alert('주문수량을 확인하세요.');
162 163
 			} else {
@@ -173,6 +174,9 @@ let mobContObj = {
173 174
 				reqAmt += Number(qty) * amt;
174 175
 			});
175 176
 			$('#ITP_AJAX_MPOMNG01010_VIEW_CONTAINER').find('.fnPchReqAmtTot').text(CommonObj.currency.add(reqAmt));
177
+		},
178
+		empty: function() {
179
+			($('#ITP_LIST_MPOMNG01010_DETAIL_ROWS li').length > 0) ? $('.itp_non_data').hide() :  $('.itp_non_data').show();
176 180
 		}
177 181
 	},
178 182
 	cancel: function () {

+ 1 - 1
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG05010.js

@@ -133,7 +133,7 @@ let mobContentObj = {
133 133
 				_this.totPage = result.gridTotal;
134 134
 				$.each(result.gridRows, function (i, item) {
135 135
 					$('#ITP_LIST_MPOMNG05010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MPOMNG05010_LIST_ITEM_ROWCOPY').html());
136
-					var $li = $('#ITP_LIST_MPOMNG05010_LIST_ITEM_AREA .panel-group > .list-row:last');
136
+					var $li = $('#ITP_LIST_MPOMNG05010_LIST_ITEM_AREA .panel-group > .history_list2:last');
137 137
 					$li.find('.fnDlvSttmtUnqNo').text(item.dlvSttmtUnqNo);
138 138
 					$li.find('.fnDlvReqDt').text(item.dlvReqDt);
139 139
 					$li.find('.fnDlvSchDt').text(item.dlvSchDt);

+ 13 - 16
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG06010.js

@@ -35,8 +35,9 @@ let mobPageObj = {
35 35
 			});
36 36
 
37 37
 			// 조회일자 지정
38
-			$('#ITP_FORM_MPOMNG06010_LIST_SEARCH_FROM_DT').val(itp_fn_date_add('M', 0));
39
-			$('#ITP_FORM_MPOMNG06010_LIST_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
38
+			$('#ITP_MOBILE_MPOMNG06010 .itp_input.date').datepicker(ITP_DATE_LANGUAGE);
39
+			$('#ITP_FORM_MPOMNG06010_LIST_SEARCH_FROM_DT').datepicker('setDate', itp_fn_date_add('M', -1));
40
+			$('#ITP_FORM_MPOMNG06010_LIST_SEARCH_TO_DT').datepicker('setDate', itp_fn_date_add('M', 0));
40 41
 		},
41 42
 		info: function() {
42 43
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
@@ -61,6 +62,10 @@ let mobPageObj = {
61 62
 				return false;
62 63
 			});
63 64
 
65
+			$(document).on('click', '#ITP_POP_MPOMNG06010_LIST_SPPLY_ROWS li button', function() {
66
+				mobPopObj.popSpply.choice($(this));
67
+			});
68
+
64 69
 			$(document).on('click', '#ITP_LIST_MPOMNG06010_POP_WHS_ROWS li button', function() {
65 70
 				mobPopObj.popWhsNm.choice($(this));
66 71
 			});
@@ -128,12 +133,12 @@ let mobContentObj = {
128 133
 				_this.totPage = result.gridTotal;
129 134
 				$.each(result.gridRows, function (i, item) {
130 135
 					$('#ITP_LIST_MPOMNG06010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MPOMNG06010_LIST_ITEM_ROWCOPY').html());
131
-					var $li = $('#ITP_LIST_MPOMNG06010_LIST_ITEM_AREA .panel-group > .list-row:last');
136
+					var $li = $('#ITP_LIST_MPOMNG06010_LIST_ITEM_AREA .panel-group > .history_list2:last');
132 137
 					$li.find('.fnDlvSttmtUnqNo').text(item.dlvSttmtUnqNo);
133 138
 					$li.find('.fnDlvSchDt').text(item.dlvSchDt);
134 139
 					$li.find('.fnSpplyNm').text(item.spplyNm);
135 140
 					$li.find('.fnWhsNm').text(item.whsNm);
136
-					$li.find('.fnItemNm').text(item.itemNm + '(' + item.podrQty + item.unit + ')');
141
+					$li.find('.fnItemNm').text(item.itemNm);
137 142
 					$li.find('.fnPodrQty').text(CommonObj.comma.set(item.podrQty));
138 143
 					$li.find('.fnDlvQty').text(CommonObj.comma.set(item.dlvQty));
139 144
 					$li.find('.fnWhsQty').val(item.whsQty);
@@ -144,9 +149,6 @@ let mobContentObj = {
144 149
 			const param = $('#ITP_FORM_MPOMNG06010_LIST_SEARCH').serializeObject();
145 150
 			param.gridPage = ++this.listPage;
146 151
 			param.gridSize = this.listSize;
147
-			param.fromDt = CommonObj.onlyNumber(param.fromDt);
148
-			param.toDt = CommonObj.onlyNumber(param.toDt);
149
-			console.log(JSON.stringify(param));
150 152
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
151 153
 		},
152 154
 		save: function() {
@@ -209,7 +211,7 @@ let mobPopObj = {
209 211
 			this.rows = gridRows;
210 212
 			$.each(gridRows, function (i, item) {
211 213
 				$('#ITP_POP_MPOMNG06010_LIST_SPPLY_AREA .panel-group').append($('#ITP_POP_MPOMNG06010_LIST_SPPLY_ROWCOPY').html());
212
-				var $li = $('#ITP_POP_MPOMNG06010_LIST_SPPLY_AREA .panel-group > .list-row:last');
214
+				var $li = $('#ITP_POP_MPOMNG06010_LIST_SPPLY_AREA .panel-group > .row_2:last');
213 215
 				$li.find('.fnSpplyNm').text(item.spplyNm);
214 216
 				$li.find('.fnStNm').text($li.find('.fnStNm').text().replace('$', item.stNm));
215 217
 				$li.find('.fnSpplyId').data('item-key', item.spplyId);
@@ -273,7 +275,7 @@ let mobPopObj = {
273 275
 			this.rows = gridRows;
274 276
 			$.each(gridRows, function (i, item) {
275 277
 				$('#ITP_LIST_MPOMNG06010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MPOMNG06010_POP_WHS_ROWCOPY').html());
276
-				var $li = $('#ITP_LIST_MPOMNG06010_POP_WHS_AREA .panel-group > .list-row:last');
278
+				var $li = $('#ITP_LIST_MPOMNG06010_POP_WHS_AREA .panel-group > .row_2:last');
277 279
 				$li.find('.fnWhsNm').text(item.whsNm);
278 280
 				$li.find('.fnLocationNm').text(item.locationNm);
279 281
 				$li.find('.fnWhsId').data('whs-id', item.whsId);
@@ -304,13 +306,8 @@ let mobPopObj = {
304 306
 			});
305 307
 		},
306 308
 		delete: function() {
307
-			if(_this.popMode === 'RTN_WHS') {
308
-				$('#ITP_FORM_MPOMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_ID').val('');
309
-				$('#ITP_FORM_MPOMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM').val('');
310
-			} else {
311
-				$('#ITP_FORM_MPOMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_ID').val('');
312
-				$('#ITP_FORM_MPOMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_WHS_NM').val('');
313
-			}
309
+			$('#ITP_FORM_MPOMNG06010_LIST_SEARCH #ITP_FORM_MPOMNG06010_LIST_SEARCH_WHS_ID').val('');
310
+			$('#ITP_FORM_MPOMNG06010_LIST_SEARCH #ITP_FORM_MPOMNG06010_LIST_SEARCH_WHS_NM').val('');
314 311
 		},
315 312
 		close: function() {
316 313
 			this.rows.length = 0;

+ 8 - 10
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG07010.js

@@ -35,8 +35,9 @@ let mobPageObj = {
35 35
 			});
36 36
 
37 37
 			// 조회일자 지정
38
-			$('#ITP_FORM_MPOMNG07010_LIST_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
39
-			$('#ITP_FORM_MPOMNG07010_LIST_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
38
+			$('#ITP_MOBILE_MPOMNG07010 .itp_input.date').datepicker(ITP_DATE_LANGUAGE);
39
+			$('#ITP_FORM_MPOMNG07010_LIST_SEARCH_FROM_DT').datepicker('setDate', itp_fn_date_add('M', -1));
40
+			$('#ITP_FORM_MPOMNG07010_LIST_SEARCH_TO_DT').datepicker('setDate', itp_fn_date_add('M', 0));
40 41
 		},
41 42
 		info: function() {
42 43
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
@@ -132,15 +133,15 @@ let mobContentObj = {
132 133
 				_this.totPage = result.gridTotal;
133 134
 				$.each(result.gridRows, function (i, item) {
134 135
 					$('#ITP_LIST_MPOMNG07010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MPOMNG07010_LIST_ITEM_ROWCOPY').html());
135
-					var $li = $('#ITP_LIST_MPOMNG07010_LIST_ITEM_AREA .panel-group > .list-row:last');
136
+					var $li = $('#ITP_LIST_MPOMNG07010_LIST_ITEM_AREA .panel-group > .history_list2:last');
136 137
 					$li.find('.fnPchPodrUnqNo').text(item.pchPodrUnqNo);
137 138
 					$li.find('.fnDlvCmpltDt').text(item.dlvCmpltDt);
138 139
 					$li.find('.fnDlvSchDt').text(item.dlvSchDt);
139 140
 					$li.find('.fnSpplyNm').text(item.spplyNm);
140 141
 					$li.find('.fnWhsNm').text(item.whsNm);
141 142
 					$li.find('.fnItemNm').text(item.itemNm);
142
-					$li.find('.fnPodrQty').text(CommonObj.comma.set(item.podrQty) + item.unit);
143
-					$li.find('.fnWhsQty').text(CommonObj.comma.set(item.dlvQty) + item.unit);
143
+					$li.find('.fnPodrQty').text(CommonObj.comma.set(item.podrQty,  item.unit));
144
+					$li.find('.fnWhsQty').text(CommonObj.comma.set(item.dlvQty,  item.unit));
144 145
 					_this.rows.push(item);
145 146
 				});
146 147
 			};
@@ -148,9 +149,6 @@ let mobContentObj = {
148 149
 			const param = $('#ITP_FORM_MPOMNG07010_LIST_SEARCH').serializeObject();
149 150
 			param.gridPage = ++this.listPage;
150 151
 			param.gridSize = this.listSize;
151
-			param.fromDt = CommonObj.onlyNumber(param.fromDt);
152
-			param.toDt = CommonObj.onlyNumber(param.toDt);
153
-			console.log(JSON.stringify(param));
154 152
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
155 153
 		}
156 154
 	}
@@ -180,7 +178,7 @@ let mobPopObj = {
180 178
 			this.rows = gridRows;
181 179
 			$.each(gridRows, function (i, item) {
182 180
 				$('#ITP_POP_MPOMNG07010_LIST_SPPLY_AREA .panel-group').append($('#ITP_POP_MPOMNG07010_LIST_SPPLY_ROWCOPY').html());
183
-				var $li = $('#ITP_POP_MPOMNG07010_LIST_SPPLY_AREA .panel-group > .list-row:last');
181
+				var $li = $('#ITP_POP_MPOMNG07010_LIST_SPPLY_AREA .panel-group > .row_2:last');
184 182
 				$li.find('.fnSpplyNm').text(item.spplyNm);
185 183
 				$li.find('.fnStNm').text($li.find('.fnStNm').text().replace('$', item.stNm));
186 184
 				$li.find('.fnSpplyId').data('item-key', item.spplyId);
@@ -244,7 +242,7 @@ let mobPopObj = {
244 242
 			this.rows = gridRows;
245 243
 			$.each(gridRows, function (i, item) {
246 244
 				$('#ITP_LIST_MPOMNG07010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MPOMNG07010_POP_WHS_ROWCOPY').html());
247
-				var $li = $('#ITP_LIST_MPOMNG07010_POP_WHS_AREA .panel-group > .list-row:last');
245
+				var $li = $('#ITP_LIST_MPOMNG07010_POP_WHS_AREA .panel-group > .row_2:last');
248 246
 				$li.find('.fnWhsNm').text(item.whsNm);
249 247
 				$li.find('.fnLocationNm').text(item.locationNm);
250 248
 				$li.find('.fnWhsId').data('whs-id', item.whsId);

+ 12 - 4
src/main/webapp/mobile/js/config.js

@@ -55,10 +55,9 @@ require([
55 55
 	});
56 56
 
57 57
 	$('#ITP_MOBILE_BTN_SETTING').on('click', function() {
58
-		$('#ITP_MENU').toggle();
59 58
 	});
60 59
 
61
-	$('#ITP_BTN_NAV_CLOSE').on('click', function() {
60
+	$('.ITP_BTN_NAV_CLOSE').on('click', function() {
62 61
 		$('#ITP_MENU').toggle();
63 62
 	});
64 63
 
@@ -508,6 +507,16 @@ function itp_fn_modal_confirm(msg, fn, args) {
508 507
 	}
509 508
 }
510 509
 
510
+function itp_fn_modal_empty(msg) {
511
+	$('#ITP_MODAL_NOT_INPUT').hide();
512
+	$('#ITP_MODAL_NOT_INPUT').modal('show');
513
+	$('#ITP_MODAL_NOT_INPUT').find('.fnNotInput').html(msg);
514
+	$('#ITP_MODAL_NOT_INPUT_CONFIRM').off('click');
515
+	$('#ITP_MODAL_NOT_INPUT_CONFIRM').on('click', function() {
516
+		$('#ITP_MODAL_NOT_INPUT').modal('hide');
517
+	});
518
+};
519
+
511 520
 let itp_fn_form_validate = function(form, element, arry, msg, type) {
512 521
 	var error = function(txt) {
513 522
 		if (type != 'ONLYCHK') {
@@ -663,8 +672,7 @@ let itp_fn_form_event = {
663 672
 				isValid = itp_fn_form_validate(formId, '#' + $(this).attr('id'), arry, undefined, alertMsg);
664 673
 				if(!isValid) {
665 674
 					if(alertMsg && alertMsg.length > 0) {
666
-						itp_fn_modal_alert($(this).data('alert-msg'));
667
-						// alert($(this).data('alert-msg'));
675
+						itp_fn_modal_empty($(this).data('alert-msg'));
668 676
 					}
669 677
 					return false;
670 678
 				}