Переглянути джерело

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

juney 2 роки тому
батько
коміт
419e033164

+ 12 - 4
src/main/webapp/app/oper/OPER01010.html

@@ -22,11 +22,15 @@
22 22
 									<input type="hidden" id="ITP_FORM_OPER01010_SEARCH_AFFL_BRAND_ID" name="brandId" value="">
23 23
 									<div class="form-group">
24 24
 										<div class="col-xs-2 itp_ip itp_noMar">
25
-											<input type="text" id="ITP_FORM_OPER01010_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" name="safflShopNm" placeholder="브랜드그룹" />
25
+											<div class="input-group">
26
+												<input readonly type="text" id="ITP_FORM_OPER01010_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" name="safflShopNm" placeholder="브랜드그룹" readonly="readonly">
27
+												<span class="input-group-btn">
28
+													<button id="ITP_FORM_OPER01010_DELETE_AFFL_SHOP" class="btn btn-default btn-sm itp_btn UPB" type="button"><i class="glyphicon glyphicon-erase"></i></button>
29
+												</span>
30
+											</div>
26 31
 										</div>
27 32
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
28 33
 											<button type="button" id="ITP_FORM_OPER01010_SEARCH_AFFL_SHOP" class="btn btn-orange btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
29
-											<button type="button" id="ITP_FORM_OPER01010_DELETE_AFFL_SHOP" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
30 34
 						                </div>
31 35
 										<div class="col-xs-2 itp_ip itp_noMar">
32 36
 											<select id="ITP_FORM_OPER01010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId">
@@ -84,11 +88,15 @@
84 88
 											<label class="col-xs-2 itp_lb">브랜드그룹</label>
85 89
 											<div class="col-xs-4 itp_ip">
86 90
 												<div class="col-xs-7 itp_in">
87
-													<input type="text" name="afflShopNm" id="ITP_FORM_OPER01010_DETAIL_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" placeholder="브랜드그룹명" readonly>
91
+													<div class="input-group">
92
+														<input type="text" name="afflShopNm" id="ITP_FORM_OPER01010_DETAIL_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" placeholder="브랜드그룹명" readonly>
93
+														<span class="input-group-btn">
94
+															<button id="ITP_FORM_OPER01010_DETAIL_DELETE_AFFL_SHOP" class="btn btn-default btn-sm itp_btn SHOW" type="button"><i class="glyphicon glyphicon-erase"></i></button>
95
+														</span>
96
+													</div>
88 97
 												</div>
89 98
 												<div class="col-xs-3 itp_in">
90 99
 													<button type="button" id="ITP_FORM_OPER01010_DETAIL_SEARCH_AFFL_SHOP" class="btn btn-success btn-sm SEB"><i class="glyphicon glyphicon-search"></i></button>
91
-													<button type="button" id="ITP_FORM_OPER01010_DETAIL_DELETE_AFFL_SHOP" class="btn btn-primary btn-sm SEB"><i class="glyphicon glyphicon-erase"></i></button>
92 100
 												</div>
93 101
 											</div>
94 102
 											<label class="col-xs-2 itp_lb">브랜드</label>

+ 12 - 4
src/main/webapp/app/oper/OPER02010.html

@@ -21,11 +21,15 @@
21 21
 									<input type="hidden" id="ITP_FORM_OPER02010_SEARCH_AFFL_SHOP_ID" name="safflShopId" value="">
22 22
 									<div class="form-group">
23 23
 										<div class="col-xs-2 itp_ip itp_noMar">
24
-											<input type="text" id="ITP_FORM_OPER02010_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" name="safflShopNm" placeholder="브랜드그룹" />
24
+											<div class="input-group">
25
+												<input type="text" id="ITP_FORM_OPER02010_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" name="safflShopNm" placeholder="브랜드그룹" readonly/>
26
+												<span class="input-group-btn">
27
+													<button id="ITP_FORM_OPER02010_DELETE_AFFL_SHOP_BTN" class="btn btn-default btn-sm itp_btn UPB" type="button"><i class="glyphicon glyphicon-erase"></i></button>
28
+												</span>
29
+											</div>										
25 30
 										</div>
26 31
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
27 32
 											<button type="button" id="ITP_FORM_OPER02010_SEARCH_AFFL_SHOP_BTN" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
28
-											<button type="button" id="ITP_FORM_OPER02010_DELETE_AFFL_SHOP_BTN" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
29 33
 										</div>
30 34
 										<div class="col-xs-2 itp_ip itp_noMar">
31 35
 											<select id="ITP_FORM_OPER02010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId">
@@ -76,11 +80,15 @@
76 80
 											<label class="col-xs-2 itp_lb">브랜드그룹</label>
77 81
 											<div class="col-xs-4 itp_ip">
78 82
 												<div class="col-xs-5 itp_in" style="width:65%;">
79
-													<input type="text" name="afflShopNm" id="ITP_FORM_OPER02010_DETAIL_AFFL_SHOP_NM" class="form-control itp_input" placeholder="브랜드그룹명" readonly>
83
+													<div class="input-group">
84
+														<input type="text" name="afflShopNm" id="ITP_FORM_OPER02010_DETAIL_AFFL_SHOP_NM" class="form-control itp_input" placeholder="브랜드그룹명" readonly>
85
+														<span class="input-group-btn">
86
+															<button id="ITP_FORM_OPER02010_DETAIL_DELETE_AFFL_SHOP" class="btn btn-default btn-sm itp_btn UPB" type="button"><i class="glyphicon glyphicon-erase"></i></button>
87
+														</span>
88
+													</div>
80 89
 												</div>
81 90
 												<div class="col-xs-3 itp_in">
82 91
 													<button type="button" id="ITP_FORM_OPER02010_DETAIL_SEARCH_AFFL_SHOP" class="btn btn-success btn-sm SEB"><i class="glyphicon glyphicon-search"></i></button>
83
-													<button type="button" id="ITP_FORM_OPER02010_DETAIL_DELETE_AFFL_SHOP" class="btn btn-primary btn-sm SEB"><i class="glyphicon glyphicon-erase"></i></button>
84 92
 												</div>
85 93
 											</div>
86 94
 											<label class="col-xs-2 itp_lb">브랜드</label>

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

@@ -20,11 +20,15 @@
20 20
 									<input type="hidden" id="ITP_FORM_OPER06010_SEARCH_AFFL_SHOP_ID" name="safflShopId" />
21 21
 									<div class="form-group">
22 22
 										<div class="col-xs-2 itp_ip itp_noMar">
23
-											<input type="text" id="ITP_FORM_OPER06010_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" name="safflShopNm" placeholder="브랜드그룹" readonly="readonly" />
23
+											<div class="input-group">
24
+												<input type="text" id="ITP_FORM_OPER06010_SEARCH_AFFL_SHOP_NM" class="form-control itp_input" name="safflShopNm" placeholder="브랜드그룹" readonly="readonly" />
25
+												<span class="input-group-btn">
26
+													<button id="ITP_BTN_OPER06010_DELETE_AFFL_SHOP" class="btn btn-default btn-sm itp_btn UPB" type="button"><i class="glyphicon glyphicon-erase"></i></button>
27
+												</span>
28
+											</div>
24 29
 										</div>
25 30
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
26 31
 											<button type="button" id="ITP_BTN_OPER06010_SEARCH_AFFL_SHOP" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
27
-											<button type="button" id="ITP_BTN_OPER06010_DELETE_AFFL_SHOP" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
28 32
 										</div>
29 33
 										<div class="col-xs-2 itp_ip itp_noMar">
30 34
 											<select id="ITP_FORM_OPER06010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId">

+ 1 - 2
src/main/webapp/app/stinfo/STINFO04010.html

@@ -393,8 +393,7 @@
393 393
 								<input type="hidden" id="ITP_FORM_STINFO04010_VIEW_ITEM_ID" name="itemId" value="">
394 394
 								<input type="hidden" id="ITP_FORM_STINFO04010_VIEW_FILE_NO" name="fileNo" value="">
395 395
 								<section class="itp_form_sec">
396
-									<h4 class="itp_form_tit">품목정보-상세</h4>
397
-									<div class="itp_form_in">
396
+									<div class="itp_form_in border-top">
398 397
 										<div class="form-group">
399 398
 											<label class="col-xs-2 itp_lb">브랜드 *</label>
400 399
 											<div class="col-xs-5 itp_ip">

+ 21 - 19
src/main/webapp/app/stinfo/STINFO05010.html

@@ -30,12 +30,16 @@
30 30
 											<select id="ITP_FORM_STINFO05010_SEARCH_ST_CD" data-select-code="UNIT_ST_CD" class="form-control itp_input" name="sunitStCd"></select>
31 31
 										</div>
32 32
 										<div class="col-xs-7 itp_ip itp_noMar">
33
-											<div class="col-xs-6 itp_in itp_noMar">
34
-												<input type="text" id="ITP_FORM_STINFO05010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체" />
33
+											<div class="col-xs-6 itp_in">
34
+												<div class="input-group">
35
+													<input type="text" id="ITP_FORM_STINFO05010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체" maxlength="20">
36
+													<span class="input-group-btn">
37
+														<button id="ITP_BTN_STINFO05010_SEARCH_DELETE" class="btn btn-default btn-sm itp_btn UPB" type="button"><i class="glyphicon glyphicon-search"></i></button>
38
+													</span>
39
+												</div>
35 40
 											</div>
36 41
 											<div class="col-xs-2 itp_ip itp_noMar">
37 42
 												<button type="button" id="ITP_BTN_STINFO05010_SEARCH_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
38
-												<button type="button" id="ITP_BTN_STINFO05010_SEARCH_DELETE" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
39 43
 											</div>
40 44
 										</div>
41 45
 									</div>
@@ -92,8 +96,7 @@
92 96
 								<input type="hidden" id="ITP_FORM_STINFO05010_DETAIL_FILE_NO" name="shortContFileNo" value="">
93 97
 					
94 98
 								<section class="itp_form_sec">
95
-									<h4 class="itp_form_tit">단가정보-신규</h4>
96
-									<div class="itp_form_in">
99
+									<div class="itp_form_in border-top">
97 100
 										<div class="form-group">
98 101
 											<label class="col-xs-2 itp_lb">브랜드 *</label>
99 102
 												<div class="col-xs-4 itp_ip fnBrandNm">
@@ -212,20 +215,9 @@
212 215
 											<label class="col-xs-3 itp_in">&nbsp;</label>
213 216
 										</div>								
214 217
 									</div>
215
-									<div class="itp_form_in">	
216
-										<div class="form-group border">
217
-											<label class="col-xs-2 itp_lb">계약문서</label>
218
-											<div class="col-xs-10 itp_ip colspan">
219
-												<div class="fileupload-wrapper">
220
-													<!-- data-show-yn: 파일업로드를 할 수 있는 권한이 있는지 없는지.. -->
221
-													<div id="ITP_STINFO05010_DETAIL_UPLOAD" data-show-yn="Y"></div>
222
-												</div>
223
-											</div>
224
-										</div>	
225
-									</div>
226 218
 									<div class="itp_form_info">	
227 219
 										<div class="itp_form_in">
228
-											<div class="form-group border">
220
+											<div class="form-group">
229 221
 												<label class="col-xs-2 itp_lb">등록자/등록일 </label>
230 222
 												<div class="col-xs-4 itp_ip">
231 223
 													<div class="col-xs-a itp_in">
@@ -249,6 +241,17 @@
249 241
 											</div>	
250 242
 										</div>		
251 243
 									</div>
244
+									<div class="itp_form_in">	
245
+										<div class="form-group border">
246
+											<label class="col-xs-2 itp_lb">계약문서</label>
247
+											<div class="col-xs-10 itp_ip colspan">
248
+												<div class="fileupload-wrapper">
249
+													<!-- data-show-yn: 파일업로드를 할 수 있는 권한이 있는지 없는지.. -->
250
+													<div id="ITP_STINFO05010_DETAIL_UPLOAD" data-show-yn="Y"></div>
251
+												</div>
252
+											</div>
253
+										</div>	
254
+									</div>
252 255
 								</section>								
253 256
 							</form>
254 257
 						</div>
@@ -263,8 +266,7 @@
263 266
 								<input type="hidden" id="ITP_FORM_STINFO05010_VIEW_BRAND_UNIT_UNQ_NO" name="brandUnitUnqNo" value="">
264 267
 					
265 268
 								<section class="itp_form_sec">
266
-									<h4 class="itp_form_tit">단가정보-상세</h4>
267
-									<div class="itp_form_in">
269
+									<div class="itp_form_in border-top">
268 270
 										<div class="form-group">
269 271
 											<label class="col-xs-2 itp_lb">브랜드 *</label>
270 272
 												<div class="col-xs-4 itp_ip fnBrandNm">

Різницю між файлами не показано, бо вона завелика
+ 2 - 2
src/main/webapp/bootstrap/dist/css/bootstrap.min.css


+ 2 - 2
src/main/webapp/css/style.css

@@ -89,7 +89,7 @@ a, button {outline:none !important; text-decoration:none !important;}
89 89
 
90 90
 /* ITP_LOGIN */
91 91
 #ITP_LOGIN {width:100%; height:100%; font-family: 'GmarketSansMedium'}
92
-#ITP_LOGIN .itp_head {margin:0 5%; letter-spacing:-1px; width:90%; height:40px; margin-bottom:50px;}
92
+#ITP_LOGIN .itp_head {margin:0 5%; letter-spacing:-3px; width:90%; height:40px; margin-bottom:50px; padding-left:18px;}
93 93
 #ITP_LOGIN .itp_bar {width:4px; height:26px; padding:0; float:left; margin:8px 7px 0 7px; font-size:27px; font-weight:100; background:#ccc;}
94 94
 #ITP_LOGIN .itp_logo {margin:0; padding:0; color:#000; font-size:39px; float:left; font-weight:700;}
95 95
 #ITP_LOGIN .itp_tit {margin:0; padding:7px 0 0 0; float:left; font-size:27px;}
@@ -317,7 +317,7 @@ html:lang(en) #ITP_CONTAINER .itp_detail .itp_form .itp_thumb_inline .itp_thumb_
317 317
 #ITP_CONTAINER .itp_detail .itp_lg_form .itp_ip.itp_dual_ipL .itp_btn {border-right:0; border-top-right-radius:0; border-bottom-right-radius:0;}
318 318
 #ITP_CONTAINER .itp_detail .itp_lg_form .itp_ip.itp_dual_ipR {margin-left:-15px;}
319 319
 #ITP_CONTAINER .itp_detail .itp_lg_form .itp_ip.itp_dual_ipR .itp_input {border-top-left-radius:0; border-bottom-left-radius:0;}
320
-#ITP_CONTAINER .itp_detail .itp_lg_form .itp_btn {padding:4px 10px; background:#fff;}
320
+#ITP_CONTAINER .itp_detail .itp_lg_form .itp_btn {padding:3.8px 11px; background:#fff;}
321 321
 #ITP_CONTAINER .itp_detail .itp_lg_form .itp_btn_dark {padding:3px 10px; margin-top:1px; color:#fff; background-color:rgb(109, 110, 114); border-color:rgb(109, 110, 114);}
322 322
 #ITP_CONTAINER .itp_detail .itp_lg_form .input-daterange .input-group-addon {padding:3px 5px;}
323 323
 #ITP_CONTAINER .itp_detail .itp_lg_form .itp_date_to {background:#fff;}

+ 2 - 2
src/main/webapp/css/ui.jqgrid-bootstrap.css

@@ -232,7 +232,7 @@ div.tablediv > .table-bordered {
232 232
 .ui-jqgrid tr.jqfoot td {
233 233
 	white-space: nowrap;
234 234
 }
235
-.ui-jqgrid tr.ui-row-ltr td {font-size:13px;color:#333; font-weight:bold;}
235
+.ui-jqgrid tr.ui-row-ltr td {font-size:13px;color:#333;}
236 236
 .ui-jqgrid tr.ui-row-rtl td {font-size:13px;color:#333;}
237 237
 .ui-jqgrid .ui-jqgrid-resize-mark {
238 238
 	width:2px;
@@ -1039,4 +1039,4 @@ td.menu_text {
1039 1039
 
1040 1040
 .ui-jqgrid .jqgrid-rownum {background-color: transparent !important;}
1041 1041
 .table>tbody>tr.active .jqgrid-rownum {background:#e8e8e8 !important; z-index:1}
1042
-.table>tbody>tr.success .jqgrid-rownum {background:#FDFDF5 !important;}
1042
+.table>tbody>tr.success .jqgrid-rownum {background:#E3FEE4 !important;}

BIN
src/main/webapp/images/close.png


+ 12 - 3
src/main/webapp/js/app/config.js

@@ -403,16 +403,25 @@ var fn_make_user_info = {
403 403
 	},
404 404
 	view: function() {
405 405
 		// 사용자명
406
-		console.log("====================");
407
-		console.log(this.get('authTpCd'));
408 406
 		$('#ITP_LOGIN_USER').text(this.get('userNm'));
409
-		let authTypeNm = (this.get('authTpNm') === undefined) ? '오더퀸' : this.get('authTpNm');
407
+		
408
+		let authTypeNm = '오더퀸' ;
409
+		
410
+		if (this.get('authTpCd') == "10" || this.get('authTpCd') == "20") {
411
+			authTypeNm ='오더퀸';
412
+		} else if (this.get('authTpCd') == "30" ) {
413
+			authTypeNm = this.get('afflShopNm');
414
+		} else { 
415
+			authTypeNm = this.get('brandNm');
416
+		}
417
+		
410 418
 		
411 419
 		if (this.get('authTpCd') == "10" || this.get('authTpCd') == "20" || this.get('authTpCd') == "30") {
412 420
 			$('#ITP_TXT_MAIN_SHR_AFFL').text(authTypeNm);
413 421
 			var brandNm = (this.get('brandNm')) ? '(' + this.get('brandNm') + ')' : '';
414 422
 			$('#ITP_TXT_MAIN_SHR_BRAND').text(brandNm);
415 423
 		} else {
424
+			$('#ITP_TXT_MAIN_SHR_AFFL').text(authTypeNm);
416 425
 			$('.itp_sch_brand').css('display','none');
417 426
 			$('#ITP_TXT_MAIN_SHR_BRAND').css('display','none');
418 427
 		}

+ 2 - 2
src/main/webapp/js/app/stinfo/ITP_STINFO05010.js

@@ -51,7 +51,7 @@ const gridColModel = {
51 51
 		{
52 52
 			index: 'ITEM_ID', name: 'itemId',
53 53
 			label: ITP_MSG_LOCALE.label.itemId, //품목번호
54
-			width: '100', fixed: false, align: 'center',
54
+			width: '20', fixed: false, align: 'center',
55 55
 			sortable: false, hidden: false ,frozen:true
56 56
 		},
57 57
 		{
@@ -99,7 +99,7 @@ const gridColModel = {
99 99
 		{
100 100
 			index: 'LEAD_TIME', name: 'leadTime',
101 101
 			label: ITP_MSG_LOCALE.label.leadTime, //리드타임 (Day)
102
-			width: '16', fixed: false, align: 'center',
102
+			width: '10', fixed: false, align: 'center',
103 103
 			sortable: false, hidden: false
104 104
 		},
105 105
 		{