Procházet zdrojové kódy

오류사항 수정 시작

juney před 2 roky
rodič
revize
72e4621fd5

+ 3 - 0
bin/src/main/webapp/js/app/oper/ITP_OPER03010.js

@@ -175,7 +175,10 @@ let pageObj = {
175 175
 			});
176 176
 
177 177
 			// 조회일자 지정
178
+			var now = new Date();
178 179
 			$('#ITP_TAB_OPER03010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
180
+			$('#ITP_FORM_OPER03010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
181
+			$('#ITP_FORM_OPER03010_SEARCH_TO_DT').datepicker('setDate', new Date());
179 182
 
180 183
 			// form alert message 주입
181 184
 			$('input[data-alert-required="ONLYCHK"]').each(function() {

+ 7 - 7
src/main/webapp/app/oper/OPER02010.html

@@ -145,13 +145,13 @@
145 145
 												</div>
146 146
 											</div>
147 147
 										</div>
148
-										<div class="form-group colspan">
148
+										<div class="form-group colspan border">
149 149
 											<label class="col-xs-2 itp_lb">공지대상 *</label>
150 150
 											<div class="col-xs-4 itp_ip">
151 151
 												<div class="col-xs-2 itp_in">
152 152
 													<select id="ITP_FORM_OPER02010_DETAIL_TARGET_CD" data-select-code="TARGET_CD" data-check-required="empty" class="form-control itp_input" name="targetCd"></select>
153 153
 												</div>
154
-												<div class="col-xs-7 itp_in" id="ITP_FORM_OPER02010_TARGET">
154
+												<!--<div class="col-xs-7 itp_in" id="ITP_FORM_OPER02010_TARGET">
155 155
 													<label style="margin-left:5px;">포함 대상</label>
156 156
 													<input id="ITP_FORM_OPER02010_DETAIL_BRAND" type="checkbox" class="itp_check"> 브랜드 대상
157 157
 													<input type="hidden" id="ITP_FORM_OPER02010_DETAIL_BRAND_CHK" name="brandChk" value="">
@@ -159,7 +159,7 @@
159 159
 													<input type="hidden" id="ITP_FORM_OPER02010_DETAIL_STORE_CHK" name="storeChk" value="">
160 160
 													<input id="ITP_FORM_OPER02010_DETAIL_SPPLY" type="checkbox" class="itp_check"> 공급사 대상
161 161
 													<input type="hidden" id="ITP_FORM_OPER02010_DETAIL_SPPLY_CHK" name="spplyChk" value="">
162
-												</div>
162
+												</div>-->
163 163
 											</div>
164 164
 										</div>
165 165
 									</div>
@@ -167,7 +167,7 @@
167 167
 							</form>
168 168
 						</div>
169 169
 					</div>
170
-					<div class="itp_table fix">
170
+					<!--<div class="itp_table fix">
171 171
 						<div class="itp_table_head fix" style="background:#f5f5f5;">
172 172
 							<h4 class="itp_table_tit">권한 정보 (* 공지대상이 특정 대상일 경우 추가 버튼 을 통해 사용자 등록 함)</h4>
173 173
 							<div class="pull-right itp_cicon">
@@ -181,7 +181,7 @@
181 181
 							<div id="ITP_OPER02010_DETAIL_jqGridPager"></div>
182 182
 							<div id="ITP_OPER02010_DETAIL_jqGridEmpty" class="itp_no_data"></div>
183 183
 						</div>
184
-					</div>
184
+					</div>-->
185 185
 				</div>
186 186
 				<div id="ITP_AJAX_OPER02010_VIEW_CONTAINER">
187 187
 					<div class="itp_form itp_type1 fix">
@@ -233,7 +233,7 @@
233 233
 						</div>
234 234
 					</div>
235 235
 
236
-					<div class="itp_table fix">
236
+					<!--<div class="itp_table fix">
237 237
 						<div class="itp_table_head fix">
238 238
 							<h4 class="itp_table_tit">* 공지대상이 특정 대상일 경구 추가 버큰을 통해 사용자  등록 함</h4>
239 239
 						</div>
@@ -244,7 +244,7 @@
244 244
 							<div id="ITP_OPER02010_VIEW_jqGridPager"></div>
245 245
 							<div id="ITP_OPER02010_VIEW_jqGridEmpty" class="itp_no_data"></div>
246 246
 						</div>
247
-					</div>
247
+					</div>-->
248 248
 				</div>
249 249
 			</div>
250 250
 		</article>

+ 7 - 11
src/main/webapp/app/oper/OPER03010.html

@@ -58,7 +58,7 @@
58 58
 								<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_VIEW_CD" name="viewCd" value="C">
59 59
 								<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_AFFL_SHOP_ID" class="form-control itp_input" name="afflShopId">
60 60
 								<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_CMPY_LOCATION" name="cmpyLocation" value="">
61
-								<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_FILE_NO" name="fileNo" value="">
61
+								<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_FILE_NO" name="cmpnyLogoFileNo" value="">
62 62
 					
63 63
 								<section class="itp_form_sec">
64 64
 									<h4 class="itp_form_tit">가맹점정보</h4>
@@ -95,7 +95,7 @@
95 95
 											</div>
96 96
 										</div>
97 97
 									</div>
98
-									<div class="itp_form_info">	
98
+									<!--<div class="itp_form_info">
99 99
 										<div class="itp_form_in">	
100 100
 											<div class="form-group">
101 101
 												<label class="col-xs-2 itp_lb">비번 초기화</label>
@@ -112,7 +112,7 @@
112 112
 												</div>
113 113
 											</div>
114 114
 										</div>
115
-									</div>	
115
+									</div>-->
116 116
 									<div class="itp_form_in">	
117 117
 										<div class="form-group">
118 118
 											<label class="col-xs-2 itp_lb">사업자번호 *</label>
@@ -124,7 +124,7 @@
124 124
 											<label class="col-xs-2 itp_lb">법인번호</label>
125 125
 											<div class="col-xs-4 itp_ip">
126 126
 												<div class="col-xs-6 itp_in">
127
-													<input type="text" id="ITP_FORM_OPER03010_DETAIL_CORP_REG_NO" data-key-up="regNo" class="form-control itp_input" name="corpRegNo" value="">
127
+													<input type="text" id="ITP_FORM_OPER03010_DETAIL_CORP_REG_NO" data-key-up="corpNo" class="form-control itp_input" name="corpRegNo" value="" maxlength="13">
128 128
 												</div>
129 129
 												<div class="col-xs-3 itp_in">
130 130
 
@@ -140,9 +140,7 @@
140 140
 												<!-- <button type="button" id="ITP_BTN_STINFO01010_RESET_PW" class="btn btn-danger btn-xs PWC" style="margin: 3px 0px 0px 3px;">비밀번호 초기화</button> -->
141 141
 											</div>
142 142
 											<label class="col-xs-2 itp_lb"></label>
143
-											<div class="col-xs-4 itp_in">
144
-												<img src="/oqpo-view/images/naver.png" alt="로고 샘플" id="ITP_FORM_OPER03010_DETAIL_ "style="border:none; top:12px; left:12px; height:70px; width:85px; position:absolute;" class="form-control itp_input" name="" >
145
-											</div>
143
+											<div class="col-xs-4 itp_in"></div>
146 144
 										</div>
147 145
 										<div class="form-group">
148 146
 											<label class="col-xs-2 itp_lb">전화번호 *</label>
@@ -242,7 +240,7 @@
242 240
 												<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_LOTS_ADDRESS" value="" />
243 241
 												<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_STREET_ADDRESS" value="" />
244 242
 												<input type="hidden" name="latX" id="ITP_FORM_OPER03010_DETAIL_LAT" value="" />
245
-												<input type="hidden" name="latY" id="ITP_FORM_OPER03010_DETAIL_LNG" value="" />
243
+												<input type="hidden" name="longY" id="ITP_FORM_OPER03010_DETAIL_LNG" value="" />
246 244
 												<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_HJ_DONG" value="" />
247 245
 												<input type="hidden" id="ITP_FORM_OPER03010_DETAIL_BJ_DONG" value="" />
248 246
 												<div id="ITP_FORM_OPER03010_DETAIL_MAP" style="margin-top:30px; width:700px; height:400px;"></div>
@@ -315,9 +313,7 @@
315 313
 												<div class="col-xs-7 itp_in fnCorpTypeNm"></div>
316 314
 											</div>
317 315
 											<label class="col-xs-2 itp_lb"></label>
318
-											<div class="col-xs-4 itp_in">
319
-												<img src="/oqpo-view/images/naver.png" alt="로고 샘플" id="ITP_FORM_STINFO01010_DETAIL_LOGO "style="border:none; top:12px; left:12px; height:100px; width:125px; position:absolute;" class="form-control itp_input" name="" >
320
-											</div>
316
+											<div class="col-xs-4 itp_in"></div>
321 317
 										</div>
322 318
 										<div class="form-group">
323 319
 											<label class="col-xs-2 itp_lb">전화번호 *</label>

+ 6 - 6
src/main/webapp/app/oper/OPER03011.html

@@ -55,7 +55,7 @@
55 55
 								<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_VIEW_CD" name="viewCd" value="C">
56 56
 								<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_AFFL_SHOP_ID" class="form-control itp_input" name="afflShopId">
57 57
 								<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_CMPY_LOCATION" name="cmpyLocation" value="">
58
-								<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_FILE_NO" name="fileNo" value="">
58
+								<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_FILE_NO" name="cmpnyLogoFileNo" value="">
59 59
 
60 60
 								<section class="itp_form_sec">
61 61
 									<h4 class="itp_form_tit">가맹점정보</h4>
@@ -92,7 +92,7 @@
92 92
 											</div>
93 93
 										</div>
94 94
 									</div>
95
-									<div class="itp_form_in">
95
+									<!--<div class="itp_form_in">
96 96
 										<div class="form-group">
97 97
 											<label class="col-xs-2 itp_lb">비번 초기화</label>
98 98
 											<div class="col-xs-10 itp_ip">
@@ -107,7 +107,7 @@
107 107
 												</div>
108 108
 											</div>
109 109
 										</div>
110
-									</div>
110
+									</div>-->
111 111
 									<div class="itp_form_in">
112 112
 										<div class="form-group">
113 113
 											<label class="col-xs-2 itp_lb">사업자번호 *</label>
@@ -147,8 +147,8 @@
147 147
 												</div>
148 148
 											</div>
149 149
 											<label class="col-xs-2 itp_lb" style="border-top:none;">가맹점 로고</label>
150
-											<div class="col-xs-4 itp_ip"style="border-top:none;">
151
-												<div class="col-xs-5 itp_in">
150
+											<div class="col-xs-4 itp_ip" style="border-top:none;">
151
+												<div id="ITP_FORM_OPER03011_DETAIL_LOGO_FILE" class="col-xs-5 itp_in">
152 152
 												</div>
153 153
 											</div>
154 154
 										</div>
@@ -237,7 +237,7 @@
237 237
 												<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_LOTS_ADDRESS" value="" />
238 238
 												<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_STREET_ADDRESS" value="" />
239 239
 												<input type="hidden" name="latX" id="ITP_FORM_OPER03011_DETAIL_LAT" value="" />
240
-												<input type="hidden" name="latY" id="ITP_FORM_OPER03011_DETAIL_LNG" value="" />
240
+												<input type="hidden" name="longY" id="ITP_FORM_OPER03011_DETAIL_LNG" value="" />
241 241
 												<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_HJ_DONG" value="" />
242 242
 												<input type="hidden" id="ITP_FORM_OPER03011_DETAIL_BJ_DONG" value="" />
243 243
 												<div id="ITP_FORM_OPER03011_DETAIL_MAP" style="margin-top:30px; width:700px; height:400px;"></div>

+ 1 - 1
src/main/webapp/app/oper/OPER06010.html

@@ -218,7 +218,7 @@
218 218
 												<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_LOTS_ADDRESS" value="" />
219 219
 												<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_STREET_ADDRESS" value="" />
220 220
 												<input type="hidden" name="latX" id="ITP_FORM_OPER06010_DETAIL_LAT" value="" />
221
-												<input type="hidden" name="latY" id="ITP_FORM_OPER06010_DETAIL_LNG" value="" />
221
+												<input type="hidden" name="longY" id="ITP_FORM_OPER06010_DETAIL_LNG" value="" />
222 222
 												<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_HJ_DONG" value="" />
223 223
 												<input type="hidden" id="ITP_FORM_OPER06010_DETAIL_BJ_DONG" value="" />
224 224
 												<div id="ITP_FORM_OPER06010_DETAIL_MAP" style="margin-top:30px; width:700px; height:400px;"></div>

+ 2 - 2
src/main/webapp/app/stinfo/STINFO01010.html

@@ -186,8 +186,8 @@
186 186
 													<!-- 주소 맵 -->
187 187
 													<input type="hidden" id="ITP_FORM_STINFO01010_DETAIL_LOTS_ADDRESS" value="" />
188 188
 													<input type="hidden" id="ITP_FORM_STINFO01010_DETAIL_STREET_ADDRESS" value="" />
189
-													<input type="hidden" name="cmpyLat" id="ITP_FORM_STINFO01010_DETAIL_LAT" value="" />
190
-													<input type="hidden" name="cmpyLng" id="ITP_FORM_STINFO01010_DETAIL_LNG" value="" />
189
+													<input type="hidden" name="latX" id="ITP_FORM_STINFO01010_DETAIL_LAT" value="" />
190
+													<input type="hidden" name="longY" id="ITP_FORM_STINFO01010_DETAIL_LNG" value="" />
191 191
 													<input type="hidden" id="ITP_FORM_STINFO01010_DETAIL_HJ_DONG" value="" />
192 192
 													<input type="hidden" id="ITP_FORM_STINFO01010_DETAIL_BJ_DONG" value="" />
193 193
 													<div id="ITP_FORM_STINFO01010_DETAIL_MAP" style="width:700px; height:400px;"></div>

+ 1 - 1
src/main/webapp/app/stinfo/STINFO01011.html

@@ -218,7 +218,7 @@
218 218
 				                                <input type="hidden" id="ITP_FORM_STINFO01011_DETAIL_LOTS_ADDRESS" value="" />
219 219
 				                                <input type="hidden" id="ITP_FORM_STINFO01011_DETAIL_STREET_ADDRESS" value="" />
220 220
 				                                <input type="hidden" name="latX" id="ITP_FORM_STINFO01011_DETAIL_LAT" value="" />
221
-				                                <input type="hidden" name="latY" id="ITP_FORM_STINFO01011_DETAIL_LNG" value="" />
221
+				                                <input type="hidden" name="longY" id="ITP_FORM_STINFO01011_DETAIL_LNG" value="" />
222 222
 				                                <input type="hidden" id="ITP_FORM_STINFO01011_DETAIL_HJ_DONG" value="" />
223 223
 				                                <input type="hidden" id="ITP_FORM_STINFO01011_DETAIL_BJ_DONG" value="" />
224 224
 				                                <div id="ITP_FORM_STINFO01011_DETAIL_MAP" style="margin-top:30px; width:700px; height:400px;"></div>

+ 2 - 2
src/main/webapp/app/stinfo/STINFO02010.html

@@ -28,9 +28,9 @@
28 28
 										<div class="col-xs-10 itp_ip itp_noMar">
29 29
 											<div class="col-xs-4 itp_ip">
30 30
 												<div class="input-daterange input-group date">
31
-													<input type="text" id="ITP_FORM_STINFO02010_SEARCH_REG_DT" class="form-control itp_input" name="fromDt" readonly>
31
+													<input type="text" id="ITP_FORM_STINFO02010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" readonly>
32 32
 													<span class="input-group-addon itp_date_to">~</span>
33
-													<input type="text" id="ITP_FORM_STINFO02010_SEARCH_OPEN_DT" class="form-control itp_input" name="toDt" readonly>
33
+													<input type="text" id="ITP_FORM_STINFO02010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" readonly>
34 34
 												</div>
35 35
 											</div>
36 36
 										</div>

+ 2 - 2
src/main/webapp/app/stinfo/STINFO02011.html

@@ -28,9 +28,9 @@
28 28
 										<div class="col-xs-10 itp_ip itp_noMar">
29 29
 											<div class="col-xs-4 itp_ip">
30 30
 												<div class="input-daterange input-group date">
31
-													<input type="text" id="ITP_FORM_STINFO02011_SEARCH_REG_DT" class="form-control itp_input" name="fromDt" readonly>
31
+													<input type="text" id="ITP_FORM_STINFO02011_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" readonly>
32 32
 													<span class="input-group-addon itp_date_to">~</span>
33
-													<input type="text" id="ITP_FORM_STINFO02011_SEARCH_OPEN_DT" class="form-control itp_input" name="toDt" readonly>
33
+													<input type="text" id="ITP_FORM_STINFO02011_SEARCH_TO_DT" class="form-control itp_input" name="toDt" readonly>
34 34
 												</div>
35 35
 											</div>
36 36
 										</div>

+ 2 - 2
src/main/webapp/app/stinfo/STINFO03010.html

@@ -112,7 +112,7 @@
112 112
 											<div class="col-xs-4 itp_ip">
113 113
 												<div class="itp_form_change">
114 114
 													<div class="col-xs-7 itp_in">
115
-									                	<input type="text" id="ITP_FORM_STINFO03010_DETAIL_BSNS_REG_NO" class="form-control itp_input" name="bsnsCndt" value="">
115
+									                	<input type="text" id="ITP_FORM_STINFO03010_DETAIL_BSNS_REG_NO" class="form-control itp_input" name="bsnsRegNo" value="">
116 116
 													</div>
117 117
 												</div>
118 118
 												<div class="itp_form_info">
@@ -133,7 +133,7 @@
133 133
 											<div class="col-xs-4 itp_ip">
134 134
 												<div class="itp_form_change">
135 135
 													<div class="col-xs-7 itp_in">
136
-									                	<input type="text" id="ITP_FORM_STINFO03010_DETAIL_CORP_REG_NO" class="form-control itp_input" name="bsnsCndt" value="">
136
+									                	<input type="text" id="ITP_FORM_STINFO03010_DETAIL_CORP_REG_NO" class="form-control itp_input" name="corpRegNo" value="">
137 137
 													</div>
138 138
 												</div>
139 139
 												<div class="itp_form_info">

+ 8 - 1
src/main/webapp/js/app/config.js

@@ -2981,12 +2981,19 @@ let itp_fn_form_event = {
2981 2981
 				value = $(this).val().replace(/[^0-9]/g, "");
2982 2982
 			}
2983 2983
 			if ($.inArray('comma', arry) > -1) {
2984
-				value = $(this).val().replace(/[^0-9]/g, "").replace(/\B(?=(\d{3})+(?!\d))/g, ",");
2984
+				value = $(this).val().replace(/[^0-9]/g, "")
2985
+					.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
2985 2986
 			}
2986 2987
 			if ($.inArray('regNo', arry) > -1) {
2987 2988
 				value = $(this).val().replace(/[^0-9]/g, "")
2988 2989
 					.replace(/(^[0-9]{3}|^0[0-9]{2})([0-9]+)?([0-9]{5})$/,"$1-$2-$3")
2989 2990
 			}
2991
+			if ($.inArray('corpNo', arry) > -1) {
2992
+				if($(this).val().length > 13) return;
2993
+				value = $(this).val().replace(/[^0-9]/g, "")
2994
+					.replace(/(^[0-9]{6})([0-9]+)?([0-9]{7})$/,"######-#######")
2995
+					// .replace(/(\d{6})(\d{7})/, '######-#######')
2996
+			}
2990 2997
 			if ($.inArray('tel', arry) > -1) {
2991 2998
 				value = ($(this).val().startsWith('0')) ? $(this).val().replace(/[^0-9]/g, "")
2992 2999
 					.replace(/(^02|^0505|^1[0-9]{3}|^0[0-9]{2})([0-9]+)?([0-9]{4})$/,"$1-$2-$3")

+ 3 - 0
src/main/webapp/js/app/oper/ITP_OPER01010.js

@@ -172,7 +172,10 @@ let pageObj = {
172 172
 			});
173 173
 
174 174
 			// 조회일자 지정
175
+			var now = new Date();
175 176
 			$('#ITP_TAB_OPER01010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
177
+			$('#ITP_FORM_OPER01010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
178
+			$('#ITP_FORM_OPER01010_SEARCH_TO_DT').datepicker('setDate', new Date());
176 179
 		},
177 180
 		afflInfo: {
178 181
 			init: function() {

+ 22 - 22
src/main/webapp/js/app/oper/ITP_OPER02010.js

@@ -11,15 +11,15 @@ const OPER02010_GRID_LIST = '#ITP_OPER02010_jqGrid_list';
11 11
 const OPER02010_GRID_PAGER = '#ITP_OPER02010_jqGridPager';
12 12
 const OPER02010_GRID_EMPTY = '#ITP_OPER02010_jqGridEmpty';
13 13
 
14
-const OPER02010_VIEW_GRID_ID = '#ITP_OPER02010_VIEW_jqGrid';
15
-const OPER02010_VIEW_GRID_LIST = '#ITP_OPER02010_VIEW_jqGrid_list';
16
-const OPER02010_VIEW_GRID_PAGER = '#ITP_OPER02010_VIEW_jqGridPager';
17
-const OPER02010_VIEW_GRID_EMPTY = '#ITP_OPER02010_VIEW_jqGridEmpty';
18
-
19
-const OPER02010_DETAIL_GRID_ID = '#ITP_OPER02010_DETAIL_jqGrid';
20
-const OPER02010_DETAIL_GRID_LIST = '#ITP_OPER02010_DETAIL_jqGrid_list';
21
-const OPER02010_DETAIL_GRID_PAGER = '#ITP_OPER02010_DETAIL_jqGridPager';
22
-const OPER02010_DETAIL_GRID_EMPTY = '#ITP_OPER02010_DETAIL_jqGridEmpty';
14
+// const OPER02010_VIEW_GRID_ID = '#ITP_OPER02010_VIEW_jqGrid';
15
+// const OPER02010_VIEW_GRID_LIST = '#ITP_OPER02010_VIEW_jqGrid_list';
16
+// const OPER02010_VIEW_GRID_PAGER = '#ITP_OPER02010_VIEW_jqGridPager';
17
+// const OPER02010_VIEW_GRID_EMPTY = '#ITP_OPER02010_VIEW_jqGridEmpty';
18
+//
19
+// const OPER02010_DETAIL_GRID_ID = '#ITP_OPER02010_DETAIL_jqGrid';
20
+// const OPER02010_DETAIL_GRID_LIST = '#ITP_OPER02010_DETAIL_jqGrid_list';
21
+// const OPER02010_DETAIL_GRID_PAGER = '#ITP_OPER02010_DETAIL_jqGridPager';
22
+// const OPER02010_DETAIL_GRID_EMPTY = '#ITP_OPER02010_DETAIL_jqGridEmpty';
23 23
 
24 24
 let ITP_FORM_OPER02010_DETAIL_IS_WRITING = false;
25 25
 
@@ -81,7 +81,7 @@ const gridColModel = {
81 81
 			width: '10', fixed: false, align: 'center',
82 82
 			sortable: false, hidden: false
83 83
 		}
84
-	],
84
+	]/*,
85 85
 	detail: [
86 86
 		{
87 87
 			index: 'VIEW_CD', name: 'viewCd',
@@ -127,7 +127,7 @@ const gridColModel = {
127 127
 			width: '30', fixed: false, align: 'center',
128 128
 			sortable: false, editable: false, edittype: 'text'
129 129
 		}
130
-	]
130
+	]*/
131 131
 };
132 132
 
133 133
 /********************************************************
@@ -239,8 +239,8 @@ let pageObj = {
239 239
 						case 'ITP_BTN_OPER02010_CANCELLIST'			: createObj.button.cancel(); 	break;	// 취소/목록 버튼
240 240
 						case 'ITP_BTN_OPER00210_DELETE'				: 								break;	// 삭제 버튼
241 241
 						case 'ITP_BTN_OPER02010_SAVE'				: createObj.button.save(); 		break;	// 저장 버튼
242
-						case 'ITP_BTN_OPER02010_DETAIL_ADDROW'		: pageObj.grid.button.addRow();	break;	// 상세:추가버튼
243
-						case 'ITP_BTN_OPER02010_DETAIL_DELROW'		: pageObj.grid.button.delRow();	break;	// 상세:삭제버튼
242
+						// case 'ITP_BTN_OPER02010_DETAIL_ADDROW'		: pageObj.grid.button.addRow();	break;	// 상세:추가버튼
243
+						// case 'ITP_BTN_OPER02010_DETAIL_DELROW'		: pageObj.grid.button.delRow();	break;	// 상세:삭제버튼
244 244
 					}
245 245
 				});
246 246
 			});
@@ -299,7 +299,7 @@ let pageObj = {
299 299
 			$('#ITP_AJAX_OPER02010_VIEW_CONTAINER').show();
300 300
 			fn_show_btn_auth_array(['#ITP_BTN_OPER02010_MODIFY', '#ITP_BTN_OPER02010_CANCELLIST']);
301 301
 		}
302
-	},
302
+	}/*,
303 303
 	grid: {
304 304
 		init: function(mode) {
305 305
 			this.mode = mode;
@@ -372,7 +372,7 @@ let pageObj = {
372 372
 		unload : function() {
373 373
 			$.jgrid.gridUnload(this.gridId);
374 374
 		}
375
-	}
375
+	}*/
376 376
 };
377 377
 
378 378
 /*목록화면 Object*/
@@ -515,7 +515,7 @@ let viewObj = {
515 515
 		itp_fn_set_file_upload('ITP_OPER02010_VIEW_UPLOAD', 'notice', true, false, 'OPER02010', fileArgs);
516 516
 
517 517
 		// 권한정보 리스트 조회
518
-		pageObj.grid.init('VIEW');
518
+		// pageObj.grid.init('VIEW');
519 519
 	}
520 520
 };
521 521
 
@@ -582,17 +582,17 @@ let modifyObj = {
582 582
 		itp_fn_set_file_upload('ITP_OPER02010_DETAIL_UPLOAD', 'notice', true, false, 'OPERATION02010', fileArgs);
583 583
 
584 584
 		// 리스트 조회
585
-		createObj.form.init();
586
-		pageObj.grid.init('DETAIL');
585
+		// createObj.form.init();
586
+		// pageObj.grid.init('DETAIL');
587 587
 	}
588 588
 };
589 589
 
590 590
 /*신규화면 Object*/
591 591
 let createObj = {
592 592
 	init: function () {
593
-		this.form.init();
593
+		// this.form.init();
594 594
 	},
595
-	form: {
595
+	/*form: {
596 596
 		init: function () {
597 597
 			this.selectbox();
598 598
 			this.checkbox();
@@ -625,7 +625,7 @@ let createObj = {
625 625
 				$(this).next().val($(this).is(':checked') ? 'Y' : '');
626 626
 			});
627 627
 		}
628
-	},
628
+	},*/
629 629
 	button: {
630 630
 		save: function() {
631 631
 			const formId = '#ITP_FORM_OPER02010_DETAIL';
@@ -700,7 +700,7 @@ let afflShopObj = {
700 700
 			$('#ITP_FORM_OPER02010_DETAIL_AFFL_SHOP_NM').val('');
701 701
 			$('select#ITP_FORM_OPER02010_DETAIL_BRAND_ID option').remove();
702 702
 			$('#ITP_FORM_OPER02010_DETAIL_TARGET_CD option:eq(0)').prop('selected', true);
703
-			$('#ITP_FORM_OPER02010_DETAIL_TARGET_CD').trigger('change');
703
+			// $('#ITP_FORM_OPER02010_DETAIL_TARGET_CD').trigger('change');
704 704
 		});
705 705
 	},
706 706
 	make: function() {

+ 4 - 6
src/main/webapp/js/app/oper/ITP_OPER03010.js

@@ -175,7 +175,10 @@ let pageObj = {
175 175
 			});
176 176
 
177 177
 			// 조회일자 지정
178
+			var now = new Date();
178 179
 			$('#ITP_TAB_OPER03010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
180
+			$('#ITP_FORM_OPER03010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
181
+			$('#ITP_FORM_OPER03010_SEARCH_TO_DT').datepicker('setDate', new Date());
179 182
 
180 183
 			// form alert message 주입
181 184
 			$('input[data-alert-required="ONLYCHK"]').each(function() {
@@ -324,12 +327,7 @@ let pageObj = {
324 327
 				multiselect: (this.mode !== 'VIEW'),
325 328
 				loadComplete: function(data) {
326 329
 					$(_this.mode === 'VIEW' ? OPER03010_VIEW_GRID_LIST : OPER03010_DETAIL_GRID_LIST).find('.ui-jqgrid .ui-jqgrid-bdiv').css('overflow-x', 'hidden');
327
-					if(data.records === 0) {
328
-						_this.clearData();
329
-						var gridEmpty = (this.mode === 'VIEW') ? OPER03010_VIEW_GRID_EMPTY : OPER03010_DETAIL_GRID_EMPTY;
330
-						$(gridEmpty).html(ITP_MSG_LOCALE.message.grid.noData);
331
-						$(gridEmpty).show();
332
-					}
330
+					data.records === 0 ? _this.clearData() : $(this.mode === 'VIEW' ? OPER03010_VIEW_GRID_EMPTY : OPER03010_DETAIL_GRID_EMPTY).hide();
333 331
 				}
334 332
 			};
335 333
 			itp_fn_grid_make_local(option);

+ 3 - 0
src/main/webapp/js/app/oper/ITP_OPER03011.js

@@ -129,7 +129,10 @@ let pageObj = {
129 129
 			});
130 130
 
131 131
 			// 조회일자 지정
132
+			var now = new Date();
132 133
 			$('#ITP_TAB_OPER03011 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
134
+			$('#ITP_FORM_OPER03011_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
135
+			$('#ITP_FORM_OPER03011_SEARCH_TO_DT').datepicker('setDate', new Date());
133 136
 
134 137
 			// form alert message 주입
135 138
 			$('input[data-alert-required="ONLYCHK"]').each(function() {

+ 3 - 0
src/main/webapp/js/app/oper/ITP_OPER04010.js

@@ -95,7 +95,10 @@ let pageObj = {
95 95
             });
96 96
 
97 97
             // 조회일자 지정
98
+            var now = new Date();
98 99
             $('#ITP_TAB_OPER04010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
100
+            $('#ITP_FORM_OPER04010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
101
+            $('#ITP_FORM_OPER04010_SEARCH_TO_DT').datepicker('setDate', new Date());
99 102
         },
100 103
         grid: function() {
101 104
             itp_fn_jqgrid_resize(OPER04010_GRID_ID, OPER04010_GRID_LIST, 'lg');

+ 5 - 2
src/main/webapp/js/app/stinfo/ITP_STINFO02010.js

@@ -160,7 +160,10 @@ let pageObj = {
160 160
 			});
161 161
 
162 162
 			// 조회일자 지정
163
+			var now = new Date();
163 164
 			$('#ITP_TAB_STINFO02010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
165
+			$('#ITP_FORM_STINFO02010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
166
+			$('#ITP_FORM_STINFO02010_SEARCH_TO_DT').datepicker('setDate', new Date());
164 167
 		},
165 168
 		grid: function() {
166 169
 			itp_fn_jqgrid_resize(STINFO02010_GRID_ID, STINFO02010_GRID_LIST, 'lg');
@@ -284,8 +287,8 @@ let listObj = {
284 287
 		},
285 288
 		back: function() {
286 289
 			$('#ITP_FORM_STINFO02010_SERVICE_ST_DT').val(this.itp_STINFO02010_param.searchDateType);
287
-			$('#ITP_FORM_STINFO02010_SEARCH_REG_DT').val(this.itp_STINFO02010_param.fromDt);
288
-			$('#ITP_FORM_STINFO02010_SEARCH_OPEN_DT').val(this.itp_STINFO02010_param.toDt);
290
+			$('#ITP_FORM_STINFO02010_SEARCH_FROM_DT').val(this.itp_STINFO02010_param.fromDt);
291
+			$('#ITP_FORM_STINFO02010_SEARCH_TO_DT').val(this.itp_STINFO02010_param.toDt);
289 292
 			$('#ITP_FORM_STINFO02010_SEARCH_STORE_DVSN').val(this.itp_STINFO02010_param.sstoreDvsn);
290 293
 			$('#ITP_FORM_STINFO02010_SEARCH_STORE_ST_CD').val(this.itp_STINFO02010_param.sstoreStCd);
291 294
 			$('#ITP_FORM_STINFO02010_SEARCH_LOAN_DVSN').val(this.itp_STINFO02010_param.sloanDvsn);

+ 5 - 2
src/main/webapp/js/app/stinfo/ITP_STINFO02011.js

@@ -160,7 +160,10 @@ let pageObj = {
160 160
 			});
161 161
 
162 162
 			// 조회일자 지정
163
+			var now = new Date();
163 164
 			$('#ITP_TAB_STINFO02011 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
165
+			$('#ITP_FORM_STINFO02011_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
166
+			$('#ITP_FORM_STINFO02011_SEARCH_TO_DT').datepicker('setDate', new Date());
164 167
 		},
165 168
 		grid: function() {
166 169
 			// itp_fn_jqgrid_resize(STINFO02011_GRID_ID, STINFO02011_GRID_LIST, 'lg');
@@ -275,8 +278,8 @@ let listObj = {
275 278
 		},
276 279
 		back: function() {
277 280
 			$('#ITP_FORM_STINFO02011_SERVICE_ST_DT').val(this.itp_STINFO02011_param.searchDateType);
278
-			$('#ITP_FORM_STINFO02011_SEARCH_REG_DT').val(this.itp_STINFO02011_param.fromDt);
279
-			$('#ITP_FORM_STINFO02011_SEARCH_OPEN_DT').val(this.itp_STINFO02011_param.toDt);
281
+			$('#ITP_FORM_STINFO02011_SEARCH_FROM_DT').val(this.itp_STINFO02011_param.fromDt);
282
+			$('#ITP_FORM_STINFO02011_SEARCH_TO_DT').val(this.itp_STINFO02011_param.toDt);
280 283
 			$('#ITP_FORM_STINFO02011_SEARCH_STORE_DVSN').val(this.itp_STINFO02011_param.sstoreDvsn);
281 284
 			$('#ITP_FORM_STINFO02011_SEARCH_STORE_ST_CD').val(this.itp_STINFO02011_param.sstoreStCd);
282 285
 			$('#ITP_FORM_STINFO02011_SEARCH_LOAN_DVSN').val(this.itp_STINFO02011_param.sloanDvsn);

+ 2 - 0
src/main/webapp/js/app/stinfo/ITP_STINFO03010.js

@@ -494,8 +494,10 @@ let modifyObj = {
494 494
 		$('#ITP_FORM_STINFO03010_DETAIL #ITP_FORM_STINFO03010_DETAIL_SPPLY_NM').val(result.spplyNm);
495 495
 		$('#ITP_FORM_STINFO03010_DETAIL #ITP_FORM_STINFO03010_DETAIL_BSNS_CNDT').val(result.bsnsCndt);
496 496
 		$('#ITP_FORM_STINFO03010_DETAIL #ITP_FORM_STINFO03010_DETAIL_BSNS_REG_NO').val(result.bsnsRegNo);
497
+		$('#ITP_FORM_STINFO03010_DETAIL .fnBsnsRegNo').val(result.bsnsRegNo);
497 498
 		$('#ITP_FORM_STINFO03010_DETAIL #ITP_FORM_STINFO03010_DETAIL_CTGR_BSNS').val(result.ctgrBsns);
498 499
 		$('#ITP_FORM_STINFO03010_DETAIL #ITP_FORM_STINFO03010_DETAIL_CORP_REG_NO').val(result.corpRegNo);
500
+		$('#ITP_FORM_STINFO03010_DETAIL .fnCorpRegNo').val(result.corpRegNo);
499 501
 		$('#ITP_FORM_STINFO03010_DETAIL #ITP_FORM_STINFO03010_DETAIL_TEL_NO').val(result.mgrTelNo);
500 502
 		$('#ITP_FORM_STINFO03010_DETAIL #ITP_FORM_STINFO03010_DETAIL_OWNER_NM').val(result.ownerNm);
501 503
 		$('#ITP_FORM_STINFO03010_DETAIL #ITP_FORM_STINFO03010_DETAIL_FAX_NO').val(result.faxNo);

+ 3 - 0
src/main/webapp/js/app/stinfo/ITP_STINFO05010.js

@@ -162,7 +162,10 @@ let pageObj = {
162 162
 			itemClassLevel.list(1);
163 163
 
164 164
 			// 조회일자 지정
165
+			var now = new Date();
165 166
 			$('#ITP_TAB_STINFO05010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
167
+			$('#ITP_FORM_STINFO05010_SEARCH_CONT_STT_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
168
+			$('#ITP_FORM_STINFO05010_SEARCH_CONT_END_DT').datepicker('setDate', new Date());
166 169
 		},
167 170
 		grid: function() {
168 171
 			itp_fn_jqgrid_resize(STINFO05010_GRID_ID, STINFO05010_GRID_LIST, 'sm');

+ 3 - 0
src/main/webapp/js/app/stinfo/ITP_STINFO06010.js

@@ -208,7 +208,10 @@ let pageObj = {
208 208
 			});
209 209
 
210 210
 			// 조회일자 지정
211
+			var now = new Date();
211 212
 			$('#ITP_TAB_STINFO06010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
213
+			$('#ITP_FORM_STINFO06010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
214
+			$('#ITP_FORM_STINFO06010_SEARCH_TO_DT').datepicker('setDate', new Date());
212 215
 		},
213 216
 		grid: function() {
214 217
 			itp_fn_jqgrid_resize(STINFO06010_GRID_ID, STINFO06010_GRID_LIST, 'lg');