Parcourir la source

사용자관리, 품목괸리, 단가괸리 등 html 테스트 조정-1

yhl88 il y a 2 ans
Parent
commit
b50ba97421

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

@@ -103,7 +103,7 @@
103 103
 											<label class="col-xs-2 itp_lb">사용자명 *</label>
104 104
 											<div class="col-xs-4 itp_ip">
105 105
 												<div class="col-xs-7 itp_in">
106
-													<input type="text" id="ITP_FORM_OPER01010_DETAIL_USER_NM" data-check-required="empty" class="form-control itp_input" name="userNm" value="" maxlength="40">
106
+													<input type="text" id="ITP_FORM_OPER01010_DETAIL_USER_NM" data-check-required="empty" class="form-control itp_input" name="userNm" value="" maxlength="20">
107 107
 												</div>
108 108
 											</div>
109 109
 											<label class="col-xs-2 itp_lb">상태 *</label>
@@ -163,6 +163,7 @@
163 163
 							</form>
164 164
 						</div>
165 165
 					</div>
166
+					<!--
166 167
 					<div class="itp_table fix">
167 168
 						<div class="itp_table_head fix" style="background:#fff;">
168 169
 							<h4 class="itp_table_tit">권한 정보</h4>
@@ -263,7 +264,7 @@
263 264
 											<label class="col-xs-2 itp_lb">사용자명 *</label>
264 265
 											<div class="col-xs-4 itp_ip">
265 266
 												<div class="col-xs-7 itp_in">
266
-													<input type="text" id="ITP_FORM_OPER01010_NEW_USER_NM" data-check-required="empty" class="form-control itp_input" name="userNm" value="">
267
+													<input type="text" id="ITP_FORM_OPER01010_NEW_USER_NM" data-check-required="empty" class="form-control itp_input" name="userNm" value="" maxlength="20">
267 268
 												</div>
268 269
 											</div>
269 270
 											<label class="col-xs-2 itp_lb">상태 *</label>
@@ -308,7 +309,7 @@
308 309
 											<label class="col-xs-2 itp_lb">이메일 *</label>
309 310
 											<div class="col-xs-4 itp_ip">
310 311
 												<div class="col-xs-7 itp_in">
311
-													<input type="text" id="ITP_FORM_OPER01010_NEW_EMAIL" data-check-required="empty" class="form-control itp_input" name="email" value="">
312
+													<input type="text" id="ITP_FORM_OPER01010_NEW_EMAIL" data-check-required="empty" class="form-control itp_input" name="email" value="" maxlength="50">
312 313
 												</div>
313 314
 											</div>
314 315
 										</div>

+ 4 - 4
src/main/webapp/app/oper/OPER04010.html

@@ -64,7 +64,7 @@
64 64
 												<div class="itp_form_change">	
65 65
 													<div class="col-xs-7 itp_in">
66 66
 														<div class="input-group">
67
-															<input type="text" id="ITP_FORM_OPER04010_DETAIL_TMP_SALE_MGR_ID" data-check-required="empty" class="form-control itp_input" value="" maxlength="10" >
67
+															<input type="text" id="ITP_FORM_OPER04010_DETAIL_TMP_SALE_MGR_ID" data-check-required="empty" class="form-control itp_input" value="" maxlength="20" >
68 68
 															<span class="input-group-btn">
69 69
 															<button id="ITP_FORM_OPER04010_DETAIL_DUP" class="btn btn-default btn-sm itp_btn SHOW" type="button" disabled><i class="glyphicon glyphicon-ok"></i></button>
70 70
 														</span>
@@ -86,7 +86,7 @@
86 86
 											<label class="col-xs-2 itp_lb">영업담당자명(*)</label>
87 87
 											<div class="col-xs-4 itp_ip">
88 88
 												<div class="col-xs-7 itp_in">
89
-													<input type="text" id="ITP_FORM_OPER04010_DETAIL_SALE_MGR_NM" data-check-required="empty" class="form-control itp_input" name="saleMgrNm" value="" maxlength="40">
89
+													<input type="text" id="ITP_FORM_OPER04010_DETAIL_SALE_MGR_NM" data-check-required="empty" class="form-control itp_input" name="saleMgrNm" value="" maxlength="20">
90 90
 												</div>
91 91
 											</div>
92 92
 											<label class="col-xs-2 itp_lb">영업타입</label>
@@ -139,7 +139,7 @@
139 139
 												<label class="col-xs-2 itp_lb">이메일(*)</label>
140 140
 												<div class="col-xs-4 itp_ip">
141 141
 													<div class="col-xs-7 itp_in">
142
-														<input type="text" id="ITP_FORM_OPER04010_DETAIL_EMAL_ADDR" data-check-required="empty" class="form-control itp_input" name="rprstEmai" value="">
142
+														<input type="text" id="ITP_FORM_OPER04010_DETAIL_EMAL_ADDR" data-check-required="empty" class="form-control itp_input" name="rprstEmai" value="" maxlength="50">
143 143
 													</div>
144 144
 												</div>											
145 145
 											</div>
@@ -184,7 +184,7 @@
184 184
 													<input type="text" id="ITP_FORM_OPER04010_DETAIL_ADRES" data-check-required="empty" data-alert-required="ONLYCHK" data-alert-msg="address" class="form-control itp_input" name="addr1" value="" readonly placeholder="기본주소">
185 185
 												</div>
186 186
 												<div class="col-xs-4 itp_in">
187
-													<input type="text" id="ITP_FORM_OPER04010_DETAIL_ADRES_DTL" data-check-required="empty" class="form-control itp_input" name="addr2" value="" placeholder="상세주소">
187
+													<input type="text" id="ITP_FORM_OPER04010_DETAIL_ADRES_DTL" data-check-required="empty" class="form-control itp_input" name="addr2" value="" placeholder="상세주소" maxlength="100">
188 188
 												</div>
189 189
 												
190 190
 												<!-- 주소 맵 -->

+ 5 - 5
src/main/webapp/app/stinfo/STINFO04010.html

@@ -171,7 +171,7 @@
171 171
 											<label class="col-xs-2 itp_lb">품목명 *</label>
172 172
 											<div class="col-xs-4 itp_ip">
173 173
 												<div class="col-xs-6 itp_in">
174
-													<input type="text" id="ITP_FORM_STINFO04010_DETAIL_ITEM_NM" data-check-required="empty" class="form-control itp_input" name="itemNm" value="품목A">
174
+													<input type="text" id="ITP_FORM_STINFO04010_DETAIL_ITEM_NM" data-check-required="empty" class="form-control itp_input" name="itemNm" value="품목A" maxlength="100">
175 175
 												</div>
176 176
 											</div>
177 177
 											<label class="col-xs-2 itp_lb">내외자구분</label>
@@ -219,7 +219,7 @@
219 219
 											<label class="col-xs-2 itp_lb">오더퀸 품목코드</label>
220 220
 											<div class="col-xs-4 itp_ip">
221 221
 												<div class="col-xs-6 itp_in">
222
-													<input type="text" id="ITP_FORM_STINFO04010_DETAIL_OQ_MENU_CD" class="form-control itp_input" name="oqMenuCd" value="">
222
+													<input type="text" id="ITP_FORM_STINFO04010_DETAIL_OQ_MENU_CD" class="form-control itp_input" name="oqMenuCd" value="" maxlength="20">
223 223
 												</div>
224 224
 											</div>
225 225
 										</div>
@@ -309,7 +309,7 @@
309 309
 									</div>
310 310
 									<div class="itp_form_in">
311 311
 										<div class="form-group">
312
-											<label class="col-xs-2 itp_lb">유통기한여부 *</label>
312
+											<label class="col-xs-2 itp_lb">사용(유통)기한여부 *</label>
313 313
 											<div class="col-xs-4 itp_ip">
314 314
 												<div class="col-xs-6 itp_in">
315 315
 													<select id="ITP_FORM_STINFO04010_DETAIL_EXPRY_YN" data-check-required="empty" class="form-control itp_input" name="expryYn">
@@ -319,10 +319,10 @@
319 319
 													</select>
320 320
 												</div>
321 321
 											</div>
322
-											<label class="col-xs-2 itp_lb">유통가능기간</label>
322
+											<label class="col-xs-2 itp_lb">사용(유통)가능기간</label>
323 323
 											<div class="col-xs-4 itp_ip">
324 324
 												<div class="col-xs-6 itp_in">
325
-								                	<input type="text" id="ITP_FORM_STINFO04010_DETAIL_EXPRY_PERIOD" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="form-control itp_input" name="expryPeriod" value="30">
325
+								                	<input type="text" id="ITP_FORM_STINFO04010_DETAIL_EXPRY_PERIOD" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="form-control itp_input" name="expryPeriod" value="" maxlength="7">
326 326
 												</div>
327 327
 												<div class="col-xs-a itp_in">
328 328
 													<label class="itp_in">(Day)</label>

+ 5 - 5
src/main/webapp/app/stinfo/STINFO05010.html

@@ -62,7 +62,7 @@
62 62
 											</select>
63 63
 										</div>
64 64
 										<div class="col-xs-4 itp_ip itp_noMar">
65
-											<input type="text" id="ITP_FORM_STINFO05010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="품목번호 or 품목명" />
65
+											<input type="text" id="ITP_FORM_STINFO05010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="품목번호 or 품목명" maxlength="40"/>
66 66
 										</div>
67 67
 									</div>
68 68
 								</form>
@@ -141,7 +141,7 @@
141 141
 														</div>
142 142
 													</div>
143 143
 									                <div class="col-xs-3 itp_in" style="padding-left: 5px;">
144
-														<input type="text" id="ITP_FORM_STINFO05010_DETAIL_SPPLY_ITEM_ID" class="form-control itp_input" name="spplyItemId" value="" placeholder="공급업체 품번" maxlength="100">
144
+														<input type="text" id="ITP_FORM_STINFO05010_DETAIL_SPPLY_ITEM_ID" class="form-control itp_input" name="spplyItemId" value="" placeholder="공급업체 품번" maxlength="20">
145 145
 									                </div>
146 146
 												</div>
147 147
 											</div>
@@ -184,7 +184,7 @@
184 184
 											<label class="col-xs-2 itp_lb">리드타임</label>
185 185
 											<div class="col-xs-4 itp_ip">
186 186
 												<div class="col-xs-5 itp_in">
187
-													<input type="text" id="ITP_FORM_STINFO05010_DETAIL_LEAD_TIME" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="form-control itp_input" name="leadTime" value="" maxlength="100">
187
+													<input type="text" id="ITP_FORM_STINFO05010_DETAIL_LEAD_TIME" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="form-control itp_input" name="leadTime" value="" maxlength="10">
188 188
 												</div>
189 189
 												<label>(Day)</label>
190 190
 											</div>
@@ -201,7 +201,7 @@
201 201
 											<label class="col-xs-2 itp_lb">단가</label>
202 202
 											<div class="col-xs-4 itp_ip">
203 203
 												<div class="col-xs-5 itp_in">
204
-													<input type="text" id="ITP_FORM_STINFO05010_DETAIL_UNIT_AMT" data-key-up="comma" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="form-control itp_input" name="unitAmt" value="" maxlength="100">
204
+													<input type="text" id="ITP_FORM_STINFO05010_DETAIL_UNIT_AMT" data-key-up="comma" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="form-control itp_input" name="unitAmt" value="" maxlength="20">
205 205
 												</div>
206 206
 											</div>
207 207
 										</div>								
@@ -217,7 +217,7 @@
217 217
 											<label class="col-xs-2 itp_lb">매장판매단가</label>
218 218
 											<div class="col-xs-4 itp_ip">
219 219
 												<div class="col-xs-5 itp_in">
220
-													<input type="text" id="ITP_FORM_STINFO05010_DETAIL_STORE_SALE_UNIT_AMT" data-key-up="comma" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="form-control itp_input" name="storeSaleUnitAmt" value="" maxlength="100">
220
+													<input type="text" id="ITP_FORM_STINFO05010_DETAIL_STORE_SALE_UNIT_AMT" data-key-up="comma" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="form-control itp_input" name="storeSaleUnitAmt" value="" maxlength="20">
221 221
 												</div>
222 222
 											</div>
223 223
 										</div>								

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

@@ -75,8 +75,7 @@ const gridColModel = {
75 75
 		{
76 76
 			index: 'AUTH_TP_NM', name: 'authTpNm',
77 77
 			label: ITP_MSG_LOCALE.label.authTpNm, //권한명
78
-			width: '10', fixed: false, align: 'left',
79
-			minwidth: 100, maxwidth: 250,
78
+			width: '10', fixed: false, align: 'center',
80 79
 			sortable: false, hidden: false
81 80
 		},
82 81
 		{
@@ -117,7 +116,7 @@ const gridColModel = {
117 116
 		{
118 117
 			index: 'USER_ID', name: 'userId',
119 118
 			label: ITP_MSG_LOCALE.label.userId, //사용자ID
120
-			width: '10', fixed: false, align: 'left',
119
+			width: '10', fixed: false, align: 'center',
121 120
 			minwidth: 120, maxwidth: 200,
122 121
 			sortable: false, hidden: false
123 122
 		},
@@ -510,7 +509,7 @@ let viewObj = {
510 509
 		
511 510
 		
512 511
 		// 권한정보 리스트 조회
513
-		pageObj.grid.init('VIEW');
512
+		//pageObj.grid.init('VIEW');
514 513
 	}
515 514
 };
516 515
 
@@ -557,14 +556,13 @@ let modifyObj = {
557 556
 		//ITP_FORM_OPER01010_DETAIL_USER_ID
558 557
 
559 558
 		// 리스트 조회
560
-		pageObj.grid.init('NEW');
559
+		//pageObj.grid.init('NEW');
561 560
 	}
562 561
 };
563 562
 
564 563
 /*신규화면 Object*/
565 564
 let createObj = {
566 565
 	init: function () {
567
-		this.grid.init();
568 566
 	},
569 567
 	button: {
570 568
 		duplicate: function() {

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

@@ -125,7 +125,7 @@ const gridColModel = {
125 125
 		{
126 126
 			index: 'ASSGN_TASK_NM', name: 'spplyMgrNm',
127 127
 			label: ITP_MSG_LOCALE.label.spplyMgrNm, //담당자명
128
-			width: '16', fixed: false, align: 'left',
128
+			width: '16', fixed: false, align: 'center',
129 129
 			sortable: false, editable: true, edittype: 'text',
130 130
 			classes: 'input_color',
131 131
 			editrules: {required: true}
@@ -151,7 +151,7 @@ const gridColModel = {
151 151
 			width: '20', fixed: false, align: 'center',
152 152
 			classes: 'input_color',
153 153
 			sortable: false, editable: true, edittype: 'text',
154
-			editoptions: {'data-key-up': 'tel', 'maxlength': '13'}
154
+			editoptions: {'data-key-up': 'tel', maxlength: 13}
155 155
 		},
156 156
 		{
157 157
 			index: 'ASSGN_TASK', name: 'assgnTask',

+ 13 - 11
src/main/webapp/js/app/stinfo/ITP_STINFO05010.js

@@ -51,19 +51,19 @@ const gridColModel = {
51 51
 		{
52 52
 			index: 'ITEM_ID', name: 'itemId',
53 53
 			label: ITP_MSG_LOCALE.label.itemId, //품목번호
54
-			width: '11', fixed: false, align: 'center',
54
+			width: '9', fixed: false, align: 'center',
55 55
 			sortable: false, hidden: false ,frozen:true
56 56
 		},
57 57
 		{
58 58
 			index: 'ITEM_NM', name: 'itemNm',
59 59
 			label: ITP_MSG_LOCALE.label.itemNm, //품목명
60
-			width: '8', fixed: false, align: 'left',
60
+			width: '9', fixed: false, align: 'left',
61 61
 			sortable: false, hidden: false
62 62
 		},
63 63
 		{
64 64
 			index: 'SPPLY_ID_NM', name: 'spplyNm',
65 65
 			label: ITP_MSG_LOCALE.label.spplyNm, //공급업체명
66
-			width: '8', fixed: false, align: 'left',
66
+			width: '9', fixed: false, align: 'left',
67 67
 			sortable: false, hidden: false
68 68
 		},
69 69
 		{
@@ -75,32 +75,32 @@ const gridColModel = {
75 75
 		{
76 76
 			index: 'CURR', name: 'curr',
77 77
 			label: ITP_MSG_LOCALE.label.curr, //통화
78
-			width: '4', fixed: false, align: 'center',
78
+			width: '3', fixed: false, align: 'center',
79 79
 			sortable: false, hidden: false
80 80
 		},
81 81
 		{
82 82
 			index: 'UNIT_AMT', name: 'unitAmt',
83 83
 			label: ITP_MSG_LOCALE.label.unitAmt, //단가
84
-			width: '5', fixed: false, align: 'right',
84
+			width: '6', fixed: false, align: 'right',
85 85
 			sortable: false, hidden: false,
86 86
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
87 87
 		},
88 88
 		{
89 89
 			index: 'CONT_STT_DT', name: 'contSttDt',
90 90
 			label: ITP_MSG_LOCALE.label.contSttDt, //시작일
91
-			width: '8', fixed: false, align: 'center',
91
+			width: '6', fixed: false, align: 'center',
92 92
 			sortable: false, hidden: false
93 93
 		},
94 94
 		{
95 95
 			index: 'CONT_END_DT', name: 'contEndDt',
96 96
 			label: ITP_MSG_LOCALE.label.contEndDt, //종료일
97
-			width: '8', fixed: false, align: 'center',
97
+			width: '6', fixed: false, align: 'center',
98 98
 			sortable: false, hidden: false
99 99
 		},
100 100
 		{
101 101
 			index: 'LEAD_TIME', name: 'leadTime',
102 102
 			label: '리드타임', //리드타임 (Day)
103
-			width: '7', fixed: false, align: 'right',
103
+			width: '6', fixed: false, align: 'right',
104 104
 			sortable: false, hidden: false
105 105
 		},
106 106
 		{
@@ -112,13 +112,13 @@ const gridColModel = {
112 112
 		{
113 113
 			index: 'UNIT_ST_NM', name: 'unitStNm',
114 114
 			label: ITP_MSG_LOCALE.label.stNm, //상태
115
-			width: '5', fixed: false, align: 'center',
115
+			width: '3', fixed: false, align: 'center',
116 116
 			sortable: false, hidden: false
117 117
 		},
118 118
 		{
119 119
 			index: 'SPPLY_ITEM_ID', name: 'spplyItemId',
120 120
 			label: ITP_MSG_LOCALE.label.spplyItemId, //공급사품번
121
-			width: '8', fixed: false, align: 'right',
121
+			width: '9', fixed: false, align: 'right',
122 122
 			sortable: false, hidden: false
123 123
 		}
124 124
 	]
@@ -346,9 +346,11 @@ let listObj = {
346 346
 				param: param,
347 347
 				autowidth: false,
348 348
 				shrinkToFit :true,
349
-				forceFit:true,
349
+				forceFit: true,
350 350
 				url: DOMAIN + API_DETAIL_GRID_LIST,
351 351
 				pager: STINFO05010_GRID_PAGER,
352
+				multiselect: true,
353
+				rownumbers: false,
352 354
 				onCellSelect: function(rowId, cellIdx, cellValue) {
353 355
 					var cm = $(this).jqGrid('getGridParam', 'colModel');
354 356
 					var colNm = cm[cellIdx].name;

+ 1 - 1
src/main/webapp/js/app/stinfo/ITP_STINFO06010.js

@@ -165,7 +165,7 @@ const gridColModel = {
165 165
 			sortable: true, editable: true, edittype: 'text',
166 166
 			classes: 'input_color',
167 167
 			editrules: {required: true},
168
-			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');"},
168
+			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');",  maxlength: 20},
169 169
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
170 170
 		},
171 171
 		{