Преглед изворни кода

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

yhl88 пре 2 година
родитељ
комит
328b63d766
26 измењених фајлова са 307 додато и 195 уклоњено
  1. 1 0
      src/main/webapp/login.html
  2. 1 0
      src/main/webapp/mobile/app/easypay/oqpo/mobile_order_res_submit.jsp
  3. 1 1
      src/main/webapp/mobile/app/login.html
  4. 1 0
      src/main/webapp/mobile/app/main.html
  5. 5 5
      src/main/webapp/mobile/app/mloanmng/MLOANMNG01011.html
  6. 17 17
      src/main/webapp/mobile/app/mloanmng/MLOANMNG03010.html
  7. 5 4
      src/main/webapp/mobile/app/mrtnmng/MRTNMNG01010.html
  8. 37 38
      src/main/webapp/mobile/app/mrtnmng/MRTNMNG04010.html
  9. 3 3
      src/main/webapp/mobile/app/mrtnmng/MRTNMNG05010.html
  10. 3 3
      src/main/webapp/mobile/app/mrtnmng/MRTNMNG06010.html
  11. 2 1
      src/main/webapp/mobile/app/mstockmng/MSTOCKMNG01010.html
  12. 3 2
      src/main/webapp/mobile/app/mstockmng/MSTOCKMNG02010.html
  13. 20 0
      src/main/webapp/mobile/app/setting/SETTING01010.html
  14. 35 20
      src/main/webapp/mobile/css/style.css
  15. BIN
      src/main/webapp/mobile/fonts/KoPubWorld Dotum Medium.ttf
  16. 8 7
      src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG03010.js
  17. 13 13
      src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG01010.js
  18. 10 10
      src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG02010.js
  19. 13 12
      src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG04010.js
  20. 57 21
      src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG05010.js
  21. 4 13
      src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG06010.js
  22. 16 6
      src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG01010.js
  23. 23 18
      src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG02010.js
  24. 1 1
      src/main/webapp/mobile/js/app/popup/biz/ITP_BIZPOP_PO_PAYMENT.js
  25. 14 0
      src/main/webapp/mobile/js/app/setting/ITP_SETTING01010.js
  26. 14 0
      src/main/webapp/mobile/js/config.js

+ 1 - 0
src/main/webapp/login.html

@@ -15,6 +15,7 @@
15 15
 	<link rel="shortcut icon" type="image/png" href="./images/favicon.ico"/>
16 16
 	<link rel="stylesheet" href="./bootstrap/dist/css/bootstrap.min.css" />
17 17
 	<link rel="stylesheet" href="./css/style.css" />
18
+	<link rel='stylesheet' href='//cdn.jsdelivr.net/npm/font-kopub@1.0/kopubdotum.min.css'>
18 19
 
19 20
 	<script>
20 21
 		const VIEW_PAGE = 'LOGIN'; //config.js 에서 로그인 페이지 인지 아닌지 확인하기 위한 변수

+ 1 - 0
src/main/webapp/mobile/app/easypay/oqpo/mobile_order_res_submit.jsp

@@ -68,6 +68,7 @@ System.out.println("sp_res_cd ===> " + request.getParameter("sp_res_cd"));
68 68
         // <!--선불카드-->
69 69
         document.getElementById("sp_prepaid_cp").value         = "<%=getNullToSpace(request.getParameter("sp_prepaid_cp"))       %>";  // [선택]선불카드 CP코드
70 70
 
71
+        console.log("res_cd ===> " + res_cd);
71 72
         if( res_cd == "0000" )
72 73
         {
73 74
             location.replace('app:pay:result:' + JSON.stringify(serialize()));

+ 1 - 1
src/main/webapp/mobile/app/login.html

@@ -50,7 +50,7 @@
50 50
       </div>
51 51
       <div class="login_page">
52 52
         <div class="input_area">
53
-          <input type="text" id="ITP_FORM_LOGIN_USER_ID" required value="BRD221100002">
53
+          <input type="text" id="ITP_FORM_LOGIN_USER_ID" required>
54 54
           <label for="ITP_FORM_LOGIN_USER_ID">아이디</label>
55 55
           <div class="itp_del_btn">
56 56
 	          <button type="button" id="ITP_FORM_DEL_LOGIN_USER_ID">

+ 1 - 0
src/main/webapp/mobile/app/main.html

@@ -10,6 +10,7 @@
10 10
 	<link rel="stylesheet" href="../../bootstrap/dist/css/bootstrap.min.css" />
11 11
 	<link rel="stylesheet" href="../../bootstrap-datepicker/css/bootstrap-datepicker3.css" />
12 12
 	<link rel="stylesheet" href="../css/style.css?2011221">
13
+	<link rel='stylesheet' href='//cdn.jsdelivr.net/npm/font-kopub@1.0/kopubdotum.min.css'>
13 14
 
14 15
 	<script>
15 16
 		const ITP_SYSTEM_ADMIN_YN = 'Y';

+ 5 - 5
src/main/webapp/mobile/app/mloanmng/MLOANMNG01011.html

@@ -24,7 +24,7 @@
24 24
 			  <div class="line">
25 25
 				  <label>한도금액</label>
26 26
 				  <div class="line_right">
27
-					  <div class="fnLimitAmt">0원</div>
27
+					  <div class="fnLimitAmt"></div>
28 28
 				  </div>
29 29
 			  </div>
30 30
 			  <div class="line">
@@ -36,19 +36,19 @@
36 36
 			  <div class="line">
37 37
 				  <label>가용한도금액</label>
38 38
 				  <div class="line_right">
39
-					  <div class="fnPosbLimitAmt">0원</div>
39
+					  <div class="fnPosbLimitAmt"></div>
40 40
 				  </div>
41 41
 			  </div>
42 42
 			  <div class="line">
43 43
 				  <label>가수금</label>
44 44
 				  <div class="line_right">
45
-					  <div class="fnTmpRcvAcctTotal">0원</div>
45
+					  <div class="fnTmpRcvAcctTotal"></div>
46 46
 				  </div>
47 47
 			  </div>
48 48
 			  <div class="line">
49 49
 				  <label>사용금액</label>
50 50
 				  <div class="line_right">
51
-					  <div class="fnUseAmtTotal">0원</div>
51
+					  <div class="fnUseAmtTotal"></div>
52 52
 				  </div>
53 53
 			  </div>
54 54
 			<div class="line top3">
@@ -78,7 +78,7 @@
78 78
 		  </div>
79 79
 			<div id="ITP_LIST_MLOANMNG01011_VIEW_ITEM_AREA" class="scroll_area row-14">
80 80
 			  <ul id="ITP_LIST_MLOANMNG01011_VIEW_ITEM_ROWS" class="mb_0 panel-group"></ul>
81
-			  <div id="ITP_LIST_MLOANMNG01011_VIEW_ITEM_ROWCOPY" style="display: block;">
81
+			  <div id="ITP_LIST_MLOANMNG01011_VIEW_ITEM_ROWCOPY" style="display: none;">
82 82
 				<li class="history_list4 list-row">
83 83
 				  <div>
84 84
 					<div class="detail_line">

+ 17 - 17
src/main/webapp/mobile/app/mloanmng/MLOANMNG03010.html

@@ -46,7 +46,7 @@
46 46
 		  </div>
47 47
 			<div id="ITP_LIST_MLOANMNG03010_LIST_ITEM_AREA" class="scroll_area row-13">
48 48
 			  <ul id="ITP_LIST_MLOANMNG03010_LIST_ITEM_ROWS" class="mb_0 panel-group"></ul>
49
-			  <div id="ITP_LIST_MLOANMNG03010_LIST_ITEM_ROWCOPY" style="display: block;">
49
+			  <div id="ITP_LIST_MLOANMNG03010_LIST_ITEM_ROWCOPY" style="display: none;">
50 50
 				<li class="history_list4" style="padding-top:3px;">
51 51
 				  <div class="left">
52 52
 					<div class="nomal">
@@ -83,7 +83,7 @@
83 83
 					  </div>
84 84
 					  <label class="sub_info">정산금액&nbsp;:</label>
85 85
 					  <div class="history">
86
-						<div class="fnSttlAmt"></div>
86
+						<div class="fnSttlReqAmt"></div>
87 87
 					  </div>
88 88
 					</div>
89 89
 				  </div>
@@ -92,7 +92,7 @@
92 92
 							<label class="history_label">정산확정일 </label>
93 93
 							<span>:</span>
94 94
 							<div class="history">
95
-								<div class="fnSttlDt"></div>
95
+								<div class="fnSttlReqDt"></div>
96 96
 							</div>
97 97
 							<label class="sub_info">미납금액&nbsp;:</label>
98 98
 							<div class="history">
@@ -128,37 +128,37 @@
128 128
 			<div class="line">
129 129
 			  <label>매장명</label>
130 130
 			  <div class="line_right">
131
-			  	<div class="fnStoreNm">a 매장명</div>
131
+			  	<div class="fnStoreNm"></div>
132 132
 			  </div>      
133 133
 			</div>
134 134
 			<div class="line">
135 135
 			  <label>정산일자</label>
136 136
 			  <div class="line_right">
137
-			  	<div class="fnSttlDt">2022.10.10</div>
137
+			  	<div class="fnSttlDt"></div>
138 138
 			  </div>
139 139
 			</div>
140 140
 			<div class="line">
141 141
 			  <label>정산상태</label>
142 142
 			  <div class="line_right">
143
-  			  	<div class="fnSttlStCd">정산요청</div>
143
+  			  	<div class="fnSttlStNm"></div>
144 144
 			  </div>
145 145
 			</div>
146 146
 			<div class="line">
147 147
 			  <label>정산금액</label>
148 148
 			  <div class="line_right">
149
-			  	<div class="fnSttlAmt">2,000,000원</div>
149
+			  	<div class="fnSttlReqAmt"></div>
150 150
 			  </div>
151 151
 			</div>
152 152
 			<div class="line">
153 153
 			  <label>잔액</label>
154 154
 			  <div class="line_right">
155
-			  	<div class="fnBal">1,000,000원</div>
155
+			  	<div class="fnUseAmtTotal"></div>
156 156
 			  </div>
157 157
 			</div>
158 158
 			<div class="line">
159 159
 			  <label>정산등록일자</label>
160 160
 			  <div class="line_right">
161
-			  	<div class="fnSttlRegDt">2022.10.10</div>
161
+			  	<div class="fnSttlReqDt"></div>
162 162
 			  </div>
163 163
 			</div>
164 164
 			<div class="table_header">
@@ -175,11 +175,11 @@
175 175
 						<label class="col_3">품목아이디 </label>
176 176
 						<span>:</span>
177 177
 						<div class="space2">
178
-						  <div class="fnItemId">asdfasdfassd</div>
178
+						  <div class="fnItemId"></div>
179 179
 						</div>
180 180
 						<label class="sub_info">품목명&nbsp;:</label>
181 181
 						<div class="space2">
182
-						  <div class="fnItemNm">fasdfasdfad</div>
182
+						  <div class="fnItemNm"></div>
183 183
 						</div>
184 184
 					  </div>
185 185
 					</div>
@@ -188,11 +188,11 @@
188 188
 						<label class="col_3">단가</label>
189 189
 						<span>:</span>
190 190
 						<div class="space2">
191
-						  <div class="fnUnitAmt">52525525</div>
191
+						  <div class="fnUnitAmt"></div>
192 192
 						</div>
193 193
 						<label class="sub_info">단위&nbsp;:</label>
194 194
 						<div class="space2">
195
-						  <div class="fnUnit">25252asd</div>
195
+						  <div class="fnUnit"></div>
196 196
 						</div>
197 197
 					  </div>
198 198
 					</div>
@@ -201,11 +201,11 @@
201 201
 						<label>발주(납품)수량</label>
202 202
 						<span>:</span>
203 203
 						<div>
204
-						  <div class="fnPodrQyt">1212</div>
204
+						  <div class="fnPodrQyt"></div>
205 205
 						</div>
206 206
 						<label class="sub_info">입고(수거)일자&nbsp;:</label>
207 207
 						<div>
208
-						  <div class="fnWhsColDt">2022.20.20</div>
208
+						  <div class="fnWhsColDt"></div>
209 209
 						</div>
210 210
 					  </div>
211 211
 					</div>
@@ -214,11 +214,11 @@
214 214
 						<label>입고(수거)수량</label>
215 215
 						<span>:</span>
216 216
 						<div>
217
-						  <div class="fnWhsColQty">1212</div>
217
+						  <div class="fnWhsColQty"></div>
218 218
 						</div>
219 219
 						<label class="sub_info">입고(수거)금액&nbsp;:</label>
220 220
 						<div class="fn">
221
-						  <div class="fnWhsColAmt">2020.10.10</div>
221
+						  <div class="fnWhsColAmt"></div>
222 222
 						</div>
223 223
 					  </div>
224 224
 					</div>

+ 5 - 4
src/main/webapp/mobile/app/mrtnmng/MRTNMNG01010.html

@@ -13,7 +13,7 @@
13 13
 				<div class="line mt5">
14 14
 					<label>반품요청일</label>
15 15
 					<input type="text" id="ITP_FORM_MRTNMNG01010_DETAIL_DLV_REQ_DT" name="colReqDt" class="itp_input date" data-check-required="empty" readonly>
16
-				</div>
16
+				</div> 
17 17
 				<div class="line">
18 18
 					<label>반품요청금액</label>
19 19
 					<div class="float_left">
@@ -68,7 +68,7 @@
68 68
 				</div>
69 69
 			</div>
70 70
 			<div class="button_bar">
71
-				<button id="ITP_BTN_MRTNMNG01010_DETAIL_RTN_ORDER" data-call-popup="ITP_POP_MRTNMNG01010_RTN_AREA" class="col_3 btn-orange REQ">빈품요청</button>
71
+				<button id="ITP_BTN_MRTNMNG01010_DETAIL_RTN_ORDER" data-call-popup="ITP_POP_MRTNMNG01010_RTN_AREA" class="col_3 btn-m-orange REQ">반품요청</button>
72 72
 				<button id="ITP_BTN_MRTNMNG01010_DETAIL_TEMP_SAVE" data-call-popup="ITP_POP_MRTNMNG01010_RTN_AREA" class="col_3 btn-w-gray TSA">임시저장</button>
73 73
 				<button id="ITP_BTN_MRTNMNG01010_DETAIL_CANCEL" class="col_3 btn-gray CLB">취소</button>
74 74
 			</div>
@@ -179,8 +179,9 @@
179 179
 				                 <div class="amt fnUnitAmt">12,000,000</div>
180 180
 			                 </div>
181 181
                         </div>
182
-                        <div class="scroll_right">
183
-                            <button id="ITP_BTN_MRTNMNG01010_POP_ITEM_ADD" class="POP_ITEM_ADD">추가</button>
182
+                       <div class="scroll_right">
183
+                        	<input id="ITP_BTN_MRTNMNG01010_POP_ITEM_ADD" type="checkbox">
184
+                            <!-- <button id="ITP_BTN_MRTNMNG01010_POP_ITEM_ADD" class="POP_ITEM_ADD">추가</button> -->
184 185
                         </div>
185 186
 						<div class="right">
186 187
 							<button id="ITP_BTN_MRTNMNG01010_POP_ITEM_MINUS" class="POP_ITEM_MINUS">-</button>

+ 37 - 38
src/main/webapp/mobile/app/mrtnmng/MRTNMNG04010.html

@@ -1,46 +1,8 @@
1 1
 <section id="ITP_MOBILE_MRTNMNG04010">
2
-	<div id="ITP_POP_MRTNMNG04010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
3
-		<div class="pop">
4
-			<div class="header">
5
-				<div class="header_left">
6
-					<label>납품장소</label>
7
-				</div>
8
-				<div class="header_right">
9
-					<button type="button" id="ITP_BTN_MRTNMNG04010_POP_WHS_CLOSE"><img src="../img/close.png"></button>
10
-				</div>
11
-			</div>
12
-			<div class="search_bar">
13
-				<form id="ITP_FORM_MRTNMNG04010_POP_WHS" class="form-horizontal" onsubmit="return false;">
14
-					<input type="hidden" id="ITP_FORM_MRTNMNG04010_WHS_ITEM_BRAND_ID" name="sbrandId" value="">
15
-					<input type="hidden" id="ITP_FORM_MRTNMNG04010_WHS_ITEM_STORE_ID" name="sstoreId" value="">
16
-					<input id="ITP_FORM_MRTNMNG04010_POP_WHS_KEYWORD" type="text" name="swhsNm" placeholder="납품장소명">
17
-					<button id="ITP_BTN_MRTNMNG04010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
18
-				</form>
19
-			</div>
20
-			<div class="select_btn">
21
-				<button id="ITP_BTN_MRTNMNG04010_POP_WHS_NM" class="btn_blue">납품장소 <img src="../img/arrow_down.png"></button>
22
-			</div>
23
-			<div id="ITP_LIST_MRTNMNG04010_POP_WHS_AREA" class="popup_scroll">
24
-				<ul id="ITP_LIST_MRTNMNG04010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>
25
-				<div id="ITP_LIST_MRTNMNG04010_POP_WHS_ROWCOPY" style="display:;">
26
-					<li class="list-row row_2">
27
-						<div class="scroll_left">
28
-							<div class="con_2 fnWhsNm"></div>
29
-							<div class="con_2 sub fnLocationNm"></div>
30
-						</div>
31
-						<div class="scroll_right">
32
-							<button id="ITP_BTN_MRTNMNG04010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
33
-						</div>
34
-					</li>
35
-				</div>
36
-			</div>
37
-		</div>
38
-	</div>
39 2
 	<div id="ITP_AJAX_MRTNMNG04010_LIST_CONTAINER" style="display: none;">
40 3
 		<form id="ITP_FORM_MRTNMNG04010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
41 4
 			<input type="hidden" id="ITP_FORM_MPOMNG02010_LIST_SEARCH_BRAND_ID" name="sbrandId" value="">
42 5
 			<input type="hidden" id="ITP_FORM_MPOMNG02010_LIST_SEARCH_STORE_ID" name="sstoreId" value="">
43
-			<input type="hidden" id="ITP_FORM_MPOMNG02010_LIST_SEARCH_IDX" name="sidx" value="0">
44 6
 			<div class="content">
45 7
 				<div class="line header">
46 8
 				  <div class="itp_search_header"><img src="../img/right_arrow_pink.png" alt="">반품발주현황</div>
@@ -223,4 +185,41 @@
223 185
 		</form>
224 186
 	</div>
225 187
 	<div id="ITP_MOBILE_JS"></div>
188
+	<div id="ITP_POP_MRTNMNG04010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
189
+		<div class="pop">
190
+			<div class="header">
191
+				<div class="header_left">
192
+					<label>납품장소</label>
193
+				</div>
194
+				<div class="header_right">
195
+					<button type="button" id="ITP_BTN_MRTNMNG04010_POP_WHS_CLOSE"><img src="../img/close.png"></button>
196
+				</div>
197
+			</div>
198
+			<div class="search_bar">
199
+				<form id="ITP_FORM_MRTNMNG04010_POP_WHS" class="form-horizontal" onsubmit="return false;">
200
+					<input type="hidden" id="ITP_FORM_MRTNMNG04010_WHS_ITEM_BRAND_ID" name="sbrandId" value="">
201
+					<input type="hidden" id="ITP_FORM_MRTNMNG04010_WHS_ITEM_STORE_ID" name="sstoreId" value="">
202
+					<input id="ITP_FORM_MRTNMNG04010_POP_WHS_KEYWORD" type="text" name="swhsNm" placeholder="납품장소명">
203
+					<button id="ITP_BTN_MRTNMNG04010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
204
+				</form>
205
+			</div>
206
+			<div class="select_btn">
207
+				<button id="ITP_BTN_MRTNMNG04010_POP_WHS_NM" class="btn_blue">납품장소 <img src="../img/arrow_down.png"></button>
208
+			</div>
209
+			<div id="ITP_LIST_MRTNMNG04010_POP_WHS_AREA" class="popup_scroll">
210
+				<ul id="ITP_LIST_MRTNMNG04010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>
211
+				<div id="ITP_LIST_MRTNMNG04010_POP_WHS_ROWCOPY" style="display:none;">
212
+					<li class="list-row row_2">
213
+						<div class="scroll_left">
214
+							<div class="con_2 fnWhsNm"></div>
215
+							<div class="con_2 sub fnLocationNm"></div>
216
+						</div>
217
+						<div class="scroll_right">
218
+							<button id="ITP_BTN_MRTNMNG04010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
219
+						</div>
220
+					</li>
221
+				</div>
222
+			</div>
223
+		</div>
224
+	</div>
226 225
 </section>

+ 3 - 3
src/main/webapp/mobile/app/mrtnmng/MRTNMNG05010.html

@@ -25,8 +25,8 @@
25 25
 				<div class="line">
26 26
 					<label>반품입고장소</label>
27 27
 					<div class="float_left">
28
-						<input type="text" id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_NM" data-check-required="empty" class="" name="srtnWhsNm" placeholder="매장명" readonly />
29
-						<input type="hidden" id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_ID" data-check-required="empty" class="" name="srtnWhsId" />
28
+						<input type="text" id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_NM" data-check-required="empty" data-alert-required="ONLYCHK" data-alert-msg="수거창고" class="" name="srtnWhsNm" placeholder="수거창고" readonly />
29
+						<input type="hidden" id="ITP_FORM_MRTNMNG05010_LIST_SEARCH_RTN_WHS_ID" class="" name="srtnWhsId" />
30 30
 						<div class="itp_input_btn">
31 31
 							<button id="ITP_BTN_MRTNMNG05010_LIST_SEARCH_RTN_WHS_NM"><img src="../img/search.png" alt=""></button>
32 32
 						</div>
@@ -67,7 +67,7 @@
67 67
 		<form id="ITP_FORM_MRTNMNG05010_LIST_MODIFY" class="form-horizontal" onsubmit="return false;">
68 68
 			<div id="ITP_LIST_MRTNMNG05010_LIST_ITEM_AREA" class="scroll_area row-10">
69 69
 				<ul id="ITP_LIST_MRTNMNG05010_LIST_ITEM_ROWS" class="panel-group"></ul>
70
-				<div id="ITP_LIST_MRTNMNG05010_LIST_ITEM_ROWCOPY" style="display: block;">
70
+				<div id="ITP_LIST_MRTNMNG05010_LIST_ITEM_ROWCOPY" style="display: none;">
71 71
 					<li class="history_list2">
72 72
 						<div class="left">
73 73
 							<div class="nomal">

+ 3 - 3
src/main/webapp/mobile/app/mrtnmng/MRTNMNG06010.html

@@ -3,7 +3,7 @@
3 3
 		<form id="ITP_FORM_MRTNMNG06010_LIST_SEARCH" class="form-horizontal" onsubmit="return false;">
4 4
 			<input type="hidden" id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_BRAND_ID" name="sbrandId" value="">
5 5
 			<input type="hidden" id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_STORE_ID" name="sstoreId" value="">
6
-			<input type="hidden" id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_IDX" name="sidx" value="0">
6
+			<input type="hidden" id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_SPPLY_ID" name="sspplyId" value="">
7 7
 			<div class="content">
8 8
 				<div class="line header">
9 9
 				  <div class="itp_search_header"><img src="../img/right_arrow_pink.png" alt="">반품현황</div>
@@ -25,7 +25,7 @@
25 25
 				<div class="line top3">
26 26
 					<label>반품입고장소</label>
27 27
 					<div class="float_left">
28
-						<input id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM" name="srtnWhsNm" type="text" placeholder="매장명" readonly>
28
+						<input id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM" name="srtnWhsNm" type="text" data-check-required="empty" data-alert-required="ONLYCHK" data-alert-msg="수거창고" placeholder="매장명" readonly>
29 29
 						<input type="hidden" id="ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_ID" class="" name="srtnWhsId" />
30 30
 						<div class="itp_input_btn">
31 31
 							<button id="ITP_BTN_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM" data-call-popup="ITP_POP_MRTNMNG06010_WHS_NM"><img src="../img/search.png" alt=""></button>
@@ -151,7 +151,7 @@
151 151
 			</div>
152 152
 			<div id="ITP_LIST_MRTNMNG06010_POP_WHS_AREA" class="popup_scroll">
153 153
 				<ul id="ITP_LIST_MRTNMNG06010_POP_WHS_ROWS" class="mb_0 panel-group itp_nav"></ul>
154
-				<div id="ITP_LIST_MRTNMNG06010_POP_WHS_ROWCOPY" style="display: block;">
154
+				<div id="ITP_LIST_MRTNMNG06010_POP_WHS_ROWCOPY" style="display: none;">
155 155
 					<li class="row_2">
156 156
 						<div class="scroll_left">
157 157
 							<div class="con_2 fnWhsNm">브랜드 창고 명A</div>

+ 2 - 1
src/main/webapp/mobile/app/mstockmng/MSTOCKMNG01010.html

@@ -169,6 +169,7 @@
169 169
 			</div>
170 170
 			<form id="ITP_FORM_MSTOCKMNG01010_POP" class="form-horizontal" onsubmit="return false;">
171 171
 				<input type="hidden" id="ITP_FORM_MSTOCKMNG01010_POP_BRAND_ID" name="brandId" value="">
172
+				<input type="hidden" id="ITP_FORM_MSTOCKMNG01010_POP_STORE_ID" name="storeId" value="">
172 173
 				<input type="hidden" id="ITP_FORM_MSTOCKMNG01010_POP_ITEM_ID" name="itemId" value="">
173 174
 				<input type="hidden" id="ITP_FORM_MSTOCKMNG01010_POP_SOURCE_LOCATION" name="sourceLocation" value="">
174 175
 				<input type="hidden" id="ITP_FORM_MSTOCKMNG01010_POP_SOURCE_WHS_ID" name="sourceWhsId" value="">
@@ -178,7 +179,7 @@
178 179
 						<label>창고명</label>
179 180
 					</div>
180 181
 					<div class="list_info">
181
-						<div class="pay_info fnWhsNm">fasdfsafsf</div>
182
+						<div class="pay_info fnWhsNm"></div>
182 183
 					</div>
183 184
 				</div>
184 185
 				<div class="list_line">

+ 3 - 2
src/main/webapp/mobile/app/mstockmng/MSTOCKMNG02010.html

@@ -17,6 +17,7 @@
17 17
 			  <label>창고선택</label>
18 18
 			  <div class="float_left">
19 19
 				<input id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_WHS_NM" name="swhsNm" type="text" placeholder="A창고명">
20
+				<input id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_WHS_ID" name="swhsId" type="hidden">
20 21
 				<div class="itp_input_btn">		
21 22
 					<button id="ITP_BTN_MSTOCKMNG02010_LIST_SEARCH_WHS_NM"><img src="../img/search.png" alt=""></button>
22 23
 				</div>
@@ -57,7 +58,7 @@
57 58
 						<label class="col_3">품목번호</label>
58 59
 						<span>:</span>
59 60
 						<div>
60
-						  <div class="fnItemId"></div>
61
+						  <div class="fnItemId" data-normal-yn="Y"></div>
61 62
 						</div>
62 63
 						<label class="col_0">품목명&nbsp;:</label>
63 64
 						<div>
@@ -74,7 +75,7 @@
74 75
 						</div>
75 76
 						<label class="col_0">단위수량&nbsp;:</label>
76 77
 						<div>
77
-						  <div class="fnUnitQty"></div>
78
+						  <div class="fnCddQty"></div>
78 79
 						</div>
79 80
 					  </div>
80 81
 					</div>

+ 20 - 0
src/main/webapp/mobile/app/setting/SETTING01010.html

@@ -0,0 +1,20 @@
1
+<section id="ITP_MOBILE_SETTING01010">
2
+    <div class="upgrade">
3
+      <div class="info">
4
+        <h1>새로운 버전이 출시 되었어요!</h1>
5
+        <h2>'다음에' 선택시 앱이 종료됩니다</h2>
6
+      </div>
7
+      <div class="btn">
8
+        <div class="info_btn1">
9
+          <button>다음에</button>
10
+        </div>
11
+        <div class="info_btn2">
12
+          <button>업그레이드</button>
13
+        </div>
14
+      </div>
15
+    </div>
16
+    <div class="brand_name">
17
+      <h4>OderQueen</h4>
18
+    </div>
19
+  <div id="ITP_MOBILE_JS"></div>
20
+  </section>

+ 35 - 20
src/main/webapp/mobile/css/style.css

@@ -1,12 +1,16 @@
1
-@font-face {
1
+/* @font-face {
2
+    font-family: 'GmarketSansMedium';
3
+    src: url("../main/webapp/mobile/fonts/KoPubWorld Dotum Medium.ttf") format('woff');
4
+} */
5
+/* @font-face {
2 6
     font-family: 'GmarketSansMedium';
3 7
     src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
4 8
     font-weight: normal;
5 9
     font-style: normal;
6
-}
7
-* {margin: 0; padding: 0;letter-spacing: -1px; box-sizing: border-box; text-align: center; font-family: 'GmarketSansMedium', 'serif'; list-style: none;}
10
+} */
11
+* {margin: 0; padding: 0;letter-spacing: -1px; box-sizing: border-box; text-align: center; font-family: 'KoPub Dotum', 'serif'; list-style: none;}
8 12
 section {}
9
-body{background: #fff; position: relative; width: 100%; height: auto; font-family: 'GmarketSansMedium';
13
+body{background: #fff; position: relative; width: 100%; height: auto; font-family: 'KoPub Dotum';
10 14
 	overflow:scroll-y; 
11 15
 	-webkit-overflow-scrolling:touch;}
12 16
 body .login {position:fixed;}
@@ -96,7 +100,9 @@ section .popup2 .pop .popup_scroll li .scroll_left .mg_0 div {margin:0; padding:
96 100
 section .popup2 .pop .popup_scroll li .scroll_left .sub{font-size:14px; color:gray;}
97 101
 section .popup2 .pop .popup_scroll li .scroll_left .amt{font-size:14px; color:#b88278;}
98 102
 section .popup2 .pop .popup_scroll li .scroll_right {float: right;}
103
+section .popup2 .pop .popup_scroll li .scroll_right input[type=checkbox]{margin:18px 11px 0 11px;}
99 104
 section .popup2 .pop .popup_scroll li .scroll_right button {width: 50px; height: 38px; padding: 0; background:#8f9fc6; border:1px solid #cacfe3; color:#eee; border-radius: 10px; font-size: 14px; margin:16px 10px;}
105
+section .popup2 .pop .popup_scroll li .scroll_right button:hover {background:#708cd1;}
100 106
 section .popup2 .pop .popup_scroll li .right {position: relative; display: flex; font-size: 1.6rem; font-weight: 700; float: right; top:16px; height:38px;}
101 107
 section .popup2 .pop .popup_scroll li .right button {padding: 5px; font-size: 22px; width:24px;}
102 108
 section .popup2 .pop .popup_scroll li .add button{float: right; width: 60px; height: 55px; margin: 12px 9px; border-radius: 10px; font-size: 1rem; background: rgb(198, 170, 250);}
@@ -111,6 +117,8 @@ section .popup2 .list_line .mail select {width:30%;}
111 117
 section .popup2 .list_line .list_info .pay_info {text-align:left; padding-left:17px;}
112 118
 section .popup_scroll li .right .num {padding:8px 12px; width: auto; border-top:1px solid #E0B8AB; border-bottom:1px solid #E0B8AB;}
113 119
 section .popup_scroll li .right button {background:#e1cac1; color:#fff; border:1px solid #E0B8AB; padding:0px 7px; font-size: 1.5rem; border-radius: 0px;}
120
+section .popup_scroll li .right button:hover {background:#FCD5C1;}
121
+section .popup_scroll li .right button:checked {background:#ccc;}
114 122
 section .popup2 .list_line .line_right {float:right; width:70%;}
115 123
 section .popup2 .list_line .line_right select {width:200px; float:right; height:27px; margin-top:6px;}
116 124
 section .popup2 .list_line .line_right input {width:200px; float:right;}
@@ -140,8 +148,10 @@ section .popup3 .pop .header .header_right button img {width:30px; height:30px;}
140 148
 /* 버튼 */
141 149
 button {background-color: #fff; padding: 10px;}
142 150
 button.btn-primary  {color: #fff; background-color: #8f9fc6; border: 1px solid #cacfe3;}
151
+button.btn-primary:active{background-color: #708cd1;}
143 152
 button.btn-yellow   {color: #fff; background-color: #f9c03c; border: 1px solid #cacfe3;}
144
-button.btn-orange	{color: #fff; background-color: #f0831e; border: 1px solid #cacfe3;}
153
+button.btn-m-orange	{color: #fff; background-color: #f0831e; border: 1px solid #cacfe3;}
154
+button.btn-m-orange:hover {border:3px solid #f0831e !important; background-color: #fff; color:#B7B8B8;}
145 155
 button.btn-gray     {color: #fff; background-color: #a89d9c; border: 1px solid #cacfe3;}
146 156
 button.btn-danger   {color: #fff; background-color: #c8989d; border: 1px solid #cacfe3;}
147 157
 button.btn-green	{color: #fff; background-color: #5cb85c; border: 1px solid #cacfe3;}
@@ -172,6 +182,7 @@ body.eee {height: 700px; background: #eee;}
172 182
 #ITP_LOGIN {
173 183
     transform: translateX(-50%);
174 184
     max-width: 500px;
185
+    height:100%;
175 186
     left: 50%;
176 187
     position: fixed;}
177 188
 #ITP_LOGIN .login_popup {position: relative; width: 350px; text-align: center;}
@@ -241,8 +252,8 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
241 252
 #ITP_WRAPPER header .header_wrap img.brand {float: right; height: 45px; margin: 5px; border-radius: 50%; border: 1px solid #666;}
242 253
 #ITP_WRAPPER header .header_wrap label{ margin-top: 15px; width: 50px; height: 25px; font-size: 1rem;float: left; color: #fff;}
243 254
 #ITP_WRAPPER header .header_wrap .name_info {width: calc(100% - 120px); height:49px; display:inline-flex;}
244
-#ITP_WRAPPER header .header_wrap .name_info .bn {text-overflow:ellipsis; padding-top:0; text-align:right; width:115%; font-size:18px;}
245
-#ITP_WRAPPER header .header_wrap .name_info div {text-overflow:ellipsis; padding-left:3px; padding-top:2px; text-align:left; width: 85%; font-size: 15px; color:#fff; margin-top:14px;}
255
+#ITP_WRAPPER header .header_wrap .name_info .bn {text-overflow:ellipsis; overflow:hidden; white-space:nowrap; padding-top:0; text-align:right; width:115%; height:22px; font-size:18px;}
256
+#ITP_WRAPPER header .header_wrap .name_info div {text-overflow:ellipsis; overflow:hidden; white-space:nowrap; padding-left:3px; padding-top:2px; text-align:left; width: 85%; font-size: 15px; color:#fff; margin-top:14px;}
246 257
 
247 258
 #ITP_WRAPPER header .header_wrap .logout {float: right; width: 40px;}
248 259
 #ITP_WRAPPER header .header_wrap .logout button {margin-top: 15px; margin-right:20px; padding:0; width: 20px; height: 20px; border:none; font-size: 0.8rem;background: transparent;}
@@ -363,9 +374,8 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
363 374
 .content .list_line .mail select {width:30%; height:27px; font-size:14px; border: 1px solid #aaa;border-radius: 5px;}
364 375
 .content .list_line .list_info .pay_info {text-align:left; padding-left:17px; font-size:15px;}
365 376
 .content .table_header {margin-top: 6px; width: 100%; height: 36px;}
366
-.content .table_header h1 {margin-left: 15px; margin-top:16px; font-size: 13px; float: left; color: #000; font-weight: 100;}
377
+.content .table_header h1 {margin-left: 15px; margin-top:16px; margin-bottom:0; font-size: 13px; float: left; color: #000; font-weight: 100;}
367 378
 .content .table_header button {float: right; width: 68px; height:26px; font-size: 12px; font-weight: 100; padding:0px; margin: 4px 12px 6px 0; border-radius:15px;}
368
-
369 379
 .detail_content {top: 0px; position: fixed; z-index: 10; width:100%; background: #fff;}
370 380
 .detail_content .detail_header {width: 100%; height: 80px; padding-top:65px}
371 381
 .detail_content .detail_header .detail_logo {float: left;}
@@ -399,7 +409,10 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
399 409
 .button_bar {width: 100%; height: 47px; background: #ccc; position: fixed; bottom: 0px; z-index: 10;}
400 410
 .button_bar button.col_3{float: left; height: 47px; font-size: 14px; margin: 0; width: 33.3%; font-weight: 100; border: none;}
401 411
 .button_bar button.btn-gray {border-radius: 0px; background-color: #858076; color: #eee;}
412
+.button_bar button.btn-gray:active {border:3px solid #858076; background-color: #fff; color:#B7B8B8;}
402 413
 .button_bar button.btn-w-gray{border-radius: 0px; background-color: #b6b8b8; color: #eee;}
414
+.button_bar button.btn-w-gray:active{border:3px solid #b6b8b8; background-color: #fff; color:#B7B8B8;}
415
+
403 416
 .button_bar button.btn {height: 120px;}
404 417
 .button_bar button.btn_col_3 {width: 35%;}
405 418
 .button_bar button.btn_col_6 {width: 65%;}
@@ -408,8 +421,8 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
408 421
 .button_bar button.col_12 {font-weight:100; width: 100%; height: 40px; font-size: 16px;}
409 422
 
410 423
 /* scroll_area 조정 */
411
-.scroll_area {position: relative; top:0; width: 100%; height: 456px;border-bottom:2px solid #000; bottom: 30px; overflow: auto; background: #fff;}
412
-
424
+.scroll_area {position: relative; top:0; width: 100%; height: 456px;border-bottom:2px solid #000; margin-bottom:47px; overflow: auto; background: #fff;}
425
+.scroll_area ul {display:grid;}
413 426
 
414 427
 
415 428
 .col-4{width:35% !important;}
@@ -419,19 +432,20 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
419 432
 
420 433
 .scroll_area ul.mb_0 {margin-bottom:0 !important;}
421 434
 .scroll_area .itp_non_data {margin:35% auto;}
422
-.scroll_area li {margin:0; list-style: none; width: 100%; height: 85px; border: 1px solid #ccc; background-color: #fff;}
423 435
 
436
+.scroll_area li {margin:0; list-style: none; width: 100%; height: 85px; border: 1px solid #ccc; background-color: #fff;}
437
+.scroll_area li.check {background:#E6EFF4;}
424 438
 .scroll_area li.list-row {display: inline-flex; height:76px;}
425 439
 .scroll_area li.list-row2 {height:130px; padding-top:8px;}
426 440
 
427 441
 .scroll_area li .left_info {width: calc(100% - 100px); float:left; margin-top:4px;}
428
-.scroll_area li .left_info div {display: inline-block; font-size:14px;}
429
-.scroll_area li .left_info span {font-size: 14px;}
430
-.scroll_area li .left_info label{font-size: 14px; font-weight:100; margin-left:10px;}
442
+.scroll_area li .left_info div {display: inline-block; font-size:14pt;}
443
+.scroll_area li .left_info span {font-size: 14pt;}
444
+.scroll_area li .left_info label{font-size: 14pt; font-weight:100; margin-left:10px;}
431 445
 .scroll_area li .left_info .check_box {padding-top:8px; height:50px; float:left; width:22px;}
432
-.scroll_area li .left_info .thick {float:left; margin-top: 2px; font-size: 18px; text-align: left; width: 200px; height:20px; font-weight: 100;}
446
+.scroll_area li .left_info .thick {float:left; margin-top: 6px; font-size: 18px; text-align: left; width: 200px; height:20px; font-weight: 100;}
433 447
 .scroll_area li .left_info .thick .itp_item {color:gray;}
434
-.scroll_area li .left_info .thick .itp_gram {color:#aaa; font-size:14px;}
448
+.scroll_area li .left_info .thick .itp_gram {color:#aaa; font-size:14pt;}
435 449
 .scroll_area li .left_info .thick .itp_amt {color:#b88278; margin-top: 4px;}
436 450
 .scroll_area li .left_info .history {font-weight: 700; font-size: 1.1rem; margin-top:-2px;}
437 451
 .scroll_area li .left_info .history input{width: 150px;}
@@ -499,10 +513,11 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
499 513
 .scroll_area li .left .nomal div{display: inline-flex; font-weight: 700; font-size: 15px;}
500 514
 .scroll_area li .left .nomal .col_5{min-width:50px;}
501 515
 
502
-.scroll_area li .right {margin: 12px 10px 0 0; position: relative; display: flex; height:30px; font-size: 1.4rem; font-weight: 700; float: right;}
503
-.scroll_area li .right .num {padding:6px 22px; width: auto; border-top:1px solid #E0B8AB; border-bottom:1px solid #E0B8AB;}
516
+.scroll_area li .right {margin: 22px 10px 22px 0; position: relative; display: flex; height:30px; font-size: 1.4rem; font-weight: 700; float: right;}
517
+.scroll_area li .right .num {padding:6px 22px; width: auto; border-top:1px solid #E0B8AB; border-bottom:1px solid #E0B8AB; background:#fff;}
504 518
 .scroll_area li .right .fnnum {margin:10px 30px;}
505 519
 .scroll_area li .right button {background:#e1cac1; color:#fff; border:1px solid #E0B8AB; padding:0px 7px; font-size: 1.5rem; border-radius: 0px;}
520
+.scroll_area li .right button:hover {background:#FCD5C1;}
506 521
 
507 522
 /* ITP_FOOTER */
508 523
 #ITP_FOOTER .itp_modal {z-index:10000;}
@@ -558,7 +573,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
558 573
 @media screen and (max-height: 720px) {
559 574
 	#ITP_LOGIN {position:fixed; top:80px; max-width: 500px; margin: 0 auto;}
560 575
 	.bg_gray {position:relative; top:-90px;}
561
-	.scroll_area {height: 400px;}
576
+	.scroll_area {height: 58vh;}
562 577
 	section .popup2 .pop .popup_scroll {height: 65%;}
563 578
 	}
564 579
 @media screen and (max-height: 550px) {

BIN
src/main/webapp/mobile/fonts/KoPubWorld Dotum Medium.ttf


+ 8 - 7
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG03010.js

@@ -49,6 +49,8 @@ let mobPageObj = {
49 49
 				$('#ITP_FORM_MLOANMNG03010_LIST_SEARCH #ITP_BTN_MLOANMNG03010_LIST_SEARCH_STORE_NM').hide();
50 50
 				$('#ITP_FORM_MLOANMNG03010_LIST_SEARCH #ITP_BTN_MLOANMNG03010_LIST_DELETE_STORE_NM').hide();
51 51
 			}
52
+
53
+			CommonObj.btnPay('#ITP_BTN_MLOANMNG03010_VIEW_PAYMENT');
52 54
 		},
53 55
 		info: function() {
54 56
 			$('input:hidden[id$="_BRAND_ID"]').val(fn_make_user_info.get('brandId'));
@@ -178,8 +180,8 @@ let mobContentObj = {
178 180
 					$li.find('.fnSttlMgntUnqNo').text(item.sttlMgntUnqNo);
179 181
 					$li.find('.fnSttlStNm').text(item.sttlStNm);
180 182
 					$li.find('.fnSttlReqDt').text(item.sttlReqDt);
181
-					$li.find('.fnSttlAmt').text(CommonObj.currency.add(item.sttlAmt));
182
-					$li.find('.fnSttlDt').text(item.sttlDt);
183
+					$li.find('.fnSttlReqAmt').text(CommonObj.currency.add(item.sttlReqAmt));
184
+					$li.find('.fnSttlReqDt').text(CommonObj.nullToString(item.sttlReqDt));
183 185
 					$li.find('.fnUnpaidAmt').text(CommonObj.currency.add(item.unpaidAmt));
184 186
 					$li.find('.fnUseAmtTotal').text(CommonObj.currency.add(item.useAmtTotal));
185 187
 					_this.rows.push(item);
@@ -188,9 +190,7 @@ let mobContentObj = {
188 190
 			var errFn = function() { _this.isSearch = false;};
189 191
 			const param = $('#ITP_FORM_MLOANMNG03010_LIST_SEARCH').serializeObject();
190 192
 			param.gridPage = ++this.listPage;
191
-			param.gridSize = this.listSize
192
-			param.fromDt = CommonObj.onlyNumber(param.fromDt);
193
-			param.toDt = CommonObj.onlyNumber(param.toDt);
193
+			param.gridSize = this.listSize;
194 194
 			// console.log(JSON.stringify(param));
195 195
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
196 196
 		}
@@ -218,8 +218,9 @@ let mobContentObj = {
218 218
 			$(id).find('.fnLoanDvsnNm').text(result.loanDvsnNm);
219 219
 			$(id).find('.fnSttlStNm').text(result.sttlStNm);
220 220
 			$(id).find('.fnSttlReqDt').text(result.sttlReqDt);
221
-			$(id).find('.fnSttlAmt').text(CommonObj.currency.add(result.sttlAmt));
222
-			$(id).find('.fnSttlDt').text(result.sttlDt);
221
+			$(id).find('.fnSttlReqAmt').text(CommonObj.currency.add(result.sttlReqAmt));
222
+			$(id).find('.fnUseAmtTotal').text(CommonObj.currency.add(result.useAmtTotal));
223
+			$(id).find('.fnSttlReqDt').text(result.sttlReqDt);
223 224
 			$('#ITP_FORM_MLOANMNG03010_VIEW #ITP_FORM_MLOANMNG03010_VIEW_STORE_ID').val(result.storeId);
224 225
 			$('#ITP_FORM_MLOANMNG03010_VIEW #ITP_FORM_MLOANMNG03010_VIEW_STTL_MGNT_UNQ_NO').val(result.sttlMgntUnqNo);
225 226
 			$('#ITP_FORM_MLOANMNG03010_VIEW #ITP_FORM_MLOANMNG03010_VIEW_UNPAID_AMT').val(result.unpaidAmt);

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

@@ -369,28 +369,28 @@ let mobPopObj = {
369 369
 					$('#ITP_POP_MPOMNG01010_REQ_AREA #ITP_BTN_MPOMNG01010_POP_REQ_CONFIRM').text('확인');
370 370
 				} else {
371 371
 					if (Number(ordUseAmt) < Number(pchReqAmtTot)) { // 요청금액이 가능금액보다 클 경우
372
-						if($('#ITP_FORM_MPOMNG01010_DETAIL #ITP_FORM_MPOMNG01010_DETAIL_MALL_ID').val() === '') {	// PG 정보 없음
373
-							this.saveMode = 3;
374
-							if(loanDvsn === 'LD01') {	// 선불매장
375
-								popMsg = 	'선불매장이므로 입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야  구매요청을 하실 수 있습니다.';
376
-							} else if(loanDvsn === 'LD02') { // 후불매장
377
-								popMsg = 	'구매한도가 부족합니다.<br>' +
378
-									'선입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야 구매요청을  하실 수 있습니다.\n';
379
-							}
380
-							$('#ITP_POP_MPOMNG01010_REQ_AREA #ITP_BTN_MPOMNG01010_POP_REQ_CONFIRM').text('확인');
381
-						} else {
372
+						if(CommonObj.isPayPossible()) {	// PG 정보 여부
382 373
 							if(loanDvsn === 'LD01') {	// 선불매장
383 374
 								this.saveMode = 4;
384 375
 								popMsg = 	'선불매장이므로 결재를 하셔야 구매요청이 진행이 됩니다.<br>' +
385
-											'결재를 하시겠습니까?';
376
+									'결재를 하시겠습니까?';
386 377
 								$('#ITP_POP_MPOMNG01010_REQ_AREA #ITP_BTN_MPOMNG01010_POP_REQ_CONFIRM').text('결제');
387 378
 							} else if(loanDvsn === 'LD02') { // 후불매장
388 379
 								this.saveMode = 5;
389 380
 								popMsg = 	'구매한도가 부족합니다.<br>' +
390
-											'선결재를 하신 후에 구매요청을 하시기 바랍니다.<br>' +
391
-											'결재를 하시겠습니까?';
381
+									'선결재를 하신 후에 구매요청을 하시기 바랍니다.<br>' +
382
+									'결재를 하시겠습니까?';
392 383
 								$('#ITP_POP_MPOMNG01010_REQ_AREA #ITP_BTN_MPOMNG01010_POP_REQ_CONFIRM').text('결제');
393 384
 							}
385
+						} else {
386
+							this.saveMode = 3;
387
+							if(loanDvsn === 'LD01') {	// 선불매장
388
+								popMsg = 	'선불매장이므로 입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야  구매요청을 하실 수 있습니다.';
389
+							} else if(loanDvsn === 'LD02') { // 후불매장
390
+								popMsg = 	'구매한도가 부족합니다.<br>' +
391
+									'선입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야 구매요청을  하실 수 있습니다.\n';
392
+							}
393
+							$('#ITP_POP_MPOMNG01010_REQ_AREA #ITP_BTN_MPOMNG01010_POP_REQ_CONFIRM').text('확인');
394 394
 						}
395 395
 					} else {
396 396
 						this.saveMode = 2;

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

@@ -570,16 +570,7 @@ let mobPopObj = {
570 570
 					$('#ITP_POP_MPOMNG02010_REQ_AREA #ITP_BTN_MPOMNG02010_POP_REQ_CONFIRM').text('확인');
571 571
 				} else {
572 572
 					if (Number(ordUseAmt) < Number(pchReqAmtTot)) { // 요청금액이 가능금액보다 클 경우
573
-						if($('#ITP_FORM_MPOMNG02010_DETAIL #ITP_FORM_MPOMNG02010_DETAIL_MALL_ID').val() === '') {	// PG 정보 없음
574
-							this.saveMode = 3;
575
-							if(loanDvsn === 'LD01') {	// 선불매장
576
-								popMsg = 	'선불매장이므로 입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야  구매요청을 하실 수 있습니다.';
577
-							} else if(loanDvsn === 'LD02') { // 후불매장
578
-								popMsg = 	'구매한도가 부족합니다.<br>' +
579
-									'선입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야 구매요청을  하실 수 있습니다.\n';
580
-							}
581
-							$('#ITP_POP_MPOMNG02010_REQ_AREA #ITP_BTN_MPOMNG02010_POP_REQ_CONFIRM').text('확인');
582
-						} else {
573
+						if(CommonObj.isPayPossible()) {	// PG 정보 여부
583 574
 							if(loanDvsn === 'LD01') {	// 선불매장
584 575
 								this.saveMode = 4;
585 576
 								popMsg = 	'선불매장이므로 결재를 하셔야 구매요청이 진행이 됩니다.<br>' +
@@ -592,6 +583,15 @@ let mobPopObj = {
592 583
 									'결재를 하시겠습니까?';
593 584
 								$('#ITP_POP_MPOMNG02010_REQ_AREA #ITP_BTN_MPOMNG02010_POP_REQ_CONFIRM').text('결제');
594 585
 							}
586
+						} else {
587
+							this.saveMode = 3;
588
+							if(loanDvsn === 'LD01') {	// 선불매장
589
+								popMsg = 	'선불매장이므로 입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야  구매요청을 하실 수 있습니다.';
590
+							} else if(loanDvsn === 'LD02') { // 후불매장
591
+								popMsg = 	'구매한도가 부족합니다.<br>' +
592
+									'선입금을 하시고, 입금등록 후 브랜드에서 승인이 되어야 구매요청을  하실 수 있습니다.\n';
593
+							}
594
+							$('#ITP_POP_MPOMNG02010_REQ_AREA #ITP_BTN_MPOMNG02010_POP_REQ_CONFIRM').text('확인');
595 595
 						}
596 596
 					} else {
597 597
 						this.saveMode = 2;

+ 13 - 12
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG04010.js

@@ -143,7 +143,7 @@ let mobContentObj = {
143 143
 				_this.totPage = result.gridTotal;
144 144
 				$.each(result.gridRows, function (i, item) {
145 145
 					$('#ITP_LIST_MRTNMNG04010_LIST_ITEM_AREA .panel-group').append($('#ITP_LIST_MRTNMNG04010_LIST_ITEM_ROWCOPY').html());
146
-					var $li = $('#ITP_LIST_MRTNMNG04010_LIST_ITEM_AREA .panel-group > .history_list:last');
146
+					var $li = $('#ITP_LIST_MRTNMNG04010_LIST_ITEM_AREA .panel-group > .history_list7:last');
147 147
 					$li.find('.fnRtnOdrRegDt').text(item.rtnOdrRegDt);
148 148
 					$li.find('.fnColDvsnNm').text(item.colDvsnNm);
149 149
 					$li.find('.fnRtnOdrStNm').text(item.rtnOdrStNm);
@@ -190,7 +190,7 @@ let mobContentObj = {
190 190
 			$(id).find('.fnWhsNm').text(result.whsNm);
191 191
 			$.each(result.rtnOdrDtlList, function (i, item) {
192 192
 				$('#ITP_LIST_MRTNMNG04010_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MRTNMNG04010_VIEW_ITEM_ROWCOPY').html());
193
-				var $li = $('#ITP_LIST_MRTNMNG04010_VIEW_ITEM_AREA .panel-group > .list-row2:last');
193
+				var $li = $('#ITP_LIST_MRTNMNG04010_VIEW_ITEM_AREA .panel-group > .history_list5:last');
194 194
 				$li.find('.fnItemNm').text(item.itemNm);
195 195
 				$li.find('.fnRtnOdrQty').text(CommonObj.comma.set(item.rtnOdrQty, item.unit));
196 196
 				$li.find('.fnRtnOdrAmt').text(CommonObj.currency.add(item.rtnOdrAmt));
@@ -198,11 +198,16 @@ let mobContentObj = {
198 198
 			});
199 199
 		},
200 200
 		rtnPoCancel: function() {
201
-			if(confirm('반품 취소하시겠습니까?')) {
202
-				const param = {'brandId': fn_make_user_info.get('brandId'), 'rtnPodrUnqNo': this.rtnPodrUnqNo};
203
-				console.log(param);
204
-				fn_ajax_call(API_MOBILE_CANCEL, JSON.stringify(param), function() { mobContentObj.view.cancel(true) }, 'POST');
205
-			}
201
+			var modalFn = {
202
+				callBack: () => {
203
+					const param = {'brandId': fn_make_user_info.get('brandId'), 'rtnPodrUnqNo': this.rtnPodrUnqNo};
204
+					var searhFn = function () {
205
+						mobContentObj.list.init();
206
+					};
207
+					fn_ajax_call(API_RTNMNG_RTN_CANCEL_RTNPO, JSON.stringify(param), searhFn, 'POST');
208
+				}
209
+			};
210
+			itp_fn_modal_confirm('반품발주를 취소 하시겠습니까?', modalFn);
206 211
 		},
207 212
 		cancel: function (isSearch) {
208 213
 			var id = '#ITP_AJAX_MRTNMNG04010_VIEW_CONTAINER';
@@ -300,11 +305,7 @@ let mobPopObj = {
300 305
 				_this.view(result.gridRows);
301 306
 			};
302 307
 			const param = $('#ITP_FORM_MRTNMNG04010_POP_WHS').serializeObject();
303
-			if(this.popMode === 'RTN_WHS') {
304
-				(fn_make_user_info.get('authTpCd') === '50') ? param.swhsDvsn = 'W02' : param.swhsDvsn = 'W01';
305
-			} else {
306
-				(fn_make_user_info.get('authTpCd') === '50') ? param.swhsDvsn = 'W02' : param.swhsDvsn = 'W01';
307
-			}
308
+			param.swhsDvsn = CommonObj.schWhsDvsn(true);
308 309
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
309 310
 		},
310 311
 		view: function(gridRows) {

+ 57 - 21
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG05010.js

@@ -151,36 +151,76 @@ let mobContentObj = {
151 151
 		},
152 152
 		save: function() {
153 153
 			var _this = this;
154
+			var chkQtyYn1 = true;
155
+			var chkQtyYn2 = true;
156
+			var chkQtyYn3 = true;
154 157
 			var gridInsertData = [];
158
+			var swhsId = "";
159
+			var srtnWhsId = "";
160
+			var storeId = "";
155 161
 			$('#ITP_LIST_MRTNMNG05010_LIST_ITEM_ROWS li').each(function(index) {
156 162
 				var whsQty = $(this).find('input[name="whsQty"]').val();
157 163
 				if(whsQty !== '') {
164
+					if(Number(whsQty) > _this.rows[index].colReqQty) {
165
+						chkQtyYn1 = false;
166
+						return false;
167
+					}
168
+					if (swhsId !== "" && swhsId !== _this.rows[index].whsId) {
169
+						chkQtyYn2 = false;
170
+						return false;
171
+					}
172
+					if (srtnWhsId !== "" && srtnWhsId !== _this.rows[index].rtnWhsId) {
173
+						chkQtyYn3 = false;
174
+						return false;
175
+					}
158 176
 					var item = {
159 177
 						'dlvSttmtDtlNo'	: _this.rows[index].dlvSttmtDtlNo,
160 178
 						'dlvSttmtUnqNo'	: _this.rows[index].dlvSttmtUnqNo,
161 179
 						'itemId'		: _this.rows[index].itemId,
162 180
 						'whsQty'		: whsQty
163 181
 					};
182
+					swhsId = value.whsId;
183
+					srtnWhsId = value.rtnWhsId;
184
+					storeId = value.storeId;
164 185
 					gridInsertData.push(item);
165 186
 				}
166 187
 			});
167
-			if(gridInsertData.length > 0) {
168
-				var modalFn = {
169
-					callBack: (args) => {
170
-						let param = {};
171
-						param['viewCd'] = 'C';
172
-						param['brandId'] = $('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MPOMNG02010_LIST_SEARCH_BRAND_ID').val();
173
-						param['storeId'] = $('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MPOMNG02010_LIST_SEARCH_STORE_ID').val();
174
-						param['whsId'] = $('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MRTNMNG05010_LIST_SEARCH_WHS_ID').val();
175
-						param['gridInsertData'] = gridInsertData;
176
-						console.log(JSON.stringify(param));
177
-						var saveFn = function () {
178
-						};
179
-						fn_ajax_call(API_MOBILE_SAVE, JSON.stringify(param), saveFn, 'POST');
180
-					}
181
-				};
182
-				itp_fn_modal_confirm('저장 하시겠습니까?', modalFn);
188
+
189
+			if (chkQtyYn1 === false) {
190
+				itp_fn_modal_alert("수거요청수량보다 수거수량이 더 많습니다.");
191
+				return;
192
+			}
193
+			if (chkQtyYn2 === false) {
194
+				itp_fn_modal_alert("서로 다른 반품입고창고 품목은 처리할 수 없습니다.");
195
+				return;
196
+			}
197
+			if (chkQtyYn3 === false) {
198
+				itp_fn_modal_alert("서로 다른 수거창고 품목은 처리할 수 없습니다.");
199
+				return;
200
+			}
201
+
202
+			if (gridInsertData.length === 0) {
203
+				itp_fn_modal_alert("반품처리할 품목이 없습니다.");
204
+				return ;
183 205
 			}
206
+
207
+			var modalFn = {
208
+				callBack: (args) => {
209
+					let param = {};
210
+					param['viewCd'] = 'C';
211
+					param['whsId'] = swhsId;
212
+					param['rtnWhsId'] = srtnWhsId;
213
+					param['brandId'] = $('#ITP_FORM_MRTNMNG05010_LIST_SEARCH #ITP_FORM_MPOMNG02010_LIST_SEARCH_BRAND_ID').val();
214
+					param['storeId'] = storeId;
215
+					param['gridInsertData'] = gridInsertData;
216
+					console.log(JSON.stringify(param));
217
+					var saveFn = function () {
218
+						_this.search();
219
+					};
220
+					fn_ajax_call(API_MOBILE_SAVE, JSON.stringify(param), saveFn, 'POST');
221
+				}
222
+			};
223
+			itp_fn_modal_confirm('반품처리 하시겠습니까?', modalFn);
184 224
 		}
185 225
 	}
186 226
 };
@@ -204,11 +244,7 @@ let mobPopObj = {
204 244
 				_this.view(result.gridRows);
205 245
 			};
206 246
 			const param = $('#ITP_FORM_MRTNMNG05010_POP_WHS').serializeObject();
207
-			if(this.popMode === 'RTN_WHS') {
208
-				(fn_make_user_info.get('authTpCd') === '50') ? param.swhsDvsn = 'W02' : param.swhsDvsn = 'W01';
209
-			} else {
210
-				(fn_make_user_info.get('authTpCd') === '50') ? param.swhsDvsn = 'W02' : param.swhsDvsn = 'W01';
211
-			}
247
+			param.swhsDvsn = CommonObj.schWhsDvsn();
212 248
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
213 249
 		},
214 250
 		view: function(gridRows) {

+ 4 - 13
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG06010.js

@@ -118,11 +118,7 @@ let mobContentObj = {
118 118
 			// this.search();
119 119
 		},
120 120
 		search: function() {
121
-			if($('#ITP_FORM_MRTNMNG06010_LIST_SEARCH #ITP_FORM_MRTNMNG06010_LIST_SEARCH_RTN_WHS_NM').val().length < 1) {
122
-				alert('수거창고를 지정해주세요!');
123
-				return;
124
-			}
125
-			var formId = '#ITP_FORM_MRTNMNG05010_LIST_SEARCH';
121
+			var formId = '#ITP_FORM_MRTNMNG06010_LIST_SEARCH';
126 122
 			itp_fn_form_clear_validate(null, formId);
127 123
 			if (itp_fn_form_event.isValid(formId)) {
128 124
 				this.listPage = 0;
@@ -157,8 +153,6 @@ let mobContentObj = {
157 153
 			const param = $('#ITP_FORM_MRTNMNG06010_LIST_SEARCH').serializeObject();
158 154
 			param.gridPage = ++this.listPage;
159 155
 			param.gridSize = this.listSize;
160
-			param.fromDt = CommonObj.onlyNumber(param.fromDt);
161
-			param.toDt = CommonObj.onlyNumber(param.toDt);
162 156
 			console.log(JSON.stringify(param));
163 157
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
164 158
 		}
@@ -248,18 +242,15 @@ let mobPopObj = {
248 242
 				_this.view(result.gridRows);
249 243
 			};
250 244
 			const param = $('#ITP_FORM_MRTNMNG06010_POP_WHS').serializeObject();
251
-			if(this.popMode === 'RTN_WHS') {
252
-				(fn_make_user_info.get('authTpCd') === '50') ? param.swhsDvsn = 'W02' : param.swhsDvsn = 'W01';
253
-			} else {
254
-				(fn_make_user_info.get('authTpCd') === '50') ? param.swhsDvsn = 'W02' : param.swhsDvsn = 'W01';
255
-			}
245
+			// param.swhsDvsn = (fn_make_user_info.get('authTpCd') === '50') ? 'W02' : '';
246
+			param.swhsDvsn = CommonObj.schWhsDvsn(true);
256 247
 			fn_ajax_call(API_POP_SEARCH_LIST, JSON.stringify(param), callbackFn, 'POST');
257 248
 		},
258 249
 		view: function(gridRows) {
259 250
 			this.rows = gridRows;
260 251
 			$.each(gridRows, function (i, item) {
261 252
 				$('#ITP_LIST_MRTNMNG06010_POP_WHS_AREA .panel-group').append($('#ITP_LIST_MRTNMNG06010_POP_WHS_ROWCOPY').html());
262
-				var $li = $('#ITP_LIST_MRTNMNG06010_POP_WHS_AREA .panel-group > .list-row:last');
253
+				var $li = $('#ITP_LIST_MRTNMNG06010_POP_WHS_AREA .panel-group > .row_2:last');
263 254
 				$li.find('.fnWhsNm').text(item.whsNm);
264 255
 				$li.find('.fnLocationNm').text(item.locationNm);
265 256
 				$li.find('.fnWhsId').data('whs-id', item.whsId);

+ 16 - 6
src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG01010.js

@@ -164,7 +164,7 @@ let mobContentObj = {
164 164
 		},
165 165
 		procStck: function() {
166 166
 			if(!this.item) {
167
-				alert(ITP_MSG_LOCALE.message.ajax.noData);
167
+				itp_fn_modal_alert(ITP_MSG_LOCALE.message.ajax.noData);
168 168
 				return;
169 169
 			}
170 170
 			mobPopObj.popProcStck.init(this.item);
@@ -325,8 +325,7 @@ let mobPopObj = {
325 325
 			$(id).find('#ITP_FORM_MSTOCKMNG01010_POP_ITEM_ID').val(this.item.itemId);
326 326
 			$(id).find('#ITP_FORM_MSTOCKMNG01010_POP_SOURCE_LOCATION').val(this.item.location);
327 327
 			$(id).find('#ITP_FORM_MSTOCKMNG01010_POP_SOURCE_WHS_ID').val(this.item.whsId);
328
-			$("#ITP_FORM_MSTOCKMNG01010_POP_WHS_NM option:eq(0)").prop("selected", true);
329
-			$('select[id="ITP_FORM_MSTOCKMNG01010_POP_WHS_NM"]').trigger('change');
328
+			this.whsList();
330 329
 		},
331 330
 		action: function() {
332 331
 			var _this = this;
@@ -343,7 +342,18 @@ let mobPopObj = {
343 342
 			});
344 343
 			itp_fn_form_event.onKeyup('#ITP_FORM_MSTOCKMNG01010_POP');
345 344
 		},
346
-		locationList: function(mode) {
345
+		whsList: function() {
346
+			var _this = this;
347
+			const brandIdVal = $('#ITP_FORM_MSTOCKMNG01010_POP_BRAND_ID').val();
348
+			const storeIdVal = $('#ITP_FORM_MSTOCKMNG01010_POP_STORE_ID').val();
349
+			const param = {sbrandId: brandIdVal, sstoreId: storeIdVal, pagingYn: false};
350
+
351
+			fn_ajax_call(API_MOBILE_WHS_GRID_LIST, JSON.stringify(param), function(result) {
352
+				fn_make_select_whs(result.gridRows, 'ITP_FORM_MSTOCKMNG01010_POP_WHS_NM');
353
+				_this.locationList();
354
+			}, 'POST');
355
+		},
356
+		locationList: function() {
347 357
 			const brandIdVal = $('#ITP_FORM_MSTOCKMNG01010_POP_BRAND_ID').val();
348 358
 			const storeIdVal = $('#ITP_FORM_MSTOCKMNG01010_POP_STORE_ID').val();
349 359
 			const whsIdVal = $('#ITP_FORM_MSTOCKMNG01010_POP_WHS_NM').val();
@@ -356,11 +366,11 @@ let mobPopObj = {
356 366
 			var _this = this;
357 367
 			var qty = $('#ITP_POP_MSTOCKMNG01010_ITEM_AREA #ITP_FORM_MSTOCKMNG01010_POP_QTY').val();
358 368
 			if(qty.length < 1 || qty === '0') {
359
-				alert('이동 수량을 입력하세요.');
369
+				itp_fn_modal_alert('이동 수량을 입력하세요.');
360 370
 				return;
361 371
 			}
362 372
 			if(qty > this.item.stckQty) {
363
-				alert('재고 수량을 초과하여 입력할 수 없습니다.');
373
+				itp_fn_modal_alert('재고 수량을 초과하여 입력할 수 없습니다.');
364 374
 				return;
365 375
 			}
366 376
 			var param = $('#ITP_FORM_MSTOCKMNG01010_POP').serializeObject();

+ 23 - 18
src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG02010.js

@@ -71,9 +71,6 @@ let mobPageObj = {
71 71
 				}
72 72
 			});
73 73
 
74
-			$('select[id="ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_WHS_ID"]').on('change', function() {
75
-				mobContentObj.list.locationList();
76
-			});
77 74
 		}
78 75
 	},
79 76
 	switchScreen: function(mode) {
@@ -126,14 +123,16 @@ let mobContentObj = {
126 123
 		itemAdd: function(rows) {
127 124
 			var _this = this;
128 125
 			$.each(rows, function(index, item) {
129
-				$('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS .panel-group').append($('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWCOPY').html());
130
-				var $li = $('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_AREA .panel-group > .list-row:last');
126
+				$('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS').append($('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWCOPY').html());
127
+				var $li = $('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS > .history_list5:last');
131 128
 				$li.find('.fnItemId').text(item.itemId);
132 129
 				$li.find('.fnItemNm').text(item.itemNm);
133 130
 				$li.find('.fnUnit').text(item.unit);
134
-				$li.find('.fnUnitQty').text(item.unitQty);
131
+				$li.find('.fnCddQty').text(item.cddQty);
135 132
 				$li.find('.fnStckQty').text(CommonObj.currency.add(item.stckQty, '개'));
136 133
 				item['cddQty'] = 1;
134
+				item['normalYn'] = (item.itemId && item.itemId !== '') ? 'Y' : 'N';
135
+				console.log(item);
137 136
 				_this.rows.push(item);
138 137
 			});
139 138
 		},
@@ -148,7 +147,7 @@ let mobContentObj = {
148 147
 			var $div = $(elem).siblings('div');
149 148
 			var num = Number($div.text());
150 149
 			if(num <= 1) {
151
-				alert('주문수량을 확인하세요.');
150
+				itp_fn_modal_alert('주문수량을 확인하세요.');
152 151
 			} else {
153 152
 				var index = $div.parents('li').index();
154 153
 				$($div).text((num - 1).toString());
@@ -160,26 +159,32 @@ let mobContentObj = {
160 159
 			itp_fn_form_clear_validate(null, formId);
161 160
 		},
162 161
 		save: function() {
162
+			if($('#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS').children().length === 0) {
163
+				itp_fn_modal_alert(ITP_MSG_LOCALE.message.grid.noData);
164
+				return;
165
+			}
163 166
 			var formId = '#ITP_FORM_MSTOCKMNG02010_LIST_SEARCH';
164 167
 			itp_fn_form_clear_validate(null, formId);
165 168
 			if (itp_fn_form_event.isValid(formId)) {
169
+				var normalYnCheck = true;
166 170
 				let gridInsertData = [];
167
-				// var normalYnCheck = true;
168 171
 				$.each(this.rows, function(key, value) {
169
-					// if (value.normalYn === 'N') {
170
-					// 	normalYnCheck = false;
171
-					// }
172
+					if (value.normalYn === 'N') {
173
+						normalYnCheck = false;
174
+					}
172 175
 					gridInsertData.push({
173 176
 						'cddQty': value.cddQty,
174 177
 						'itemId': value.itemId
175 178
 					});
176 179
 				});
177
-				// if(!normalYnCheck) {
178
-				// 	alert('정상여부 값이 N인 데이터가 있습니다.\n품목번호를 확인하세요.');
179
-				// 	return;
180
-				// }
180
+				if(!normalYnCheck) {
181
+					itp_fn_modal_alert_ajax('정상여부 값이 N인 데이터가 있습니다.\n품목번호를 확인하세요.');
182
+					return;
183
+				}
181 184
 				let param = $(formId).serializeObject();
182
-				param['cddDt'] = param.cddDt.replace(/[^0-9]/g, "");
185
+				param['viewCd'] = 'C';
186
+				param.whsId = $('#ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_WHS_ID').val();
187
+				param.location = $('#ITP_FORM_MSTOCKMNG02010_LIST_SEARCH_LOCATION').val();
183 188
 				param.gridInsertData = gridInsertData;
184 189
 				console.log(JSON.stringify(param));
185 190
 				var searhFn = function() {
@@ -312,7 +317,7 @@ let mobPopObj = {
312 317
 				_this.rows = result.gridRows;
313 318
 				$.each(result.gridRows, function (i, item) {
314 319
 					$('#ITP_POP_MSTOCKMNG02010_TABLE_AREA').append($('#ITP_POP_MSTOCKMNG02010_TABLE_TR').html());
315
-					var $li = $('#ITP_POP_MSTOCKMNG02010_TABLE_AREA > .table_tr:last');
320
+					var $li = $('#ITP_POP_MSTOCKMNG02010_TABLE_AREA > .table_body:last');
316 321
 					$li.find('.fnItemId').text(item.itemId);
317 322
 					$li.find('.fnItemNm').text(item.itemNm);
318 323
 					$li.find('.fnUnit').text(item.unit);
@@ -335,7 +340,7 @@ let mobPopObj = {
335 340
 			});
336 341
 		},
337 342
 		checked: function(elem) {
338
-			var clsNm = '.table_tr';
343
+			var clsNm = '.table_body';
339 344
 			if($(elem).hasClass('chkAll')) {
340 345
 				$(clsNm).find('input:checkbox').prop('checked', $(elem).is(':checked'));
341 346
 			} else {

+ 1 - 1
src/main/webapp/mobile/js/app/popup/biz/ITP_BIZPOP_PO_PAYMENT.js

@@ -330,7 +330,7 @@ function f_moblie_submit() {
330 330
 	let param = $('#frm_pay').serializeObject();
331 331
 	param.reqDataList = reqDataList;
332 332
 	
333
-	// console.log("REQ : " + JSON.stringify(param));
333
+	console.log("REQ : " + JSON.stringify(param));
334 334
 		
335 335
 	fn_ajax_call(EASYPAY_PAYMENT_REQUEST, JSON.stringify(param), function(result) {
336 336
 		

+ 14 - 0
src/main/webapp/mobile/js/app/setting/ITP_SETTING01010.js

@@ -0,0 +1,14 @@
1
+require(['config'], function() {
2
+	require([
3
+		'jquery'
4
+	], function($) {
5
+		mobPageObj.init();
6
+	});
7
+});
8
+
9
+var mobPageObj = {
10
+	init: function () {
11
+		console.log('upgrade popPageObj');
12
+	},
13
+
14
+};

+ 14 - 0
src/main/webapp/mobile/js/config.js

@@ -55,6 +55,8 @@ require([
55 55
 	});
56 56
 
57 57
 	$('#ITP_MOBILE_BTN_SETTING').on('click', function() {
58
+		fn_make_slide_menu.loadPage('SETTING01010', MOBILE_CONTEXTPATH + '/app/setting/SETTING01010.html', null)
59
+		$('#ITP_MENU').toggle();
58 60
 	});
59 61
 
60 62
 	$('.ITP_BTN_NAV_CLOSE').on('click', function() {
@@ -820,6 +822,18 @@ let CommonObj = {
820 822
 	onlyNumber: function(str) {
821 823
 		return (str) ? str.replace(/[^0-9]/g, '') : str;
822 824
 	},
825
+	nullToString: function(value) {
826
+		return (value == null || value.length === 0) ? '' : value;
827
+	},
828
+	isPayPossible: function() {
829
+		return (fn_make_user_info.get('apprYn') === 'Y');
830
+	},
831
+	btnPay: function(id) {
832
+		return this.isPayPossible() ? $(id).show() : $(id).hide();
833
+	},
834
+	schWhsDvsn: function(isEmpty) {
835
+		return (fn_make_user_info.get('authTpCd') === '50') ? 'W02' : isEmpty ? '' : 'W01';
836
+	},
823 837
 	isApp: (/oqpo_android|oqpo_ios/).test(navigator.userAgent.toLowerCase())
824 838
 };
825 839