瀏覽代碼

모바일 날짜 포맷 수정

juney 2 年之前
父節點
當前提交
46d28e555d
共有 22 個文件被更改,包括 97 次插入82 次删除
  1. 41 18
      src/main/webapp/mobile/app/mloanmng/MLOANMNG03010.html
  2. 2 2
      src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG01010.js
  3. 2 2
      src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG02010.js
  4. 2 2
      src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG03010.js
  5. 2 2
      src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG01010.js
  6. 4 4
      src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG02010.js
  7. 15 23
      src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG03010.js
  8. 2 2
      src/main/webapp/mobile/js/app/mordmng/ITP_MORDMNG01010.js
  9. 2 2
      src/main/webapp/mobile/js/app/mordmng/ITP_MORDMNG02010.js
  10. 2 2
      src/main/webapp/mobile/js/app/mordmng/ITP_MORDMNG03010.js
  11. 2 2
      src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG02010.js
  12. 2 2
      src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG03010.js
  13. 2 2
      src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG04010.js
  14. 2 2
      src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG05010.js
  15. 2 2
      src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG06010.js
  16. 2 2
      src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG07010.js
  17. 2 2
      src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG02010.js
  18. 2 2
      src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG04010.js
  19. 2 2
      src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG05010.js
  20. 2 2
      src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG06010.js
  21. 2 2
      src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG01010.js
  22. 1 1
      src/main/webapp/mobile/js/config.js

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

@@ -44,43 +44,66 @@
44
 			<div id="ITP_LIST_MLOANMNG03010_LIST_ITEM_AREA" class="scroll_area row-1">
44
 			<div id="ITP_LIST_MLOANMNG03010_LIST_ITEM_AREA" class="scroll_area row-1">
45
 			  <ul id="ITP_LIST_MLOANMNG03010_LIST_ITEM_ROWS" class="panel-group"></ul>
45
 			  <ul id="ITP_LIST_MLOANMNG03010_LIST_ITEM_ROWS" class="panel-group"></ul>
46
 			  <div id="ITP_LIST_MLOANMNG03010_LIST_ITEM_ROWCOPY" style="display: none;">
46
 			  <div id="ITP_LIST_MLOANMNG03010_LIST_ITEM_ROWCOPY" style="display: none;">
47
-				<li class="history_list5 list-row">
47
+				<li class="history_list4 list-row">
48
 				  <div class="left">
48
 				  <div class="left">
49
 					<div class="nomal">
49
 					<div class="nomal">
50
-					  <label class="history_label">브랜드명 &nbsp;:</label>
50
+					  <label class="history_label">매장명 &nbsp;:</label>
51
 					  <div class="history">
51
 					  <div class="history">
52
-						<div class="fnBrandNm">브랜드명</div>
52
+						<div class="fnStoreNm"></div>
53
 					  </div>
53
 					  </div>
54
-					  <label class="history_label">매장명&nbsp;:</label>
54
+					  <label class="history_label">정산타입&nbsp;:</label>
55
 					  <div class="history">
55
 					  <div class="history">
56
-						<div class="fnStoreNm">A매장</div>
56
+						<div class="fnLoanDvsnNm"></div>
57
 					  </div>
57
 					  </div>
58
 					</div>
58
 					</div>
59
 				  </div>
59
 				  </div>
60
 				  <div class="left">
60
 				  <div class="left">
61
 					<div class="nomal">
61
 					<div class="nomal">
62
-					  <label class="history_label">정산상태 &nbsp;:</label>
62
+					  <label class="history_label">정산번호 &nbsp;:</label>
63
 					  <div class="history">
63
 					  <div class="history">
64
-						<div class="fnSttlStCd">정산요청</div>
64
+						<div class="fnSttlMgntUnqNo"></div>
65
 					  </div>
65
 					  </div>
66
-					  <label class="history_label">정산요청일&nbsp;:</label>
66
+					  <label class="history_label">정산상태&nbsp;:</label>
67
 					  <div class="history">
67
 					  <div class="history">
68
-						<div class="fnSttlReqDt">2022.10.05</div>
68
+						<div class="fnSttlStNm"></div>
69
 					  </div>
69
 					  </div>
70
 					</div>
70
 					</div>
71
 				  </div>
71
 				  </div>
72
 				  <div class="left">
72
 				  <div class="left">
73
 					<div class="nomal">
73
 					<div class="nomal">
74
-					  <label class="history_label">정산금액 &nbsp;:</label>
74
+					  <label class="history_label">정산요청일 &nbsp;:</label>
75
 					  <div class="history">
75
 					  <div class="history">
76
-						<div class="fnSttlAmt">1,000,000</div>
76
+						<div class="fnSttlReqDt"></div>
77
 					  </div>
77
 					  </div>
78
-					  <label class="history_label">액&nbsp;:</label>
78
+					  <label class="history_label">정산금액&nbsp;:</label>
79
 					  <div class="history">
79
 					  <div class="history">
80
-						<div class="fnBal">1,200,000</div>
80
+						<div class="fnSttlAmt"></div>
81
 					  </div>
81
 					  </div>
82
 					</div>
82
 					</div>
83
 				  </div>
83
 				  </div>
84
+					<div class="left">
85
+						<div class="nomal">
86
+							<label class="history_label">정산확정일 &nbsp;:</label>
87
+							<div class="history">
88
+								<div class="fnSttlDt"></div>
89
+							</div>
90
+							<label class="history_label">미납금액&nbsp;:</label>
91
+							<div class="history">
92
+								<div class="fnUnpaidAmt"></div>
93
+							</div>
94
+						</div>
95
+					</div>
96
+					<div class="left">
97
+						<div class="nomal">
98
+							<label class="history_label">사용가능한도 &nbsp;:</label>
99
+							<div class="history">
100
+								<div class="fnUseAmtTotal"></div>
101
+							</div>
102
+							<label class="history_label"></label>
103
+							<div class="history">
104
+							</div>
105
+						</div>
106
+					</div>
84
 				</li>
107
 				</li>
85
 			</div>
108
 			</div>
86
 		  </div>
109
 		  </div>
@@ -152,7 +175,7 @@
152
 					  <div class="nomal">
175
 					  <div class="nomal">
153
 						<label class="col_0">단가 &nbsp;:</label>
176
 						<label class="col_0">단가 &nbsp;:</label>
154
 						<div class="space2">
177
 						<div class="space2">
155
-						  <div class="fnUnit">1,000원</div>
178
+						  <div class="fnUnitAmt">1,000원</div>
156
 						</div>
179
 						</div>
157
 						<label class="col_0">단위&nbsp;:</label>
180
 						<label class="col_0">단위&nbsp;:</label>
158
 						<div class="space2">
181
 						<div class="space2">
@@ -168,7 +191,7 @@
168
 						</div>
191
 						</div>
169
 						<label class="col_0">입고(수거)일자&nbsp;:</label>
192
 						<label class="col_0">입고(수거)일자&nbsp;:</label>
170
 						<div>
193
 						<div>
171
-						  <div class="fnColDt">2022.10.05</div>
194
+						  <div class="fnWhsColDt">2022.10.05</div>
172
 						</div>
195
 						</div>
173
 					  </div>
196
 					  </div>
174
 					</div>
197
 					</div>
@@ -176,11 +199,11 @@
176
 					  <div class="nomal">
199
 					  <div class="nomal">
177
 						<label class="col_0">입고(수거)수량 &nbsp;:</label>
200
 						<label class="col_0">입고(수거)수량 &nbsp;:</label>
178
 						<div style="min-width:0px;">
201
 						<div style="min-width:0px;">
179
-						  <div class="fnColQty" style="min-width:0px;" >100</div>
202
+						  <div class="fnWhsColQty" style="min-width:0px;" >100</div>
180
 						</div>
203
 						</div>
181
 						<label class="col_0">입고(수거)금액&nbsp;:</label>
204
 						<label class="col_0">입고(수거)금액&nbsp;:</label>
182
 						<div class="fn">
205
 						<div class="fn">
183
-						  <div class="fnColAmt">500,000</div>
206
+						  <div class="fnWhsColAmt">500,000</div>
184
 						</div>
207
 						</div>
185
 					  </div>
208
 					  </div>
186
 					</div>
209
 					</div>
@@ -188,7 +211,7 @@
188
 					  <div class="nomal">
211
 					  <div class="nomal">
189
 						<label class="col_0">정산구분 &nbsp;:</label>
212
 						<label class="col_0">정산구분 &nbsp;:</label>
190
 						<div class="space2">
213
 						<div class="space2">
191
-						  <div class="fnSttlDvsn">입고</div>
214
+						  <div class="fnSttlDvsnNm">입고</div>
192
 						</div>
215
 						</div>
193
 					  </div>
216
 					  </div>
194
 					</div>
217
 					</div>

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

@@ -153,8 +153,8 @@ let mobContentObj = {
153
 			const param = $('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH').serializeObject();
153
 			const param = $('#ITP_FORM_MCOLLMNG01010_LIST_SEARCH').serializeObject();
154
 			param.gridPage = ++this.listPage;
154
 			param.gridPage = ++this.listPage;
155
 			param.gridSize = this.listSize;
155
 			param.gridSize = this.listSize;
156
-			param.fromDt = param.fromDt.replace(/-/g, ".");
157
-			param.toDt = param.toDt.replace(/-/g, ".");
156
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
157
+			param.toDt = CommonObj.onlyNumber(param.toDt);
158
 			console.log(JSON.stringify(param));
158
 			console.log(JSON.stringify(param));
159
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
159
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
160
 		}
160
 		}

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

@@ -158,8 +158,8 @@ let mobContentObj = {
158
 			const param = $('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH').serializeObject();
158
 			const param = $('#ITP_FORM_MCOLLMNG02010_LIST_SEARCH').serializeObject();
159
 			param.gridPage = ++this.listPage;
159
 			param.gridPage = ++this.listPage;
160
 			param.gridSize = this.listSize;
160
 			param.gridSize = this.listSize;
161
-			param.fromDt = param.fromDt.replace(/-/g, ".");
162
-			param.toDt = param.toDt.replace(/-/g, ".");
161
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
162
+			param.toDt = CommonObj.onlyNumber(param.toDt);
163
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
163
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
164
 		}
164
 		}
165
 	},
165
 	},

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

@@ -157,8 +157,8 @@ let mobContentObj = {
157
 			const param = $('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH').serializeObject();
157
 			const param = $('#ITP_FORM_MCOLLMNG03010_LIST_SEARCH').serializeObject();
158
 			param.gridPage = ++this.listPage;
158
 			param.gridPage = ++this.listPage;
159
 			param.gridSize = this.listSize;
159
 			param.gridSize = this.listSize;
160
-			param.fromDt = param.fromDt.replace(/-/g, ".");
161
-			param.toDt = param.toDt.replace(/-/g, ".");
160
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
161
+			param.toDt = CommonObj.onlyNumber(param.toDt);
162
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
162
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
163
 		}
163
 		}
164
 	},
164
 	},

+ 2 - 2
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG01010.js

@@ -234,8 +234,8 @@ let mobContentObj = {
234
 				param.gridPage = ++this.listPage;
234
 				param.gridPage = ++this.listPage;
235
 				param.gridSize = this.listSize;
235
 				param.gridSize = this.listSize;
236
 				param.sloanMgntUnqNo = _this.loanMgntUnqNo;
236
 				param.sloanMgntUnqNo = _this.loanMgntUnqNo;
237
-				param.fromDt = param.fromDt.replace(/-/g, ".");
238
-				param.toDt = param.toDt.replace(/-/g, ".");
237
+				param.fromDt = CommonObj.onlyNumber(param.fromDt);
238
+				param.toDt = CommonObj.onlyNumber(param.toDt);
239
 				console.log(JSON.stringify(param));
239
 				console.log(JSON.stringify(param));
240
 				fn_ajax_call(API_MOBILE_HISTORY, JSON.stringify(param), callbackFn, 'POST', errFn);
240
 				fn_ajax_call(API_MOBILE_HISTORY, JSON.stringify(param), callbackFn, 'POST', errFn);
241
 			}
241
 			}

+ 4 - 4
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG02010.js

@@ -186,8 +186,8 @@ let mobContentObj = {
186
 			const param = $('#ITP_FORM_MLOANMNG02010_LIST_SEARCH').serializeObject();
186
 			const param = $('#ITP_FORM_MLOANMNG02010_LIST_SEARCH').serializeObject();
187
 			param.gridPage = ++this.listPage;
187
 			param.gridPage = ++this.listPage;
188
 			param.gridSize = this.listSize
188
 			param.gridSize = this.listSize
189
-			param.fromDt = param.fromDt.replace(/-/g, ".");
190
-			param.toDt = param.toDt.replace(/-/g, ".");
189
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
190
+			param.toDt = CommonObj.onlyNumber(param.toDt);
191
 			console.log(JSON.stringify(param));
191
 			console.log(JSON.stringify(param));
192
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
192
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
193
 		},
193
 		},
@@ -296,8 +296,8 @@ let mobContentObj = {
296
 				param.gridPage = ++this.listPage;
296
 				param.gridPage = ++this.listPage;
297
 				param.gridSize = this.listSize;
297
 				param.gridSize = this.listSize;
298
 				param.sloanMgntUnqNo = _this.loanMgntUnqNo;
298
 				param.sloanMgntUnqNo = _this.loanMgntUnqNo;
299
-				param.fromDt = param.fromDt.replace(/-/g, ".");
300
-				param.toDt = param.toDt.replace(/-/g, ".");
299
+				param.fromDt = CommonObj.onlyNumber(param.fromDt);
300
+				param.toDt = CommonObj.onlyNumber(param.toDt);
301
 				console.log(JSON.stringify(param));
301
 				console.log(JSON.stringify(param));
302
 				fn_ajax_call(API_MOBILE_HISTORY, JSON.stringify(param), callbackFn, 'POST', errFn);
302
 				fn_ajax_call(API_MOBILE_HISTORY, JSON.stringify(param), callbackFn, 'POST', errFn);
303
 			}
303
 			}

+ 15 - 23
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG03010.js

@@ -141,17 +141,13 @@ let mobContentObj = {
141
 					var $li = $('#ITP_LIST_MLOANMNG03010_LIST_ITEM_AREA .panel-group > .list-row:last');
141
 					var $li = $('#ITP_LIST_MLOANMNG03010_LIST_ITEM_AREA .panel-group > .list-row:last');
142
 					$li.find('.fnStoreNm').text(item.storeNm);
142
 					$li.find('.fnStoreNm').text(item.storeNm);
143
 					$li.find('.fnLoanDvsnNm').text(item.loanDvsnNm);
143
 					$li.find('.fnLoanDvsnNm').text(item.loanDvsnNm);
144
-					var limitAmt;
145
-					if(item.loanDvsn == 'LD01') { // 선불(충전)
146
-						limitAmt = item.chrgeLimitAmt;
147
-					} else if(item.loanDvsn == 'LD02') { // 후불(신용)
148
-						limitAmt = item.credtLimitAmt;
149
-					}
150
-					$li.find('.fnLimitAmt').text(CommonObj.currency.add(limitAmt));
151
-					$li.find('.fnPosbLimitAmt').text(CommonObj.currency.add(limitAmt - item.useAmtTotal));
152
-					$li.find('.fnTmpRcvAcctTotal').text(CommonObj.currency.add(item.tmpRcvAcctTotal));
144
+					$li.find('.fnSttlMgntUnqNo').text(item.sttlMgntUnqNo);
145
+					$li.find('.fnSttlStNm').text(item.sttlStNm);
146
+					$li.find('.fnSttlReqDt').text(item.sttlReqDt);
147
+					$li.find('.fnSttlAmt').text(CommonObj.currency.add(item.sttlAmt));
148
+					$li.find('.fnSttlDt').text(item.sttlDt);
149
+					$li.find('.fnUnpaidAmt').text(CommonObj.currency.add(item.unpaidAmt));
153
 					$li.find('.fnUseAmtTotal').text(CommonObj.currency.add(item.useAmtTotal));
150
 					$li.find('.fnUseAmtTotal').text(CommonObj.currency.add(item.useAmtTotal));
154
-					$li.find('.fnUseYnNm').text(item.useYnNm);
155
 					_this.rows.push(item);
151
 					_this.rows.push(item);
156
 				});
152
 				});
157
 			};
153
 			};
@@ -159,6 +155,8 @@ let mobContentObj = {
159
 			const param = $('#ITP_FORM_MLOANMNG03010_LIST_SEARCH').serializeObject();
155
 			const param = $('#ITP_FORM_MLOANMNG03010_LIST_SEARCH').serializeObject();
160
 			param.gridPage = ++this.listPage;
156
 			param.gridPage = ++this.listPage;
161
 			param.gridSize = this.listSize
157
 			param.gridSize = this.listSize
158
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
159
+			param.toDt = CommonObj.onlyNumber(param.toDt);
162
 			// console.log(JSON.stringify(param));
160
 			// console.log(JSON.stringify(param));
163
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
161
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
164
 		}
162
 		}
@@ -174,11 +172,7 @@ let mobContentObj = {
174
 				console.log(result);
172
 				console.log(result);
175
 				_this.view(result);
173
 				_this.view(result);
176
 			};
174
 			};
177
-			const param = {
178
-				'brandId': fn_make_user_info.get('brandId'),
179
-				'spplyId': fn_make_user_info.get('spplyId'),
180
-				'loanMgntUnqNo': item.loanMgntUnqNo
181
-			};
175
+			const param = {'sttlMgntUnqNo': item.sttlMgntUnqNo};
182
 			fn_ajax_call(API_MOBILE_INFO, param, callbackFn, 'GET');
176
 			fn_ajax_call(API_MOBILE_INFO, param, callbackFn, 'GET');
183
 		},
177
 		},
184
 		view: function(result) {
178
 		view: function(result) {
@@ -197,15 +191,15 @@ let mobContentObj = {
197
 			$(id).find('.fnPosbLimitAmt').text(CommonObj.currency.add(limitAmt - result.useAmtTotal));
191
 			$(id).find('.fnPosbLimitAmt').text(CommonObj.currency.add(limitAmt - result.useAmtTotal));
198
 			$(id).find('.fnTmpRcvAcctTotal').text(CommonObj.currency.add(result.tmpRcvAcctTotal));
192
 			$(id).find('.fnTmpRcvAcctTotal').text(CommonObj.currency.add(result.tmpRcvAcctTotal));
199
 			$(id).find('.fnUseAmtTotal').text(CommonObj.currency.add(result.useAmtTotal));
193
 			$(id).find('.fnUseAmtTotal').text(CommonObj.currency.add(result.useAmtTotal));
200
-			_this.history.init(result.loanMgntUnqNo);
194
+			_this.history.init(result.sttlMgntUnqNo);
201
 		},
195
 		},
202
 		history: {
196
 		history: {
203
 			rows: [],
197
 			rows: [],
204
-			init: function(loanMgntUnqNo) {
198
+			init: function(sttlMgntUnqNo) {
205
 				// 조회일자 지정
199
 				// 조회일자 지정
206
 				$('#ITP_FORM_MLOANMNG03010_VIEW_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
200
 				$('#ITP_FORM_MLOANMNG03010_VIEW_SEARCH_FROM_DT').val(itp_fn_date_add('M', -1));
207
 				$('#ITP_FORM_MLOANMNG03010_VIEW_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
201
 				$('#ITP_FORM_MLOANMNG03010_VIEW_SEARCH_TO_DT').val(itp_fn_date_add('M', 0));
208
-				this.loanMgntUnqNo = loanMgntUnqNo;
202
+				this.sttlMgntUnqNo = sttlMgntUnqNo;
209
 				this.search();
203
 				this.search();
210
 			},
204
 			},
211
 			search: function() {
205
 			search: function() {
@@ -234,13 +228,11 @@ let mobContentObj = {
234
 					});
228
 					});
235
 				};
229
 				};
236
 				var errFn = function() { _this.isSearch = false;};
230
 				var errFn = function() { _this.isSearch = false;};
237
-				const param = $('#ITP_FORM_MLOANMNG03010_VIEW_SEARCH').serializeObject();
231
+				const param = {};
238
 				param.gridPage = ++this.listPage;
232
 				param.gridPage = ++this.listPage;
239
 				param.gridSize = this.listSize;
233
 				param.gridSize = this.listSize;
240
-				param.sloanMgntUnqNo = _this.loanMgntUnqNo;
241
-				param.fromDt = param.fromDt.replace(/-/g, ".");
242
-				param.toDt = param.toDt.replace(/-/g, ".");
243
-				console.log(JSON.stringify(param));
234
+				param.sttlMgntUnqNo = _this.sttlMgntUnqNo;
235
+				// console.log(JSON.stringify(param));
244
 				fn_ajax_call(API_MOBILE_HISTORY, JSON.stringify(param), callbackFn, 'POST', errFn);
236
 				fn_ajax_call(API_MOBILE_HISTORY, JSON.stringify(param), callbackFn, 'POST', errFn);
245
 			}
237
 			}
246
 		},
238
 		},

+ 2 - 2
src/main/webapp/mobile/js/app/mordmng/ITP_MORDMNG01010.js

@@ -153,8 +153,8 @@ let mobContentObj = {
153
 			const param = $('#ITP_FORM_MORDMNG01010_LIST_SEARCH').serializeObject();
153
 			const param = $('#ITP_FORM_MORDMNG01010_LIST_SEARCH').serializeObject();
154
 			param.gridPage = ++this.listPage;
154
 			param.gridPage = ++this.listPage;
155
 			param.gridSize = this.listSize;
155
 			param.gridSize = this.listSize;
156
-			param.fromDt = param.fromDt.replace(/-/g, ".");
157
-			param.toDt = param.toDt.replace(/-/g, ".");
156
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
157
+			param.toDt = CommonObj.onlyNumber(param.toDt);
158
 			console.log(JSON.stringify(param));
158
 			console.log(JSON.stringify(param));
159
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
159
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
160
 		}
160
 		}

+ 2 - 2
src/main/webapp/mobile/js/app/mordmng/ITP_MORDMNG02010.js

@@ -158,8 +158,8 @@ let mobContentObj = {
158
 			const param = $('#ITP_FORM_MORDMNG02010_LIST_SEARCH').serializeObject();
158
 			const param = $('#ITP_FORM_MORDMNG02010_LIST_SEARCH').serializeObject();
159
 			param.gridPage = ++this.listPage;
159
 			param.gridPage = ++this.listPage;
160
 			param.gridSize = this.listSize;
160
 			param.gridSize = this.listSize;
161
-			param.fromDt = param.fromDt.replace(/-/g, ".");
162
-			param.toDt = param.toDt.replace(/-/g, ".");
161
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
162
+			param.toDt = CommonObj.onlyNumber(param.toDt);
163
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
163
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
164
 		}
164
 		}
165
 	},
165
 	},

+ 2 - 2
src/main/webapp/mobile/js/app/mordmng/ITP_MORDMNG03010.js

@@ -157,8 +157,8 @@ let mobContentObj = {
157
 			const param = $('#ITP_FORM_MORDMNG03010_LIST_SEARCH').serializeObject();
157
 			const param = $('#ITP_FORM_MORDMNG03010_LIST_SEARCH').serializeObject();
158
 			param.gridPage = ++this.listPage;
158
 			param.gridPage = ++this.listPage;
159
 			param.gridSize = this.listSize;
159
 			param.gridSize = this.listSize;
160
-			param.fromDt = param.fromDt.replace(/-/g, ".");
161
-			param.toDt = param.toDt.replace(/-/g, ".");
160
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
161
+			param.toDt = CommonObj.onlyNumber(param.toDt);
162
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
162
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
163
 		}
163
 		}
164
 	},
164
 	},

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

@@ -177,8 +177,8 @@ let mobContentObj = {
177
 			const param = $('#ITP_FORM_MPOMNG02010_VIEW_SEARCH').serializeObject();
177
 			const param = $('#ITP_FORM_MPOMNG02010_VIEW_SEARCH').serializeObject();
178
 			param.gridPage = ++this.listPage;
178
 			param.gridPage = ++this.listPage;
179
 			param.gridSize = this.listSize;
179
 			param.gridSize = this.listSize;
180
-			param.fromDt = param.fromDt.replace(/-/g, ".");
181
-			param.toDt = param.toDt.replace(/-/g, ".");
180
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
181
+			param.toDt = CommonObj.onlyNumber(param.toDt);
182
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
182
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
183
 		},
183
 		},
184
 		action: function () {
184
 		action: function () {

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

@@ -161,8 +161,8 @@ let mobContentObj = {
161
 			const param = $('#ITP_FORM_MPOMNG03010_VIEW_SEARCH').serializeObject();
161
 			const param = $('#ITP_FORM_MPOMNG03010_VIEW_SEARCH').serializeObject();
162
 			param.gridPage = ++this.listPage;
162
 			param.gridPage = ++this.listPage;
163
 			param.gridSize = this.listSize;
163
 			param.gridSize = this.listSize;
164
-			param.fromDt = param.fromDt.replace(/-/g, ".");
165
-			param.toDt = param.toDt.replace(/-/g, ".");
164
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
165
+			param.toDt = CommonObj.onlyNumber(param.toDt);
166
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
166
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
167
 		}
167
 		}
168
 	},
168
 	},

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

@@ -159,8 +159,8 @@ let mobContentObj = {
159
 			const param = $('#ITP_FORM_MPOMNG04010_LIST_SEARCH').serializeObject();
159
 			const param = $('#ITP_FORM_MPOMNG04010_LIST_SEARCH').serializeObject();
160
 			param.gridPage = ++this.listPage;
160
 			param.gridPage = ++this.listPage;
161
 			param.gridSize = this.listSize;
161
 			param.gridSize = this.listSize;
162
-			param.fromDt = param.fromDt.replace(/-/g, ".");
163
-			param.toDt = param.toDt.replace(/-/g, ".");
162
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
163
+			param.toDt = CommonObj.onlyNumber(param.toDt);
164
 			console.log(JSON.stringify(param));
164
 			console.log(JSON.stringify(param));
165
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
165
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
166
 		}
166
 		}

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

@@ -148,8 +148,8 @@ let mobContentObj = {
148
 			const param = $('#ITP_FORM_MPOMNG05010_LIST_SEARCH').serializeObject();
148
 			const param = $('#ITP_FORM_MPOMNG05010_LIST_SEARCH').serializeObject();
149
 			param.gridPage = ++this.listPage;
149
 			param.gridPage = ++this.listPage;
150
 			param.gridSize = this.listSize;
150
 			param.gridSize = this.listSize;
151
-			param.fromDt = param.fromDt.replace(/-/g, ".");
152
-			param.toDt = param.toDt.replace(/-/g, ".");
151
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
152
+			param.toDt = CommonObj.onlyNumber(param.toDt);
153
 			console.log(JSON.stringify(param));
153
 			console.log(JSON.stringify(param));
154
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
154
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
155
 		}
155
 		}

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

@@ -143,8 +143,8 @@ let mobContentObj = {
143
 			const param = $('#ITP_FORM_MPOMNG06010_LIST_SEARCH').serializeObject();
143
 			const param = $('#ITP_FORM_MPOMNG06010_LIST_SEARCH').serializeObject();
144
 			param.gridPage = ++this.listPage;
144
 			param.gridPage = ++this.listPage;
145
 			param.gridSize = this.listSize;
145
 			param.gridSize = this.listSize;
146
-			param.fromDt = param.fromDt.replace(/-/g, ".");
147
-			param.toDt = param.toDt.replace(/-/g, ".");
146
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
147
+			param.toDt = CommonObj.onlyNumber(param.toDt);
148
 			console.log(JSON.stringify(param));
148
 			console.log(JSON.stringify(param));
149
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
149
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
150
 		},
150
 		},

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

@@ -148,8 +148,8 @@ let mobContentObj = {
148
 			const param = $('#ITP_FORM_MPOMNG07010_LIST_SEARCH').serializeObject();
148
 			const param = $('#ITP_FORM_MPOMNG07010_LIST_SEARCH').serializeObject();
149
 			param.gridPage = ++this.listPage;
149
 			param.gridPage = ++this.listPage;
150
 			param.gridSize = this.listSize;
150
 			param.gridSize = this.listSize;
151
-			param.fromDt = param.fromDt.replace(/-/g, ".");
152
-			param.toDt = param.toDt.replace(/-/g, ".");
151
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
152
+			param.toDt = CommonObj.onlyNumber(param.toDt);
153
 			console.log(JSON.stringify(param));
153
 			console.log(JSON.stringify(param));
154
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
154
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
155
 		}
155
 		}

+ 2 - 2
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG02010.js

@@ -177,8 +177,8 @@ let mobContentObj = {
177
 			const param = $('#ITP_FORM_MRTNMNG02010_LIST_SEARCH').serializeObject();
177
 			const param = $('#ITP_FORM_MRTNMNG02010_LIST_SEARCH').serializeObject();
178
 			param.gridPage = ++this.listPage;
178
 			param.gridPage = ++this.listPage;
179
 			param.gridSize = this.listSize;
179
 			param.gridSize = this.listSize;
180
-			param.fromDt = param.fromDt.replace(/-/g, ".");
181
-			param.toDt = param.toDt.replace(/-/g, ".");
180
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
181
+			param.toDt = CommonObj.onlyNumber(param.toDt);
182
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
182
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
183
 		},
183
 		},
184
 		action: function () {
184
 		action: function () {

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

@@ -155,8 +155,8 @@ let mobContentObj = {
155
 			const param = $('#ITP_FORM_MRTNMNG04010_LIST_SEARCH').serializeObject();
155
 			const param = $('#ITP_FORM_MRTNMNG04010_LIST_SEARCH').serializeObject();
156
 			param.gridPage = ++this.listPage;
156
 			param.gridPage = ++this.listPage;
157
 			param.gridSize = this.listSize;
157
 			param.gridSize = this.listSize;
158
-			param.fromDt = param.fromDt.replace(/-/g, ".");
159
-			param.toDt = param.toDt.replace(/-/g, ".");
158
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
159
+			param.toDt = CommonObj.onlyNumber(param.toDt);
160
 			console.log(JSON.stringify(param));
160
 			console.log(JSON.stringify(param));
161
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
161
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
162
 		}
162
 		}

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

@@ -142,8 +142,8 @@ let mobContentObj = {
142
 			const param = $('#ITP_FORM_MRTNMNG05010_LIST_SEARCH').serializeObject();
142
 			const param = $('#ITP_FORM_MRTNMNG05010_LIST_SEARCH').serializeObject();
143
 			param.gridPage = ++this.listPage;
143
 			param.gridPage = ++this.listPage;
144
 			param.gridSize = this.listSize;
144
 			param.gridSize = this.listSize;
145
-			param.fromDt = param.fromDt.replace(/-/g, ".");
146
-			param.toDt = param.toDt.replace(/-/g, ".");
145
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
146
+			param.toDt = CommonObj.onlyNumber(param.toDt);
147
 			console.log(JSON.stringify(param));
147
 			console.log(JSON.stringify(param));
148
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
148
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
149
 		},
149
 		},

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

@@ -148,8 +148,8 @@ let mobContentObj = {
148
 			const param = $('#ITP_FORM_MRTNMNG06010_LIST_SEARCH').serializeObject();
148
 			const param = $('#ITP_FORM_MRTNMNG06010_LIST_SEARCH').serializeObject();
149
 			param.gridPage = ++this.listPage;
149
 			param.gridPage = ++this.listPage;
150
 			param.gridSize = this.listSize;
150
 			param.gridSize = this.listSize;
151
-			param.fromDt = param.fromDt.replace(/-/g, ".");
152
-			param.toDt = param.toDt.replace(/-/g, ".");
151
+			param.fromDt = CommonObj.onlyNumber(param.fromDt);
152
+			param.toDt = CommonObj.onlyNumber(param.toDt);
153
 			console.log(JSON.stringify(param));
153
 			console.log(JSON.stringify(param));
154
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
154
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST', errFn);
155
 		}
155
 		}

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

@@ -238,8 +238,8 @@ let mobContentObj = {
238
 				param.gridPage = ++this.listPage;
238
 				param.gridPage = ++this.listPage;
239
 				param.gridSize = this.listSize;
239
 				param.gridSize = this.listSize;
240
 				param.sloanMgntUnqNo = _this.loanMgntUnqNo;
240
 				param.sloanMgntUnqNo = _this.loanMgntUnqNo;
241
-				param.fromDt = param.fromDt.replace(/-/g, ".");
242
-				param.toDt = param.toDt.replace(/-/g, ".");
241
+				param.fromDt = CommonObj.onlyNumber(param.fromDt);
242
+				param.toDt = CommonObj.onlyNumber(param.toDt);
243
 				console.log(JSON.stringify(param));
243
 				console.log(JSON.stringify(param));
244
 				fn_ajax_call(API_MOBILE_HISTORY, JSON.stringify(param), callbackFn, 'POST', errFn);
244
 				fn_ajax_call(API_MOBILE_HISTORY, JSON.stringify(param), callbackFn, 'POST', errFn);
245
 			}
245
 			}

+ 1 - 1
src/main/webapp/mobile/js/config.js

@@ -741,7 +741,7 @@ let CommonObj = {
741
 		}
741
 		}
742
 	},
742
 	},
743
 	onlyNumber: function(str) {
743
 	onlyNumber: function(str) {
744
-		return str.replace(/[^0-9]/g, '');
744
+		return (str) ? str.replace(/[^0-9]/g, '') : str;
745
 	}
745
 	}
746
 };
746
 };
747
 
747