浏览代码

구매요청생성, 구매요청현황 html 조정

yhl88 2 年之前
父节点
当前提交
f1a19e460a

+ 2 - 2
src/main/webapp/app/pomng/POMNG01010.html

@@ -36,7 +36,7 @@
36 36
 										<div class="form-group">
37 37
 											<label class="col-xs-2 itp_lb">구매요청명</label>
38 38
 											<div class="col-xs-10 itp_ip">
39
-												<input type="text" id="ITP_FORM_POMNG01010_DETAIL_PCH_REQ_NM" class="form-control itp_input" name="pchReqNm" value="" />
39
+												<input type="text" id="ITP_FORM_POMNG01010_DETAIL_PCH_REQ_NM" class="form-control itp_input" name="pchReqNm" value="" maxlength="40" style="width: 40%;"/>
40 40
 											</div>
41 41
 										</div>
42 42
 									</div>
@@ -93,7 +93,7 @@
93 93
 										<div class="form-group">
94 94
 											<label class="col-xs-2 itp_lb">비고</label>
95 95
 											<div class="col-xs-10 itp_ip">
96
-												<input type="text" id="ITP_FORM_POMNG01010_DETAIL_NOTE" class="form-control itp_input" name="note" value="" />
96
+												<input type="text" id="ITP_FORM_POMNG01010_DETAIL_NOTE" class="form-control itp_input" name="note" value="" maxlength="300"/>
97 97
 											</div>
98 98
 										</div>
99 99
 									</div>

+ 1 - 1
src/main/webapp/app/popup/biz/BIZPOP_ITEM_CLASS_MANAGE.html

@@ -49,7 +49,7 @@
49 49
 											<label class="col-xs-2 itp_lb">분류명</label>
50 50
 											<div class="col-xs-9 itp_ip">
51 51
 												<div class="col-xs-9 itp_in">
52
-													<input type="email" id="ITP_FORM_SITP_TAB_STINFO07010_POP_ITEM_CLASS_NM" data-check-required="empty" class="form-control itp_input" name="itemClassNm" placeholder="분류명">
52
+													<input type="email" id="ITP_FORM_SITP_TAB_STINFO07010_POP_ITEM_CLASS_NM" data-check-required="empty" class="form-control itp_input" name="itemClassNm" placeholder="분류명" maxlength="40">
53 53
 												</div>
54 54
 											</div>
55 55
 										</div>

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

@@ -53,7 +53,7 @@
53 53
 											</select>
54 54
 										</div>
55 55
 										<div class="col-xs-4 itp_ip itp_noMar">
56
-											<input type="text" id="ITP_FORM_STINFO02010_SEARCH_STORE_NM" class="form-control itp_input" name="sstoreNm" placeholder="매장 명" />
56
+											<input type="text" id="ITP_FORM_STINFO02010_SEARCH_STORE_NM" class="form-control itp_input" data-key-up="comma" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" name="sstoreNm" placeholder="매장 명" />
57 57
 										</div>
58 58
 									</div>
59 59
 								</form>
@@ -109,13 +109,13 @@
109 109
 											<label class="col-xs-2 itp_lb">매장명 *</label>
110 110
 											<div class="col-xs-4 itp_ip">
111 111
 												<div class="col-xs-6 itp_in">
112
-													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_STORE_NM" data-check-required="empty" class="form-control itp_input" name="storeNm" value="">
112
+													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_STORE_NM" data-check-required="empty" class="form-control itp_input" name="storeNm" value="" maxlength="40">
113 113
 												</div>
114 114
 											</div>
115 115
 											<label class="col-xs-2 itp_lb">업태</label>
116 116
 											<div class="col-xs-4 itp_ip">
117 117
 												<div class="col-xs-7 itp_in">
118
-													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_BSNS_CNDT" class="form-control itp_input" name="bsnsCndt" value="">
118
+													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_BSNS_CNDT" class="form-control itp_input" name="bsnsCndt" value="" maxlength="100">
119 119
 												</div>
120 120
 											</div>
121 121
 										</div>
@@ -131,7 +131,7 @@
131 131
 											<label class="col-xs-2 itp_lb">업종</label>
132 132
 											<div class="col-xs-4 itp_ip">
133 133
 												<div class="col-xs-7 itp_in">
134
-													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CTGR_BSNS" class="form-control itp_input" name="ctgrBsns" value="">
134
+													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CTGR_BSNS" class="form-control itp_input" name="ctgrBsns" value="" maxlength="100">
135 135
 												</div>
136 136
 											</div>
137 137
 										</div>
@@ -141,7 +141,7 @@
141 141
 											<label class="col-xs-2 itp_lb">법인번호</label>
142 142
 											<div class="col-xs-4 itp_ip">
143 143
 												<div class="col-xs-6 itp_in">
144
-													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CORP_REG_NO" data-key-up="corpNo" class="form-control itp_input" name="corpRegNo" value="">
144
+													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CORP_REG_NO" data-key-up="corpNo" class="form-control itp_input" name="corpRegNo" value="" maxlength="14">
145 145
 												</div>
146 146
 											</div>
147 147
 											<label class="col-xs-2 itp_lb">전화번호 *</label>
@@ -157,7 +157,7 @@
157 157
 											<label class="col-xs-2 itp_lb">점주/대표자명*</label>
158 158
 											<div class="col-xs-4 itp_ip">
159 159
 												<div class="col-xs-6 itp_in">
160
-													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_OWNER_NM" data-check-required="empty" class="form-control itp_input" name="ownerNm" value="">
160
+													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_OWNER_NM" data-check-required="empty" class="form-control itp_input" name="ownerNm" value="" maxlength="20">
161 161
 												</div>
162 162
 											</div>
163 163
 											<label class="col-xs-2 itp_lb">FAX</label>
@@ -179,7 +179,7 @@
179 179
 											<label class="col-xs-2 itp_lb">이메일 *</label>
180 180
 											<div class="col-xs-4 itp_ip">
181 181
 												<div class="col-xs-7 itp_in">
182
-													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_EMAL_ADDR" data-check-required="empty" class="form-control itp_input" name="emalAddr" value="">
182
+													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_EMAL_ADDR" data-check-required="empty" class="form-control itp_input" name="emalAddr" value="" maxlength="50">
183 183
 												</div>
184 184
 											</div>
185 185
 										</div>
@@ -196,7 +196,7 @@
196 196
 											<label class="col-xs-2 itp_lb">오더퀸 매장코드</label>
197 197
 											<div class="col-xs-5 itp_ip">
198 198
 												<div class="col-xs-7 itp_in">
199
-													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_OQ_STORE_ID" class="form-control itp_input" name="oqStoreId" value="">
199
+													<input type="text" id="ITP_FORM_STINFO02010_DETAIL_OQ_STORE_ID" class="form-control itp_input" name="oqStoreId" value="" maxlength="20">
200 200
 												</div>
201 201
 											</div>
202 202
 										</div>
@@ -244,10 +244,10 @@
244 244
 														</select>
245 245
 													</div>
246 246
 													<div class="col-xs-4 itp_in">
247
-														<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CREATE_ACCT_NO" onKeyup="this.value=this.value.replace(/[^-0-9]/g,'');" class="form-control itp_input" name="acctNo" value="" placeholder="계좌번호">
247
+														<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CREATE_ACCT_NO" onKeyup="this.value=this.value.replace(/[^-0-9]/g,'');" class="form-control itp_input" name="acctNo" value="" placeholder="계좌번호" maxlength="20">
248 248
 													</div>
249 249
 													<div class="col-xs-3 itp_in">
250
-														<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CREATE_OWAC_NM" class="form-control itp_input" name="owacNm" value="" placeholder="예금주명">
250
+														<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CREATE_OWAC_NM" class="form-control itp_input" name="owacNm" value="" placeholder="예금주명" maxlength="40">
251 251
 													</div>
252 252
 												</div>
253 253
 												<label class="col-xs-2 itp_lb">오픈일</label>
@@ -269,7 +269,7 @@
269 269
 														</select>
270 270
 													</div>
271 271
 													<div class="col-xs-4 itp_in">
272
-														<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CREATE_LIMIT_AMT" class="form-control itp_input" name="limitAmt" data-key-up="comma" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" placeholder="후불한도금액">
272
+														<input type="text" id="ITP_FORM_STINFO02010_DETAIL_CREATE_LIMIT_AMT" class="form-control itp_input" name="limitAmt" data-key-up="comma" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" placeholder="후불한도금액" maxlength="20">
273 273
 													</div>
274 274
 												</div>
275 275
 												<label class="col-xs-2 itp_lb">재고관리사용여부</label>

+ 10 - 7
src/main/webapp/app/stinfo/STINFO07010.html

@@ -56,13 +56,15 @@
56 56
 						</div>
57 57
 					</div>
58 58
 				</div>
59
+				  
59 60
 				<div class="col-xs-6">
60
-				<div class="fix">
61
-					<div class="pull-right itp_cicon" style="margin-top: 4px;">
62
-		                <button type="button" id="ITP_BTN_STINFO07010_CLOSE" class="btn btn-danger btn-sm CLB">&nbsp;&nbsp;취소&nbsp;&nbsp;</button>									
63
-		                <button type="button" id="ITP_BTN_STINFO07010_DETAIL_SAVE" class="btn btn-primary btn-sm SAB" style="display: inline-block;">&nbsp;&nbsp;저장&nbsp;&nbsp;</button>
64
-		            </div>
65
-				</div>
61
+					<!--<div class="fix">
62
+						<div class="pull-right itp_cicon" style="margin-top: 4px;">
63
+			                <button type="button" id="ITP_BTN_STINFO07010_CLOSE" class="btn btn-danger btn-sm CLB">&nbsp;&nbsp;취소&nbsp;&nbsp;</button>									
64
+			                <button type="button" id="ITP_BTN_STINFO07010_DETAIL_SAVE" class="btn btn-primary btn-sm SAB" style="display: inline-block;">&nbsp;&nbsp;저장&nbsp;&nbsp;</button>
65
+			            </div>
66
+					</div>
67
+					-->
66 68
 				<!--<div id="ITP_AJAX_STINFO07010_DETAIL_CONTAINER">
67 69
 					<div class="itp_form itp_type1 fix">
68 70
 						    <form id="ITP_FORM_SITP_TAB_STINFO07010_DETAIL" class="form-horizontal">
@@ -120,7 +122,8 @@
120 122
 						        </section>								
121 123
 						    </form>
122 124
 					</div>
123
-				</div>-->
125
+				</div>
126
+				-->
124 127
 				</div>
125 128
 			</div>
126 129
 		</article>

+ 6 - 6
src/main/webapp/js/app/pomng/ITP_POMNG01010.js

@@ -41,15 +41,15 @@ const gridColModel = {
41 41
 		{
42 42
 			index: 'ITEM_ID', name: 'itemId',
43 43
 			label: ITP_MSG_LOCALE.label.itemId,
44
-			width: '20', fixed: false, align: 'center',
44
+			width: '18', fixed: false, align: 'center',
45 45
 			sortable: false, editable: false, edittype: 'text',
46 46
 			editrules: { required: true }
47 47
 		},
48 48
 		{
49 49
 			index: 'ITEM_NM', name: 'itemNm',
50 50
 			label: ITP_MSG_LOCALE.label.itemNm,
51
-			width: '30', fixed: false, align: 'left',
52
-			sortable: true, editable: false, edittype: 'text',
51
+			width: '32', fixed: false, align: 'left',
52
+			sortable: false, editable: false, edittype: 'text',
53 53
 			editrules: { required: true }
54 54
 		},
55 55
 		{
@@ -61,7 +61,7 @@ const gridColModel = {
61 61
 		{
62 62
 			index: 'UNIT_AMT', name: 'unitAmt',
63 63
 			label: ITP_MSG_LOCALE.label.unitAmt,
64
-			width: '10', fixed: false, align: 'right',
64
+			width: '6', fixed: false, align: 'right',
65 65
 			sortable: false, editable: false, edittype: 'text', hidden: false, 
66 66
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
67 67
 		},
@@ -71,13 +71,13 @@ const gridColModel = {
71 71
 			width: '10', fixed: false, align: 'right',
72 72
 			sortable: false, editable: true, edittype: 'text',
73 73
 			classes: 'input_color',
74
-			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');"}, 
74
+			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');", maxlength: 10}, 
75 75
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
76 76
 		},
77 77
 		{
78 78
 			index: 'PCH_REQ_AMT', name: 'pchReqAmt',
79 79
 			label: ITP_MSG_LOCALE.label.pchReqAmt,
80
-			width: '10', fixed: false, align: 'right',
80
+			width: '12', fixed: false, align: 'right',
81 81
 			sortable: false, editable: false, edittype: 'text', hidden: false, 
82 82
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
83 83
 		},

+ 6 - 9
src/main/webapp/js/app/pomng/ITP_POMNG02010.js

@@ -64,7 +64,7 @@ const gridColModel = {
64 64
 			label: ITP_MSG_LOCALE.label.brandNm, //브랜드명
65 65
 			width: '10', fixed: false, align: 'left',
66 66
 			minwidth: 120,
67
-			sortable: false, hidden: false
67
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
68 68
 		},
69 69
 		{
70 70
 			index: 'STORE_ID', name: 'storeId',
@@ -91,20 +91,18 @@ const gridColModel = {
91 91
 			label: ITP_MSG_LOCALE.label.pchReqNm, //구매요청명
92 92
 			width: '13', fixed: false, align: 'left',
93 93
 			minwidth: 200,
94
-			sortable: false, hidden: false
94
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
95 95
 		},
96 96
 		{
97 97
 			index: 'PCH_REQ_ST_CD', name: 'pchReqStCd',
98 98
 			label: ITP_MSG_LOCALE.label.pchReqStCd, //구매요청상태
99 99
 			width: '15', fixed: false, align: 'center',
100
-			minwidth: 10,
101 100
 			sortable: false, hidden: true
102 101
 		},
103 102
 		{
104 103
 			index: 'PCH_REQ_ST_NM', name: 'pchReqStNm',
105 104
 			label: ITP_MSG_LOCALE.label.pchReqStNm, //구매요청상태명
106
-			width: '6', fixed: false, align: 'center',
107
-			minwidth: 100,
105
+			width: '10', fixed: false, align: 'center',
108 106
 			sortable: false, hidden: false
109 107
 		},
110 108
 		{
@@ -137,14 +135,13 @@ const gridColModel = {
137 135
 		{
138 136
 			index: 'PCH_REQ_RJCT_NM', name: 'pchReqRjctNm',
139 137
 			label: ITP_MSG_LOCALE.label.pchReqRjctNm, //반려자
140
-			width: '10', fixed: false, align: 'left',
138
+			width: '10', fixed: false, align: 'center',
141 139
 			sortable: false, hidden: false
142 140
 		},
143 141
 		{
144 142
 			index: 'PCH_REQ_MGR_NM', name: 'pchReqMgrNm',
145 143
 			label: ITP_MSG_LOCALE.label.pchReqMgrNm, //구매요청자명
146
-			width: '10', fixed: false, align: 'left',
147
-			minwidth: 100,
144
+			width: '10', fixed: false, align: 'center',
148 145
 			sortable: false, hidden: false
149 146
 		},
150 147
 		{
@@ -159,7 +156,7 @@ const gridColModel = {
159 156
 			label: ITP_MSG_LOCALE.label.whsLocationNm, //납품창고
160 157
 			width: '10', fixed: false, align: 'left',
161 158
 			minwidth: 200,
162
-			sortable: false, hidden: false
159
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
163 160
 		}
164 161
 	],
165 162
 	detail: [

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

@@ -184,6 +184,7 @@ let pageObj = {
184 184
 		},
185 185
 		form: function() {
186 186
 			itp_fn_form_event.onKeyup('#ITP_FORM_STINFO02010_DETAIL');
187
+			itp_fn_form_event.onKeyup('#ITP_FORM_STINFO02010_SEARCH');
187 188
 		},
188 189
 		grid: function() {
189 190
 			//itp_fn_jqgrid_resize(STINFO02010_GRID_ID, STINFO02010_GRID_LIST, 'lg');

+ 3 - 3
src/main/webapp/js/app/stinfo/ITP_STINFO07010.js

@@ -128,7 +128,7 @@ let pageObj = {
128 128
 						case 'ITP_BTN_STINFO07010_NEWREG'			: listObj.popup(); 				break;	// 신규등록 버튼
129 129
 						case 'ITP_BTN_STINFO07010_MODIFY'			: modifyObj.button.modify();	break;	// 수정 버튼
130 130
 						case 'ITP_BTN_STINFO07010_CANCELLIST'		: createObj.button.cancel(); 	break;	// 취소/목록 버튼
131
-						case 'ITP_BTN_STINFO07010_DELETE'			: listObj.button.delete();		break;	// 삭제 버튼
131
+						case 'ITP_BTN_STINFO07010_DELETE'			: listObj.button.deleteObj();		break;	// 삭제 버튼
132 132
 						case 'ITP_BTN_STINFO07010_SAVE'				: createObj.button.save(); 		break;	// 저장 버튼
133 133
 					}
134 134
 				});
@@ -211,12 +211,11 @@ let listObj = {
211 211
 				createObj.init();
212 212
 			}
213 213
 		},
214
-		delete: function() {
214
+		deleteObj: function() {
215 215
 			var selectedIds = $(STINFO07010_GRID_ID).getGridParam('selarrrow');
216 216
 			if(selectedIds.length < 1) { // 1개만 선택
217 217
 				return;
218 218
 			}
219
-
220 219
 			var deleteFn = {
221 220
 				callBack: function(args) {
222 221
 					var itemClassMgntNos = '';
@@ -277,6 +276,7 @@ let listObj = {
277 276
 				url: DOMAIN + API_DETAIL_GRID_LIST,
278 277
 				pager: STINFO07010_GRID_PAGER,
279 278
 				multiselect: true,
279
+				rownumbers: false,
280 280
 				onCellSelect: function(rowId, cellIdx, cellValue) {
281 281
 					var cm = $(this).jqGrid('getGridParam', 'colModel');
282 282
 					var colNm = cm[cellIdx].name;