Explorar el Código

전화번호, 사업자번호 양식 누락 수정 및 그리드 숫자 표기 수정

yhl88 hace 2 años
padre
commit
ffa80fc003

+ 1 - 3
src/main/webapp/app/collmng/COLLMNG01010.html

@@ -19,9 +19,7 @@
19 19
 								<input type="hidden" id="ITP_FORM_COLLMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
20 20
 									<div class="form-group">
21 21
 										<div class="col-xs-2 itp_ip itp_noMar">
22
-											<select id="ITP_FORM_COLLMNG01010_SEARCH_" class="form-control itp_input" name="service">
23
-												<option value="A">수거 일자</option>											
24
-											</select>
22
+											<label>수거일자 *</label>
25 23
 										</div>											
26 24
 										<div class="col-xs-3 itp_ip itp_noMar">
27 25
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/collmng/COLLMNG02010.html

@@ -21,9 +21,7 @@
21 21
 								
22 22
 									<div class="form-group">
23 23
 										<div class="col-xs-2 itp_ip itp_noMar">
24
-											<select id="ITP_FORM_COLLMNG02010_SEARCH_" class="form-control itp_input" name="service">
25
-												<option value="A">수거 요청일</option>											
26
-											</select>
24
+											<label>수거요청일 *</label>
27 25
 										</div>									
28 26
 										<div class="col-xs-3 itp_ip itp_noMar">
29 27
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/collmng/COLLMNG03010.html

@@ -20,9 +20,7 @@
20 20
 								<input type="hidden" id="ITP_FORM_COLLMNG03010_SEARCH_SPPLY_ID" name="sspplyId" value="">
21 21
 									<div class="form-group">
22 22
 										<div class="col-xs-2 itp_ip itp_noMar">
23
- 											<select id="ITP_FORM_COLLMNG03010_SEARCH_" class="form-control itp_input" name="service">
24
-												<option value="A">수거 일자</option>											
25
-											</select>
23
+ 											<label>수거일자 *</label>
26 24
 										</div>								
27 25
 										<div class="col-xs-3 itp_ip itp_noMar">
28 26
 											<div class="input-daterange input-group date">

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

@@ -137,7 +137,7 @@
137 137
 											<label class="col-xs-2 itp_lb">핸드폰번호 *</label>
138 138
 											<div class="col-xs-4 itp_ip">
139 139
 												<div class="col-xs-7 itp_in">
140
-													<input type="text" id="ITP_FORM_OPER01010_DETAIL_TEL_NO" data-check-required="empty" class="form-control itp_input" name="telNo" value="">
140
+													<input type="text" id="ITP_FORM_OPER01010_DETAIL_TEL_NO" data-check-required="empty" data-key-up="tel" class="form-control itp_input" name="telNo" value="">
141 141
 												</div>
142 142
 											</div>
143 143
 										</div>

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

@@ -110,13 +110,13 @@
110 110
 											<label class="col-xs-2 itp_lb">사업자번호 *</label>
111 111
 											<div class="col-xs-4 itp_ip">
112 112
 												<div class="col-xs-7 itp_in">
113
-													<input type="text" id="ITP_FORM_OPER03011_DETAIL_BSNS_REG_NO" data-check-required="empty,number" class="form-control itp_input" name="bsnsRegNo" value="">
113
+													<input type="text" id="ITP_FORM_OPER03011_DETAIL_BSNS_REG_NO" data-check-required="empty,number" data-key-up="regNo" class="form-control itp_input" name="bsnsRegNo" value="">
114 114
 												</div>
115 115
 											</div>
116 116
 											<label class="col-xs-2 itp_lb">법인번호</label>
117 117
 											<div class="col-xs-4 itp_ip">
118 118
 												<div class="col-xs-7 itp_in">
119
-													<input type="text" id="ITP_FORM_OPER03011_DETAIL_CORP_REG_NO" class="form-control itp_input" name="corpRegNo" value="">
119
+													<input type="text" id="ITP_FORM_OPER03011_DETAIL_CORP_REG_NO" data-key-up="corpNo" class="form-control itp_input" name="corpRegNo" value="">
120 120
 												</div>
121 121
 											</div>
122 122
 										</div>
@@ -136,7 +136,7 @@
136 136
 											<label class="col-xs-2 itp_lb">전화번호 *</label>
137 137
 											<div class="col-xs-4 itp_ip">
138 138
 												<div class="col-xs-7 itp_in">
139
-													<input type="tel" id="ITP_FORM_OPER03011_DETAIL_TEL_NO" data-check-required="empty" class="form-control itp_input" name="rprstTelNo" value="">
139
+													<input type="tel" id="ITP_FORM_OPER03011_DETAIL_TEL_NO" data-check-required="empty" data-key-up="tel" class="form-control itp_input" name="rprstTelNo" value="">
140 140
 												</div>
141 141
 											</div>
142 142
 											<label class="col-xs-2 itp_lb" style="border-top:none;">브랜드그룹 로고</label>
@@ -149,7 +149,7 @@
149 149
 											<label class="col-xs-2 itp_lb">FAX *</label>
150 150
 											<div class="col-xs-4 itp_ip">
151 151
 												<div class="col-xs-7 itp_in">
152
-													<input type="text" id="ITP_FORM_OPER03011_DETAIL_FAX_NO" data-check-required="empty" class="form-control itp_input" name="rprstFaxNo" value="">
152
+													<input type="text" id="ITP_FORM_OPER03011_DETAIL_FAX_NO" data-check-required="empty" data-key-up="tel" class="form-control itp_input" name="rprstFaxNo" value="">
153 153
 												</div>
154 154
 											</div>
155 155
 											<label class="col-xs-2 itp_lb"style="border-top:none;"></label>
@@ -194,7 +194,7 @@
194 194
 											<label class="col-xs-2 itp_lb">대표자연락처 *</label>
195 195
 											<div class="col-xs-4 itp_ip">
196 196
 												<div class="col-xs-7 itp_in">
197
-													<input type="text" id="ITP_FORM_OPER03011_DETAIL_OWNER_TEL_NO" data-check-required="empty" class="form-control itp_input" name="ownerTelNo" value="">
197
+													<input type="text" id="ITP_FORM_OPER03011_DETAIL_OWNER_TEL_NO" data-check-required="empty" data-key-up="tel" class="form-control itp_input" name="ownerTelNo" value="">
198 198
 												</div>
199 199
 											</div>
200 200
 											<label class="col-xs-2 itp_lb">계약기간 *</label>

+ 1 - 3
src/main/webapp/app/ordmng/ORDMNG01010.html

@@ -22,9 +22,7 @@
22 22
 								<input type="hidden" id="ITP_FORM_ORDMNG01010_SEARCH_SPPLY_ID" name="sspplyId" value="">
23 23
 									<div class="form-group">
24 24
 										<div class="col-xs-2 itp_ip itp_noMar">
25
-											<select id="ITP_FORM_ORDMNG01010_SEARCH_" class="form-control itp_input" name="service">
26
-												<option value="A">수주일자</option>											
27
-											</select>
25
+											<label>수주일자 *</label>
28 26
 										</div>											
29 27
 										<div class="col-xs-3 itp_ip itp_noMar">
30 28
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/ordmng/ORDMNG02010.html

@@ -22,9 +22,7 @@
22 22
 								<input type="hidden" id="ITP_FORM_ORDMNG02010_SEARCH_SPPLY_ID" name="sspplyId" value="">
23 23
 									<div class="form-group">
24 24
 										<div class="col-xs-2 itp_ip itp_noMar">
25
-											<select id="ITP_FORM_ORDMNG02010_SEARCH_" class="form-control itp_input" name="service">
26
-												<option value="A">납품요청일</option>											
27
-											</select>
25
+											<label>납품요청일 *</label>
28 26
 										</div>										
29 27
 										<div class="col-xs-3 itp_ip itp_noMar">
30 28
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/ordmng/ORDMNG03010.html

@@ -18,9 +18,7 @@
18 18
 								<input type="hidden" id="ITP_FORM_ORDMNG03010_SEARCH_BRAND_ID" name="sbrandId" value="">
19 19
 									<div class="form-group">
20 20
 										<div class="col-xs-2 itp_ip itp_noMar">
21
-											<select id="ITP_FORM_ORDMNG03010_SEARCH_" class="form-control itp_input" name="service">
22
-												<option value="A">납품예정일자</option>											
23
-											</select>
21
+											<label>납품예정일자 *</label>
24 22
 										</div>										
25 23
 										<div class="col-xs-3 itp_ip itp_noMar">
26 24
 											<div class="input-daterange input-group date">

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

@@ -207,6 +207,7 @@ let pageObj = {
207 207
 	ui: {
208 208
 		init: function () {
209 209
 			this.button();
210
+			this.form();
210 211
 			this.ready();
211 212
 		},
212 213
 		button: function () {
@@ -226,6 +227,9 @@ let pageObj = {
226 227
 			$('#ITP_FORM_OPER01010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setMonth(now.getMonth() - 1)));
227 228
 			$('#ITP_FORM_OPER01010_SEARCH_TO_DT').datepicker('setDate', new Date());
228 229
 		},
230
+		form: function() {
231
+			itp_fn_form_event.onKeyup('#ITP_FORM_OPER01010_DETAIL');
232
+		},
229 233
 		afflInfo: {
230 234
 			init: function() {
231 235
 				this.authTpCd 		= fn_make_user_info.get('authTpCd');

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

@@ -113,6 +113,7 @@ let pageObj = {
113 113
 	ui: {
114 114
 		init: function () {
115 115
 			this.view();
116
+			this.form();
116 117
 			this.grid();
117 118
 			this.ready();
118 119
 		},
@@ -140,6 +141,9 @@ let pageObj = {
140 141
 				}
141 142
 			});
142 143
 		},
144
+		form: function() {
145
+			itp_fn_form_event.onKeyup('#ITP_FORM_OPER03011_DETAIL');
146
+		},
143 147
 		grid: function() {
144 148
 		},
145 149
 		ready: function() {

+ 3 - 3
src/main/webapp/js/app/pomng/ITP_POMNG02010.js

@@ -539,8 +539,7 @@ let pageObj = {
539 539
 					}				
540 540
 				});
541 541
 				$('#ITP_FORM_POMNG02010_DETAIL .fnPchReqTotalAmt').text(itp_fn_number_comma(pchReqAmt));
542
-			}
543
-			
542
+			}			
544 543
 		},
545 544
 		clearData : function() {
546 545
 			$(this.gridId).jqGrid('clearGridData', true);
@@ -608,7 +607,6 @@ let listObj = {
608 607
 			param.gridSize = $.jgrid.defaults.rowNum;
609 608
 			param.sbrandId = fn_make_user_info.get('brandId');
610 609
 			param.sstoreId = fn_make_user_info.get('storeId');
611
-			console.log(param);
612 610
 			var option = {
613 611
 				gridId: POMNG02010_GRID_ID,
614 612
 				colModel: gridColModel.list,
@@ -617,6 +615,8 @@ let listObj = {
617 615
 				param: param,
618 616
 				url: DOMAIN + API_DETAIL_GRID_LIST,
619 617
 				pager: POMNG02010_GRID_PAGER,
618
+				multiselect: true,
619
+				rownumbers: false,
620 620
 				onCellSelect: function(rowId, cellIdx, cellValue) {
621 621
 					var cm = $(this).jqGrid('getGridParam', 'colModel');
622 622
 					var colNm = cm[cellIdx].name;

+ 5 - 5
src/main/webapp/js/app/pomng/ITP_POMNG03010.js

@@ -79,14 +79,13 @@ const gridColModel = {
79 79
 		{
80 80
 			index: 'PCH_REQ_UNQ_NO', name: 'pchReqUnqNo',
81 81
 			label: ITP_MSG_LOCALE.label.pchReqUnqNo, //구매요청고유번호
82
-			width: '10', fixed: false, align: 'center',
83
-			minwidth: 140,
82
+			width: '12', fixed: false, align: 'center',
84 83
 			sortable: false, hidden: false
85 84
 		},
86 85
 		{
87 86
 			index: 'DLV_DVSN_NM', name: 'dlvDvsnNm',
88 87
 			label: ITP_MSG_LOCALE.label.dlvDvsnNm, //배송구분
89
-			width: '10', fixed: false, align: 'center',
88
+			width: '9', fixed: false, align: 'center',
90 89
 			sortable: false, hidden: false
91 90
 		},
92 91
 		{
@@ -170,7 +169,7 @@ const gridColModel = {
170 169
 		{
171 170
 			index: 'PCH_REQ_QTY', name: 'pchReqQty',
172 171
 			label: ITP_MSG_LOCALE.label.pchReqQty, //구매요청수량
173
-			width: '10', fixed: false, align: 'right',
172
+			width: '8', fixed: false, align: 'right',
174 173
 			sortable: false, hidden: false,
175 174
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
176 175
 		},
@@ -183,7 +182,7 @@ const gridColModel = {
183 182
 		{
184 183
 			index: 'PCH_REQ_AMT', name: 'pchReqAmt',
185 184
 			label: ITP_MSG_LOCALE.label.pchReqAmt, //납품요청금액
186
-			width: '10', fixed: false, align: 'right',
185
+			width: '8', fixed: false, align: 'right',
187 186
 			sortable: false, hidden: false,
188 187
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
189 188
 		},
@@ -935,6 +934,7 @@ let listObj = {
935 934
 				param: param,
936 935
 				url: DOMAIN + API_DETAIL_GRID_LIST,
937 936
 				pager: POMNG03010_GRID_PAGER,
937
+				rownumbers: false,
938 938
 				loadComplete: function(data) {
939 939
 					itp_fn_grid_load_complete(data, POMNG03010_GRID_ID, true, 'number', 'POMNG03010', listObj.itp_POMNG03010_search, listObj.empty, true, data.gridRecords, true);
940 940
 					var ids = $(POMNG03010_GRID_ID).getDataIDs();

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

@@ -121,13 +121,13 @@ const gridColModel = {
121 121
 		{
122 122
 			index: 'ITEM_ID', name: 'itemId',
123 123
 			label: ITP_MSG_LOCALE.label.itemId, //품목번호
124
-			width: '10', fixed: false, align: 'center',
124
+			width: '12', fixed: false, align: 'center',
125 125
 			sortable: false, hidden: false
126 126
 		},
127 127
 		{
128 128
 			index: 'ITEM_NM', name: 'itemNm',
129 129
 			label: ITP_MSG_LOCALE.label.itemNm, //품목명
130
-			width: '13', fixed: false, align: 'left',
130
+			width: '11', fixed: false, align: 'left',
131 131
 			sortable: false, hidden: false
132 132
 		},
133 133
 		{
@@ -145,14 +145,14 @@ const gridColModel = {
145 145
 		{
146 146
 			index: 'UNIT', name: 'unit',
147 147
 			label: ITP_MSG_LOCALE.label.unit, //기본단위
148
-			width: '9', fixed: false, align: 'center',
148
+			width: '8', fixed: false, align: 'center',
149 149
 			sortable: false, editable: false, formatter: 'select', edittype: 'select',
150 150
 			editoptions: {value: ITP_COMMON_CD_DSTRBT_COST_UNIT}
151 151
 		},
152 152
 		{
153 153
 			index: 'CURR', name: 'curr',
154 154
 			label: ITP_MSG_LOCALE.label.curr, //통화
155
-			width: '9', fixed: false, align: 'center',
155
+			width: '7', fixed: false, align: 'center',
156 156
 			sortable: false, editable: true, formatter: 'select', edittype: 'select',
157 157
 			editoptions: {value: ITP_COMMON_CD_CURR},
158 158
 			classes: 'input_color',
@@ -170,7 +170,7 @@ const gridColModel = {
170 170
 		{
171 171
 			index: 'UNIT_TARGET_CD', name: 'unitTargetCd',
172 172
 			label: ITP_MSG_LOCALE.label.unitTargetCd, //대상여부
173
-			width: '10', fixed: false, align: 'center',
173
+			width: '7', fixed: false, align: 'center',
174 174
 			classes: 'input_color',
175 175
 			sortable: false, editable: true, formatter: 'select', edittype: 'select',
176 176
 			editoptions: {value: ITP_COMMON_CD_UNIT_TARGET_CD},