Selaa lähdekoodia

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

dwkim 2 vuotta sitten
vanhempi
commit
a180502ae2

+ 1 - 3
src/main/webapp/app/oper/OPER01010.html

@@ -40,9 +40,7 @@
40 40
 									</div>
41 41
 									<div class="form-group" style="padding-top: 10px; border-top: 1px dotted #ccc;">
42 42
 										<div class="col-xs-1 itp_ip" style="width:11%;">
43
-											<select id="ITP_FORM_OPER01010_SERVICE_ST_DT" class="form-control itp_input" name="serviceStDt">
44
-												<option value="">가입일</option>											
45
-											</select>
43
+											<label>가입일</label>
46 44
 										</div>
47 45
 										<div class="col-xs-3 itp_ip">
48 46
 											<div class="input-daterange input-group date">

+ 2 - 4
src/main/webapp/app/oper/OPER06010.html

@@ -316,15 +316,13 @@
316 316
 											<div class="col-xs-4 itp_ip fnBsnsRegNo"></div>
317 317
 											<label class="col-xs-2 itp_lb">법인번호</label>
318 318
 											<div class="col-xs-4 itp_ip fnCorpRegNo"></div>
319
-										</div>
320
-										
319
+										</div>										
321 320
 										<div class="form-group">
322 321
 											<label class="col-xs-2 itp_lb">대표자명* </label>
323 322
 											<div class="col-xs-4 itp_ip fnOwnerNm"></div>
324 323
 											<label class="col-xs-2 itp_lb">오더퀸 브랜드코드</label>
325 324
 											<div class="col-xs-4 itp_ip fnOqBrandId"></div>
326
-										</div>
327
-										
325
+										</div>										
328 326
 										<div class="form-group">
329 327
 											<label class="col-xs-2 itp_lb">전화번호</label>
330 328
 											<div class="col-xs-4 itp_ip fnTelNo"></div>

+ 70 - 0
src/main/webapp/app/popup/biz/BIZPOP_DSPT_INFO_REG.html

@@ -0,0 +1,70 @@
1
+<div id="ITP_DSPT_INFO_REG_POPUP" class="modal itp_modal">
2
+	<div class="modal-dialog">
3
+		<div class="modal-content">
4
+				<div class="modal-header">
5
+					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6
+					<h5 class="modal-title">수발주 입금 정보 등록 화면</h5>
7
+				</div>
8
+				<div class="modal-body">
9
+					<label>수발주 현금 입금 정보를 확인 하시고 입금요청 버튼을 클릭하여 입금등록을 진행해 주시기 바랍니다.</label>
10
+					<div class="itp_form itp_type1 fix">
11
+						<div class="col-xs-12">
12
+							<div class="form-horizontal">
13
+								<form id="ITP_FORM_DSPT_INFO_REG_POPUP">
14
+								<input type="hidden" id="ITP_FORM_DSPT_INFO_REG_POPUP_" name="viewCd" value="">
15
+							
16
+								<div class="form-group">
17
+									<label class="col-xs-4 itp_lb">브랜드 *</label>
18
+									<div class="col-xs-7 itp_ip fnBrandNm"></div>
19
+								</div>
20
+								<div class="form-group">
21
+									<label class="col-xs-4 itp_lb">매장 *</label>
22
+									<div class="col-xs-7 itp_ip fnStoreNm"></div>
23
+								</div>						
24
+								<div class="form-group">
25
+									<label class="col-xs-4 itp_lb">입금금액 *</label>
26
+									<div class="col-xs-8 itp_ip">
27
+										<input type="text" name="dsptAmt" id="ITP_FORM_DSPT_INFO_REG_POPUP_DSPT_AMT" class="form-control itp_input">
28
+									</div>
29
+								</div>
30
+								<div class="form-group border" style="padding-bottom: 8px;">
31
+									<label class="col-xs-4 itp_lb">입금일자 *</label>
32
+									<div class="col-xs-8 itp_ip">
33
+										<div class="input-daterange input-group date">
34
+											<input type="text" id="ITP_FORM_DSPT_INFO_REG_SEARCH_DSPT_DT" class="form-control itp_input" name="dsptDt" value="" readonly>
35
+										</div>
36
+									</div>
37
+								</div>
38
+								</form>
39
+								<form id="ITP_FORM_DSPT_INFO_REG_PW">								
40
+								<div class="form-group">
41
+									<label class="col-xs-4 itp_lb">입금자명</label>
42
+									<div class="col-xs-8 itp_ip">
43
+										<input type="text" name="dsptNm" id="ITP_FORM_DSPT_INFO_REG_DSPT_NM" class="form-control itp_input">
44
+									</div>
45
+								</div>
46
+								<div class="form-group">
47
+									<label class="col-xs-4 itp_lb">입금은행</label>
48
+									<div class="col-xs-8 itp_ip">
49
+										<select id="ITP_FORM_DSPT_INFO_REG_SEARCH_DSPT_BNK_CD" data-select-code="DPST_BNK_CD" class="form-control itp_input" name="dpstBnkCd"></select>
50
+									</div>
51
+								</div>
52
+								<div class="form-group">
53
+									<label class="col-xs-4 itp_lb">입금계좌번호</label>
54
+									<div class="col-xs-8 itp_ip">
55
+										<input type="text" id="ITP_FORM_DSPT_INFO_REG_DSPT_ACCT_NO" class="form-control itp_input" name="">
56
+									</div>
57
+								</div>
58
+								</form>
59
+							</div>
60
+						</div>
61
+					</div>
62
+				</div>
63
+				<div class="modal-footer">
64
+					<button type="button" class="btn btn-primary" id="ITP_DSPT_INFO_REG_POPUP_BTN_DSPT_REQ">입금요청</button>
65
+					<button type="button" class="btn btn-default" data-dismiss="modal">닫기</button>
66
+				</div>			
67
+		</div>
68
+	</div>
69
+	<div id="ITP_POPUP_JS"></div>
70
+</div>

+ 73 - 53
src/main/webapp/app/stinfo/STINFO01011.html

@@ -2,7 +2,7 @@
2 2
 	<div class="itp_cont">
3 3
 		<article class="itp_detail">
4 4
 			<div class="itp_det_head fix">
5
-				<h2 class="pull-left itp_det_tit"><i class="glyphicon glyphicon-chevron-right"></i><strong>브랜드관리</strong></h2>
5
+				<h2 class="pull-left itp_det_tit"><i class="glyphicon glyphicon-chevron-right"></i><strong>브랜드정보</strong></h2>
6 6
 				<div class="pull-right itp_cicon">
7 7
 					<button type="button" id="ITP_BTN_STINFO01011_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;조회&nbsp;&nbsp;</button>
8 8
 					<button type="button" id="ITP_BTN_STINFO01011_MODIFY" class="btn btn-success btn-sm UPB" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;수정&nbsp;&nbsp;</button>
@@ -99,31 +99,32 @@
99 99
 											<label class="col-xs-2 itp_lb">사업자번호 *</label>
100 100
 											<div class="col-xs-4 itp_ip">
101 101
 												<div class="col-xs-7 itp_in">
102
-													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_BSNS_REG_NO" data-check-required="empty" class="form-control itp_input" name="bsnsRegNo" value="" maxlength="20">
102
+													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_BSNS_REG_NO" data-check-required="empty" data-key-up="regNo" class="form-control itp_input" name="bsnsRegNo" value="" maxlength="20">
103 103
 												</div>
104 104
 											</div>
105 105
 											<label class="col-xs-2 itp_lb">법인번호</label>
106 106
 											<div class="col-xs-4 itp_ip">
107 107
 												<div class="col-xs-8 itp_in">
108
-													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_CORP_REG_NO" class="form-control itp_input" name="corpRegNo" value="" maxlength="20">
108
+													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_CORP_REG_NO" data-key-up="corpNo" class="form-control itp_input" name="corpRegNo" value="" maxlength="20">
109 109
 												</div>
110 110
 											</div>
111 111
 										</div>
112
-									</div>
113
-									<div class="itp_form_info">
114
-										<div class="itp_form_in">
115
-											<div class="form-group">
116
-												<label class="col-xs-2 itp_lb">대표자명</label>
117
-												<div class="col-xs-10 itp_ip">
118
-													<div class="col-xs-2 itp_in" style="margin-left:5px;">
119
-														<input type="text" id="ITP_FORM_STINFO01011_DETAIL_OWNER_NM" data-check-required="empty" class="form-control itp_input" name="ownerNm">
120
-													</div>
121
-													<div class="col-xs-5 itp_in" style="margin-top:5px;">
122
-													</div>
112
+										<div class="form-group">
113
+											<label class="col-xs-2 itp_lb">대표자명 *</label>
114
+											<div class="col-xs-4 itp_ip">
115
+												<div class="col-xs-7 itp_in">
116
+													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_OWNER_NM" data-check-required="empty" class="form-control itp_input" name="ownerNm" value="" maxlength="20">
117
+												</div>
118
+											</div>
119
+											<label class="col-xs-2 itp_lb">오더퀸 브랜드코드</label>
120
+											<div class="col-xs-4 itp_ip">
121
+												<div class="col-xs-8 itp_in">
122
+													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_OQ_BRAND_ID" class="form-control itp_input" name="oqBrandId" value="" >
123 123
 												</div>
124 124
 											</div>
125 125
 										</div>
126 126
 									</div>
127
+									
127 128
 									<!--<div class="itp_form_info">
128 129
 										<div class="itp_form_in">
129 130
 											<div class="form-group">
@@ -144,19 +145,20 @@
144 145
 											<label class="col-xs-2 itp_lb">전화번호 *</label>
145 146
 											<div class="col-xs-4 itp_ip">
146 147
 												<div class="col-xs-7 itp_in">
147
-													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_TEL_NO" data-check-required="empty" class="form-control itp_input" name="telNo" value="">
148
+													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_TEL_NO" data-check-required="empty" data-key-up="tel" class="form-control itp_input" name="telNo" value="">
148 149
 												</div>
149 150
 												<!-- <button type="button" id="ITP_BTN_STINFO01011_RESET_PW" class="btn btn-danger btn-xs PWC" style="margin: 3px 0px 0px 3px;">비밀번호 초기화</button> -->
150 151
 											</div>
151 152
 											<label class="col-xs-2 itp_lb"></label>
152
-											<div id="ITP_STINFO01011_DETAIL_LOGO_FILE" class="col-xs-1 itp_in">
153
+												<div class="col-xs-2 itp_in"></div>
154
+												<div id="ITP_STINFO01011_DETAIL_LOGO_FILE" class="col-xs-1 itp_in">
153 155
 											</div>
154 156
 										</div>
155 157
 										<div class="form-group">
156 158
 											<label class="col-xs-2 itp_lb">FAX</label>
157 159
 											<div class="col-xs-4 itp_ip">
158 160
 												<div class="col-xs-7 itp_in">
159
-													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_FAX_NO" class="form-control itp_input" name="faxNo" value="">
161
+													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_FAX_NO" data-key-up="tel" class="form-control itp_input" name="faxNo" value="">
160 162
 												</div>
161 163
 											</div>
162 164
 											<label class="col-xs-2 itp_lb" style="border-top:none;">로고</label>
@@ -200,34 +202,62 @@
200 202
 											<label class="col-xs-2 itp_lb">PG사</label>
201 203
 											<div class="col-xs-4 itp_ip">
202 204
 												<div class="col-xs-8 itp_in">
203
-													<select id="ITP_FORM_STINFO01011_DETAIL_PG_ID" data-select-code="PG_ID" data-check-required="empty" class="form-control itp_input" name="pgId">
205
+													<select id="ITP_FORM_STINFO01011_DETAIL_PG_ID" data-select-code="PG_ID" class="form-control itp_input" name="pgId">
204 206
 													</select>
205 207
 												</div>
206 208
 											</div>
207 209
 										</div>
208 210
 										<div class="form-group">
209
-											<label class="col-xs-2 itp_lb">PG 브랜드그룹 아이디 </label>
211
+											<label class="col-xs-2 itp_lb">PG가맹점 아이디 </label>
210 212
 											<div class="col-xs-4 itp_ip">
211 213
 												<div class="col-xs-7 itp_in">
212
-													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_PG_AFFL_ID" data-check-required="empty" class="form-control itp_input" name="pgAfflId" value="" placeholder="PG 브랜드그룹 id">
214
+													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_PG_AFFL_ID" class="form-control itp_input" name="pgAfflId" value="" placeholder="PG 브랜드그룹 id">
213 215
 												</div>
214 216
 											</div>
215
-											<label class="col-xs-2 itp_lb">PG 브랜드그룹 Key</label>
217
+											<!-- 
218
+											<label class="col-xs-2 itp_lb">PG가맹점 Key</label>
216 219
 											<div class="col-xs-4 itp_ip">
217 220
 												<div class="col-xs-8 itp_in">
218 221
 													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_PG_KEY" class="form-control itp_input" name="pgKey" value="" placeholder="PG 브랜드그룹 key">
219 222
 												</div>
220 223
 											</div>
224
+											 -->
225
+										</div>
226
+									</div>
227
+									<div class="itp_form_info">
228
+										<div class="itp_form_in">
229
+											<div class="form-group">
230
+												<label class="col-xs-2 itp_lb">등록자/등록일 </label>
231
+												<div class="col-xs-4 itp_ip">
232
+													<div class="col-xs-a itp_in" style="width:auto;">
233
+														<div class="input-group fnRegId" style="padding:5px;"></div>
234
+													</div>
235
+													<label class="col-xs-a" style="margin-top:4px;">/</label>
236
+													<div class="col-xs-a itp_in">
237
+														<div class="input-group fnRegDt" style="padding:5px;"></div>
238
+													</div>
239
+												</div>
240
+												<label class="col-xs-2 itp_lb">최종  수정자/수정일</label>
241
+												<div class="col-xs-4 itp_ip">
242
+													<div class="col-xs-a itp_in">
243
+														<div class="input-group fnChgId" style="padding:5px;"></div>
244
+													</div>
245
+													<label class="col-xs-a" style="margin-top:4px;">/</label>
246
+													<div class="col-xs-a itp_in">
247
+														<div class="input-group fnChgDt" style="padding:5px;"></div>
248
+													</div>
249
+												</div>
250
+											</div>
221 251
 										</div>
222 252
 									</div>
223 253
 									<div class="itp_form_in">
224
-										<div class="form-group">
254
+										<div class="form-group border">
225 255
 											<label class="col-xs-2 itp_lb">주소</label>
226 256
 											<div class="col-xs-10 itp_ip">
227 257
 												<div class="col-xs-1 itp_in">
228 258
 													<input type="text" id="ITP_FORM_STINFO01011_DETAIL_ZIPNO" data-check-required="empty" data-alert-required="ONLYCHK" data-alert-msg="address" class="form-control itp_input" name="zipNo" value="" maxlength="6" readonly placeholder="우편번호">
229 259
 												</div>
230
-												<div class="col-xs-1 itp_in">
260
+												<div class="col-xs-a itp_in">
231 261
 													<button type="button" id="ITP_FORM_STINFO01011_DETAIL_ADRES_SCH" class="btn btn-primary btn-sm SHOW" style="margin: -1px 0px 0px 3px;">&nbsp;&nbsp;주소검색&nbsp;&nbsp;</button>
232 262
 												</div>
233 263
 												<div class="col-xs-4 itp_in" style="margin-right: 5px; margin-left:20px;">
@@ -248,32 +278,6 @@
248 278
 											</div>
249 279
 										</div>
250 280
 									</div>
251
-									<div class="itp_form_info">
252
-										<div class="itp_form_in">
253
-											<div class="form-group border">
254
-												<label class="col-xs-2 itp_lb">등록자/등록일 </label>
255
-												<div class="col-xs-4 itp_ip">
256
-													<div class="col-xs-a itp_in" style="width:auto;">
257
-														<div class="input-group fnRegId" style="padding:5px;"></div>
258
-													</div>
259
-													<label class="col-xs-a" style="margin-top:4px;">/</label>
260
-													<div class="col-xs-a itp_in">
261
-														<div class="input-group fnRegDt" style="padding:5px;"></div>
262
-													</div>
263
-												</div>
264
-												<label class="col-xs-2 itp_lb">최종  수정자/수정일</label>
265
-												<div class="col-xs-4 itp_ip">
266
-													<div class="col-xs-a itp_in">
267
-														<div class="input-group fnChgId" style="padding:5px;"></div>
268
-													</div>
269
-													<label class="col-xs-a" style="margin-top:4px;">/</label>
270
-													<div class="col-xs-a itp_in">
271
-														<div class="input-group fnChgDt" style="padding:5px;"></div>
272
-													</div>
273
-												</div>
274
-											</div>
275
-										</div>
276
-									</div>
277 281
 								</section>
278 282
 							</form>
279 283
 						</div>
@@ -301,6 +305,18 @@
301 305
 											<label class="col-xs-2 itp_lb">브랜드 타입*</label>
302 306
 											<div class="col-xs-4 itp_ip fnBrandType"></div>
303 307
 										</div>
308
+										<div class="form-group">
309
+											<label class="col-xs-2 itp_lb">사업자번호* </label>
310
+											<div class="col-xs-4 itp_ip fnBsnsRegNo"></div>
311
+											<label class="col-xs-2 itp_lb">법인번호</label>
312
+											<div class="col-xs-4 itp_ip fnCorpRegNo"></div>
313
+										</div>
314
+										<div class="form-group">
315
+											<label class="col-xs-2 itp_lb">대표자명* </label>
316
+											<div class="col-xs-4 itp_ip fnOwnerNm"></div>
317
+											<label class="col-xs-2 itp_lb">오더퀸 브랜드코드</label>
318
+											<div class="col-xs-4 itp_ip fnOqBrandId"></div>
319
+										</div>	
304 320
 										<div class="form-group">
305 321
 											<label class="col-xs-2 itp_lb">전화번호</label>
306 322
 											<div class="col-xs-4 itp_ip fnTelNo"></div>
@@ -336,10 +352,14 @@
336 352
 											</div>
337 353
 										</div>
338 354
 										<div class="form-group">
339
-											<label class="col-xs-2 itp_lb">브랜드그룹 아이디 </label>
340
-											<div class="col-xs-4 itp_ip fnPgAfflId"></div>
341
-											<label class="col-xs-2 itp_lb">브랜드그룹 Key</label>
342
-											<div class="col-xs-4 itp_ip fnPgKey"></div>
355
+											<label class="col-xs-2 itp_lb">PG가맹점 아이디 </label>
356
+											<div class="col-xs-4 itp_ip">
357
+												<div class="col-xs-12 itp_in fn fnPgAfflId"></div>
358
+											</div>
359
+											<label class="col-xs-2 itp_lb">PG가맹점 Key</label>
360
+											<div class="col-xs-4 itp_ip">
361
+												<div class="col-xs-12 itp_in fn fnPgKey"></div>
362
+											</div>
343 363
 										</div>
344 364
 									</div>
345 365
 									<div class="itp_form_in">

+ 1 - 0
src/main/webapp/css/style.css

@@ -589,6 +589,7 @@ _:-ms-fullscreen, :root .itp_logs {max-width: 1287px}
589 589
 /* ITP_ASIDE */
590 590
 #ITP_ASIDE .itp_modal .modal-header {padding:12px 15px 12px 15px; background:#337ab7; cursor:move;}
591 591
 #ITP_ASIDE .itp_modal .modal-header .close {color:#fff; opacity:1;}
592
+#ITP_ASIDE .itp_modal .modal-body label {padding:12px 20px;}
592 593
 #ITP_ASIDE .itp_modal .modal-title {font-size:16px; color:#fff;}
593 594
 #ITP_ASIDE .itp_modal .itp_alert_txt {font-size:15px; padding:15px 0 10px 0;}
594 595
 #ITP_ASIDE .itp_modal .itp_form {padding:0 15px 0 15px;}

+ 9 - 5
src/main/webapp/js/app/oper/ITP_OPER06010.js

@@ -421,9 +421,6 @@ let viewObj = {
421 421
 		$('#ITP_FORM_OPER06010_VIEW .fnCorpRegNo').text(result.corpRegNo);
422 422
 		$('#ITP_FORM_OPER06010_VIEW .fnOqBrandId').text(result.oqBrandId);
423 423
 		
424
-
425
-
426
-
427 424
         // $('#ITP_FORM_OPER06010_VIEW .fnBrandLogo').text(result.lastLoginDt);
428 425
 
429 426
         $('#ITP_FORM_OPER06010_VIEW .fnPgId').text(result.pgId);
@@ -517,8 +514,15 @@ let createObj = {
517 514
     },
518 515
 	callback: function (result) {
519 516
 		$('.fnBrandId').text(result.keyData);		
520
-		$('#ITP_FORM_OPER06010_DETAIL #ITP_FORM_OPER06010_DETAIL_BRAND_ID').val(result.keyData);
521
-		
517
+		$('#ITP_FORM_OPER06010_DETAIL #ITP_FORM_OPER06010_DETAIL_BRAND_ID ').val(result.keyData);
518
+		$('#ITP_FORM_OPER06010_DETAIL_PG_ID').on('change', function() {
519
+			console.log(this.value == 'KICC');
520
+			if (this.value == 'KICC') {
521
+				$('#ITP_FORM_OPER06010_DETAIL_PG_AFFL_ID').attr('readonly', true);
522
+			} else {
523
+				$('#ITP_FORM_OPER06010_DETAIL_PG_AFFL_ID').attr('readonly', false);
524
+			}
525
+		})
522 526
 	},
523 527
     button: {
524 528
         init: function() {

+ 9 - 0
src/main/webapp/js/app/stinfo/ITP_STINFO01011.js

@@ -188,6 +188,11 @@ let viewObj = {
188 188
         $('#ITP_FORM_STINFO01011_VIEW .fnRegDt').text(result.sysRegDttm);
189 189
         $('#ITP_FORM_STINFO01011_VIEW .fnChgId').text(result.sysChgId);
190 190
         $('#ITP_FORM_STINFO01011_VIEW .fnChgDt').text(result.sysChgDttm);
191
+        
192
+        $('#ITP_FORM_STINFO01011_VIEW .fnBsnsRegNo').text(result.bsnsRegNo);
193
+		$('#ITP_FORM_STINFO01011_VIEW .fnCorpRegNo').text(result.corpRegNo);
194
+		$('#ITP_FORM_STINFO01011_VIEW .fnOqBrandId').text(result.oqBrandId);
195
+
191 196
         // $('#ITP_FORM_STINFO01011_VIEW .fnBrandLogo').text(result.lastLoginDt);
192 197
 
193 198
         $('#ITP_FORM_STINFO01011_VIEW .fnPgId').text(result.pgId);
@@ -271,9 +276,13 @@ let modifyObj = {
271 276
         $('#ITP_FORM_STINFO01011_DETAIL #ITP_FORM_STINFO01011_DETAIL_PG_AFFL_ID').val(result.pgAfflId);
272 277
         $('#ITP_FORM_STINFO01011_DETAIL #ITP_FORM_STINFO01011_DETAIL_PG_KEY').val(result.pgKey);
273 278
 
279
+        $('#ITP_FORM_STINFO01011_DETAIL #ITP_FORM_STINFO01011_DETAIL_OQ_BRAND_ID').val(result.oqBrandId);
280
+        
274 281
         $('#ITP_FORM_STINFO01011_DETAIL .fnAddDt').text(result.sysRegDttm);
275 282
         $('#ITP_FORM_STINFO01011_DETAIL .fnChgDt').text(result.sysChgDttm);
276 283
 
284
+        $('#ITP_FORM_STINFO01011_DETAIL #ITP_FORM_STINFO01011_DETAIL_PG_ID').trigger('change');
285
+        
277 286
         $('#ITP_FORM_STINFO01011_DETAIL #ITP_FORM_STINFO01011_DETAIL_FILE_NO').val(result.brandLogoFileNo);
278 287
         pageObj.fileUpload();
279 288
         itp_fn_attach_file.view('ITP_STINFO01011_DETAIL_LOGO_FILE', result.fileLogNoList

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

@@ -489,6 +489,11 @@ let modifyObj = {
489 489
 		$('#ITP_FORM_STINFO02010_DETAIL .fnSysChgDttm').text(result.sysChgDttm);
490 490
 		$('#ITP_FORM_STINFO02010_DETAIL #ITP_FORM_STINFO02010_DETAIL_OQ_BRAND_ID').val(result.oqBrandId);
491 491
 		$('#ITP_FORM_STINFO02010_DETAIL #ITP_FORM_STINFO02010_DETAIL_OQ_STORE_ID').val(result.oqStoreId);
492
+		
493
+		if (fn_make_user_info.get('storeId') == null || fn_make_user_info.get('storeId') == '') {
494
+			$('#ITP_FORM_STINFO02010_DETAIL #ITP_FORM_STINFO02010_DETAIL_LOAN_DVSN').attr('disabled', true);
495
+			$('#ITP_FORM_STINFO02010_DETAIL #ITP_FORM_STINFO02010_DETAIL_LIMIT_AMT').attr('readonly', true);
496
+		}
492 497
 	}
493 498
 };
494 499
 

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

@@ -275,5 +275,10 @@ let modifyObj = {
275 275
 		$('#ITP_FORM_STINFO02011_DETAIL .fnAcctBal').text(result.acctBal);
276 276
 		$('#ITP_FORM_STINFO02011_DETAIL .fnTmpRcvAcctTotal').text(result.tmpRcvAcctTotal);
277 277
 		$('#ITP_FORM_STINFO02011_DETAIL .fnSysChgDttm').text(result.sysChgDttm);
278
+		
279
+		if (fn_make_user_info.get('storeId') == null || fn_make_user_info.get('storeId') == '') {
280
+			$('#ITP_FORM_STINFO02011_DETAIL #ITP_FORM_STINFO02011_DETAIL_LOAN_DVSN').attr('disabled', true);
281
+			$('#ITP_FORM_STINFO02011_DETAIL #ITP_FORM_STINFO02011_DETAIL_LIMIT_AMT').attr('readonly', true);
282
+		}
278 283
 	}
279 284
 };

+ 52 - 31
src/main/webapp/mobile/app/mpomng/MPOMNG01010.html

@@ -120,11 +120,11 @@
120 120
             </div>
121 121
         </div>
122 122
     </div>
123
-    <div id="ITP_POP_MPOMNG01010_WHS_AREA" class="popup2 mobile-pop-close" style="display: block;">
123
+    <div id="ITP_POP_MPOMNG01010_WHS_AREA" class="popup2 mobile-pop-close" style="display: none;">
124 124
         <div class="pop">
125 125
             <div class="header">
126 126
                 <div class="header_left">
127
-                    <label>> 납품장소</label>
127
+                    <label>납품장소</label>
128 128
                 </div>
129 129
                 <div class="header_right">
130 130
                     <button type="button" id="ITP_BTN_MPOMNG01010_POP_WHS_CLOSE" class="btn-pop-close"><img src="../img/close.png"></button>
@@ -138,16 +138,27 @@
138 138
                     <button id="ITP_BTN_MPOMNG01010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
139 139
                 </form>
140 140
             </div>
141
-            <div class="search_bar">
142
-                <button id="ITP_BTN_MPOMNG01010_POP_WHS_NM" class="btn_blue">납품장소</button>
143
-            </div>
141
+            <div class="select_btn">
142
+                <button id="ITP_BTN_MPOMNG01010_POP_WHS_NM" class="btn_blue">납품장소 V</button>
143
+            </div>    
144 144
             <div id="ITP_LIST_MPOMNG01010_POP_WHS_AREA" class="popup_scroll">
145
-                <ul id="ITP_LIST_MPOMNG01010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
145
+                <ul id="ITP_LIST_MPOMNG01010_POP_WHS_ROWS" class="mb_0 itp_nav"></ul>
146 146
                 <div id="ITP_LIST_MPOMNG01010_POP_WHS_ROWCOPY" style="display: block;">
147 147
                     <li class="row_2">
148 148
                         <div class="scroll_left">
149 149
                             <div class="fnWhsNm">브랜드 창고 명A</div>
150
-                            <div class="fnLocationNm">(상세위치내용)</div>
150
+                            <div class="sub fnLocationNm">서울특별시 동대문구 서울 시립대로 12길</div>
151
+                            <div class="sub fnLocationNm">누리자 B/D</div>
152
+                        </div>
153
+                        <div class="scroll_right">
154
+                            <button id="ITP_BTN_MPOMNG01010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
155
+                        </div>
156
+                    </li>
157
+                     <li class="row_2">
158
+                        <div class="scroll_left">
159
+                            <div class="fnWhsNm">브랜드 창고 명A</div>
160
+                            <div class="sub fnLocationNm">서울특별시 동대문구 서울 시립대로 12길</div>
161
+                            <div class="sub fnLocationNm">누리자 B/D</div>
151 162
                         </div>
152 163
                         <div class="scroll_right">
153 164
                             <button id="ITP_BTN_MPOMNG01010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
@@ -161,7 +172,7 @@
161 172
         <div class="pop">
162 173
             <div class="header">
163 174
                 <div class="header_left">
164
-                    <label>> 품목 검색</label>
175
+                    <label>품목 검색</label>
165 176
                 </div>
166 177
                 <div class="header_right">
167 178
                     <button type="button" id="ITP_BTN_MPOMNG01010_POP_ITEM_CLOSE" class="btn-pop-close"><img src="../img/close.png"></button>
@@ -174,36 +185,46 @@
174 185
                     <input id="ITP_FORM_MPOMNG01010_POP_ITEM_KEYWORD" name="sitemNm" type="text" placeholder="품목명/품목번호" />
175 186
                     <button id="ITP_BTN_MPOMNG01010_POP_ITEM_SEARCH"><img src="../img/search.png"></button>
176 187
                 </div>
177
-                <div class="search_bar">
178
-                    <button id="ITP_BTN_MPOMNG01010_POP_ITEM_NM" class="btn_blue">품목명</button>
188
+                <div class="select_btn">
189
+                    <button id="ITP_BTN_MPOMNG01010_POP_ITEM_NM" class="btn_blue">품목명 V</button>
179 190
                 </div>
180 191
             </form>
181 192
             <div id="ITP_LIST_MPOMNG01010_POP_ITEM_AREA" class="popup_scroll">
182
-                <ul id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWS" class="panel-group"></ul>
183
-                <div id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWCOPY" style="display:none;">
184
-                    <li class="row_2">
185
-                        <div class="left" style="width:180px;">
186
-                            <!--<div class="check_box">
187
-                                <input type="checkbox" id="ITP_FORM_MPOMNG01010_POP_ITEM_CHECKBOX" name="itemId" />
188
-                            </div>-->
189
-                            <div class="thick">
190
-                                <div class="fnItemNm">품목명</div>
191
-                                <div>-</div>
192
-                                <div class="fnUnit">EA</div>
193
-                            </div>
194
-                            <div class="thick" style="font-weight:100;">
195
-                                <div class="space">구매가 :</div>
196
-                                <div class="fnUnitAmt">0</div>
197
-                            </div>
193
+                <ul id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWS" class="mb_0"></ul>
194
+                <div id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWCOPY" style="display: block;">
195
+                     <li class="row_2">
196
+                        <div class="scroll_left">
197
+                            <div class="fnItemNm">품목명 001</div>
198
+                            <div class="sub fnKg">700g</div>
199
+                            <div class="amt fnItemAmt">30,500원</div>
198 200
                         </div>
199
-                        <div class="right">
200
-                            <button id="ITP_BTN_MPOMNG01010_POP_ITEM_MINUS" class="POP_ITEM_MINUS">-</button>
201
-                            <div class="num fnPchReqQty">1</div>
202
-                            <button id="ITP_BTN_MPOMNG01010_POP_ITEM_PLUS" class="POP_ITEM_PLUS">+</button>
201
+                        <div class="scroll_right">
202
+                            <button id="ITP_BTN_MPOMNG01010_POP_ITEM_ADD" class="POP_ITEM_ADD">추가</button>
203 203
                         </div>
204
-                        <div class="add">
204
+                      	<div class="itp_num_set">
205
+		                      <div class="right">
206
+				              <button id="ITP_BTN_MPOMNG01010_DETAIL_MINUS">-</button>
207
+				              <div class="num fnPchReqQty">1</div>
208
+				              <button id="ITP_BTN_MPOMNG01010_DETAIL_PLUS">+</button>
209
+				            </div>
210
+			            </div>
211
+                    </li>
212
+                     <li class="row_2">
213
+                        <div class="scroll_left">
214
+                            <div class="fnItemNm">품목명 001</div>
215
+                            <div class="sub fnKg">700g</div>
216
+                            <div class="amt fnItemAmt">30,500원</div>
217
+                        </div>
218
+                        <div class="scroll_right">
205 219
                             <button id="ITP_BTN_MPOMNG01010_POP_ITEM_ADD" class="POP_ITEM_ADD">추가</button>
206 220
                         </div>
221
+                      	<div class="itp_num_set">
222
+		                      <div class="right">
223
+				              <button id="ITP_BTN_MPOMNG01010_DETAIL_MINUS">-</button>
224
+				              <div class="num fnPchReqQty">1</div>
225
+				              <button id="ITP_BTN_MPOMNG01010_DETAIL_PLUS">+</button>
226
+				            </div>
227
+			            </div>
207 228
                     </li>
208 229
                 </div>
209 230
             </div>

+ 29 - 25
src/main/webapp/mobile/css/style.css

@@ -12,10 +12,10 @@ body{background: #fff; position: relative; width: 100%; height: auto; font-famil
12 12
 section .popup { position: fixed; width: 100%; height: 100%; background: transparent; z-index: 11;}
13 13
 section .popup .pop { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 70%; height: 250px; padding-top: 30px; background: #fff; border: 2px solid #000; border-top-left-radius: 10px; border-top-right-radius: 10px;}
14 14
 section .popup .pop label.pop_label {position:relative; top:10px; font-size: 1.2rem;}
15
-section .popup .pop div.pop_msg {position:relative; top:10px; font-size: 1.2rem;}
15
+section .popup .pop div.pop_msg {position:relative; top:10px; font-size: 18px;}
16 16
 section .popup .pop .pop_line { width: 100%; height: 30px;}
17
-section .popup .pop .pop_line label { font-size: 1.2rem; margin-left: 20px; float: left; width: auto; text-align: left;}
18
-section .popup .pop .pop_line div {text-align: right; float: right; font-size: 1.2rem; margin-right: 20px; width: auto;}
17
+section .popup .pop .pop_line label { font-size: 16px; margin-left: 20px; float: left; width: auto; text-align: left;}
18
+section .popup .pop .pop_line div {text-align: right; float: right; font-size: 16px; margin-right: 20px; width: auto;}
19 19
 section .popup .pop .popup_btn { position: absolute; background-color: #ccc; bottom: 0; width: 100%; height: 51px; border-top: 2px solid #000;}
20 20
 section .popup .pop .popup_btn button { position: relative; float: left; width: 100%; height: 50px; font-size: 1rem; font-weight: 700; border-radius: 0px; border: none;}
21 21
 section .popup .pop .popup_btn button.ok { width: 64%; border-left: 2px solid #000;}
@@ -29,19 +29,20 @@ section .popup2 .barcode_area {width: 300px; height: 300px; margin: auto; backgr
29 29
 section .popup2 .barcode h1{text-align: left; width: 85%; font-size: 1.1rem; margin:auto; margin-top: 20%;}
30 30
 section .popup2 .btn_barcode {margin-top: 20%;}
31 31
 section .popup2 .btn_barcode button {width: 35%; height: 50px; font-size: 1rem;}
32
-section .popup2 .pop { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 95%; height: 85%; background: #fff; border: 2px solid #000;}
33
-section .popup2 .pop .header {position: relative; height: 50px; background: #f0831e; color:#eee; border-bottom: 1px solid #000;}
34
-section .popup2 .pop .header .header_left {float: left; padding-top: 5px; padding-left: 15px;}
35
-section .popup2 .pop .header .header_left label {font-size: 1.4rem;} 
36
-section .popup2 .pop .header .header_right {float: right; padding-right: 10px;}
32
+section .popup2 .pop { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 95%; height: 85%; background: #fff; border: 1px solid #000; border-radius:10px;}
33
+section .popup2 .pop .header {position: relative; height: 50px; background: #f0831e; color:#eee; border-bottom: 1px solid #000; border-top-right-radius: 10px; border-top-left-radius: 10px;}
34
+section .popup2 .pop .header .header_left {padding-top: 12px;}
35
+section .popup2 .pop .header .header_left label {font-size: 18px; font-weight:100;} 
36
+section .popup2 .pop .header .header_right {float: right; padding-right: 10px; position:relative; top:-44px;}
37 37
 section .popup2 .pop .header .header_right button {border: none; background: transparent;}
38
-section .popup2 .pop .header .header_right button img {width:30px; height:30px;}
39
-section .popup2 .pop .search_bar {width: 100%; height: 50px; padding: 10px;}
40
-section .popup2 .pop .search_bar input {width: 80%; height: 40px; float: left;}
41
-section .popup2 .pop .search_bar button {float: right; border: none; padding-top:3px;}
42
-section .popup2 .pop .search_bar button img {width: 30px; height: 30px;}
38
+section .popup2 .pop .header .header_right button img {width:22px;}
39
+section .popup2 .pop .select_btn button.btn_blue {float: right; width: 100px; height: 30px; background:#d9baaf; color: #fff; font-size: 13px; padding-top:6px; border: 1px solid #cca597;}
40
+section .popup2 .pop .select_btn {position:relative; top:-25px; left:55px; width:100%; height: 20px;}
41
+section .popup2 .pop .search_bar {width: 100%; height: 60px; padding:10px;}
42
+section .popup2 .pop .search_bar input {width: 90%; margin:0 5%; height: 40px; position:relative; top:-37px; font-size:14px;}
43
+section .popup2 .pop .search_bar button {position:relative; top:-74px; background:transparent; margin-right:5%; float: right; border: none; padding-top:3px;}
44
+section .popup2 .pop .search_bar button img {width: 22px;}
43 45
 section .popup2 .pop .search_bar button.search {float: none; width: 50%; height: 35px; background:rgb(46, 46, 248); color: #fff; font-size: 1rem; padding: 0; border: 1px solid #000; margin: 0 auto;}
44
-section .popup2 .pop .search_bar button.btn_blue {float: right; width: 100px; height: 35px; background:#d9baaf; color: #fff; font-size: 13px; padding: 0; border: 1px solid #000;}
45 46
 section .popup2 .pop .search_item_bar {width:100%; margin-top:10px;}
46 47
 section .popup2 .pop .search_item_bar input {width:22%; border-radius:2px;}
47 48
 section .popup2 .pop .search_item_bar select {width:22%;border-radius:2px;}
@@ -52,9 +53,10 @@ section .popup2 .pop .search_btn_bar .btn_right button {height:35px; padding:5px
52 53
 section .popup2 .pop table{width:98%; margin:0 1%;}
53 54
 section .popup2 .pop table tbody th {height:50px; font-size:16px;}
54 55
 section .popup2 .pop table tbody input{width:15px;}
55
-section .popup2 .pop .popup_scroll {position: relative; width: 100%;height: 720px; overflow: auto;}
56
-section .popup2 .pop .popup_scroll li {list-style: none; width: 99%; height: 50px; border: 1px solid #000; margin: 0 auto;}
57
-section .popup2 .pop .popup_scroll li.row_2 {height: 80px;}
56
+section .popup2 .pop .popup_scroll ul.mb_0 {margin-bottom:0 !important;}
57
+section .popup2 .pop .popup_scroll {position: relative; top:-25px; width: 100%;height: 540px; overflow: auto; border-top:1px solid #E0B8AB;}
58
+section .popup2 .pop .popup_scroll li {list-style: none; width: 100%; height: 50px; border-bottom: 1px solid #E0B8AB;}
59
+section .popup2 .pop .popup_scroll li.row_2 {height: 90px;}
58 60
 
59 61
 section .popup2 .pop .popup_scroll li .left {position: relative; float: left;}
60 62
 section .popup2 .pop .popup_scroll li .left .check_box {width:30px; float:left; height:80px; padding-left:5px; padding-top:20px;}
@@ -64,13 +66,14 @@ section .popup2 .pop .popup_scroll li .left .thick {float: left; margin: 12px 0
64 66
 section .popup2 .pop .popup_scroll li .left .nomal {float: left; margin: 15px 0px 0px 15px; font-size: 1.2rem; text-align: left; width: 100%;}
65 67
 section .popup2 .pop .popup_scroll li .left .history {font-weight: 700; font-size: 2.4rem; margin-left: 20px;}
66 68
 section .popup2 .pop .popup_scroll li .left .history input{width: 150px;}
67
-section .popup2 .pop .popup_scroll li .scroll_left {float: left;}
68
-section .popup2 .pop .popup_scroll li .scroll_left div {float: left; font-size: 0.8rem; font-weight: 700; width: auto; margin: 15px 10px;}
69
+section .popup2 .pop .popup_scroll li .scroll_left {float: left; display:grid;}
70
+section .popup2 .pop .popup_scroll li .scroll_left div {text-align:left; float: left; font-size: 18px; font-weight: 100; width: auto; margin:8px 6px -6px 10px;}
71
+section .popup2 .pop .popup_scroll li .scroll_left .sub{font-size:14px; color:gray;}
72
+section .popup2 .pop .popup_scroll li .scroll_left .amt{font-size:16px; color:#b88278;}
69 73
 section .popup2 .pop .popup_scroll li .scroll_right {float: right;}
70
-section .popup2 .pop .popup_scroll li .scroll_right button {width: 60px; height: 40px; padding: 0; background: rgb(198, 170, 250); border-radius: 10px; font-size: 0.8rem; margin:4px 10px;}
71
-section .popup2 .pop .popup_scroll li .right {position: relative; display: flex; font-size: 1.6rem; font-weight: 700; float: left; top:20px;}
72
-section .popup2 .pop .popup_scroll li .right .num {margin: 0 20px; width: auto;}
73
-section .popup2 .pop .popup_scroll li .right button {padding: 5px; font-size: 1rem; border-radius: 0px;}
74
+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:25px 10px;}
75
+section .popup2 .pop .popup_scroll li .right {position: relative; display: flex; font-size: 1.6rem; font-weight: 700; float: right; top:24px; height:38px;}
76
+section .popup2 .pop .popup_scroll li .right button {padding: 5px; font-size: 22px; width:30px;}
74 77
 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);}
75 78
 section .popup2 .pop .content .line button {width: 40%; height: 35px;font-size: 1rem; padding: 0; margin: 0 10px;}
76 79
 section .popup2	.list_line {width:98%; float:left; height:50px;display: inline-flex; margin:0 1%; font-size:12px;}
@@ -81,7 +84,8 @@ section .popup2 .list_line .list_info input{width:90%;}
81 84
 section .popup2 .list_line .mail input {width:30%;}
82 85
 section .popup2 .list_line .mail select {width:30%;}
83 86
 section .popup2 .list_line .list_info .pay_info {text-align:left; padding-left:17px;}
84
-
87
+section .popup_scroll li .right .num {padding:8px 22px; width: auto; border-top:1px solid #E0B8AB; border-bottom:1px solid #E0B8AB;}
88
+section .popup_scroll li .right button {background:#e1cac1; color:#fff; border:1px solid #E0B8AB; padding:0px 7px; font-size: 1.5rem; border-radius: 0px;}
85 89
 section .popup2 .list_line .line_right {float:right; width:70%;}
86 90
 section .popup2 .list_line .line_right select {width:200px; float:right;}
87 91
 section .popup2 .list_line .line_right input {width:200px; float:right;}
@@ -364,7 +368,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
364 368
 .col-4{width:40% !important;}
365 369
 .col-6{width:60% !important;}
366 370
 
367
-.scroll_area ul.mb_0 {margin-bottom:0;}
371
+.scroll_area ul.mb_0 {margin-bottom:0 !important;}
368 372
 .scroll_area .itp_non_data {margin:35% auto;}
369 373
 .scroll_area li {margin:0; list-style: none; width: 100%; height: 85px; border: 1px solid #ccc; background-color: #fff;}
370 374
 .scroll_area li.list-row {height:110px;}