Sfoglia il codice sorgente

공급사 테스트 진행-2

yhl88 2 anni fa
parent
commit
760a66c311

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

@@ -44,7 +44,7 @@
44 44
 											<button type="button" id="ITP_BTN_COLLMNG01010_DELETE_WHS_NM" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
45 45
 						                </div>
46 46
 										<div class="col-xs-5 itp_ip itp_noMar">
47
-											<input type="text" id="ITP_FORM_COLLMNG01010_SEARCH_ITEM_NM" class="form-control itp_input" name="sItemNm" placeholder="발주번호/품목번호/품목명" />
47
+											<input type="text" id="ITP_FORM_COLLMNG01010_SEARCH_ITEM_NM" class="form-control itp_input" name="sitemNm" placeholder="발주번호/품목번호/품목명" />
48 48
 										</div>
49 49
 									</div>
50 50
 								</form>

+ 3 - 5
src/main/webapp/app/vendinfo/VENDINFO02010.html

@@ -17,13 +17,11 @@
17 17
 								<input type="hidden" id="ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID" name="sspplyId">
18 18
 								<input type="hidden" id="ITP_FORM_VENDINFO02010_SEARCH_BRAND_ID" name="sbrandId">
19 19
 									<div class="form-group">
20
+										<div class="col-xs-2 itp_ip itp_noMar"></div>
20 21
 										<div class="col-xs-2 itp_ip itp_noMar">
21
-											<input type="text" id="ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체 선택" data-check-required="empty" readonly/>
22
-										</div>
23
-										<div class="col-xs-2 itp_ip itp_noMar">
24
-											<!-- <select id="ITP_FORM_VENDINFO02010_SERVICE_ST_CD" data-select-code="ST_CD" class="form-control itp_input" name="sitemStCd">
22
+											<select id="ITP_FORM_VENDINFO02010_SEARCH_ITEM_ST_CD" data-select-code="ITEM_ST_CD" class="form-control itp_input" name="sitemStCd">
25 23
 												<option value="N"></option>
26
-											</select>	 -->									
24
+											</select>										
27 25
 										</div>
28 26
 										<div class="col-xs-2 itp_ip itp_noMar">
29 27
 											<select id="ITP_FORM_VENDINFO02010_SEARCH_PODR_PSSBL_DVSN" data-select-code="PODR_PSSBL_DVSN" class="form-control itp_input" name="spodrPssblDvsn">

+ 21 - 43
src/main/webapp/js/app/collmng/ITP_COLLMNG01010.js

@@ -35,7 +35,7 @@ const gridColModel = {
35 35
 		{
36 36
 			index: 'BRAND_NM', name: 'brandNm',
37 37
 			label: ITP_MSG_LOCALE.label.brandNm, 			// 브랜드명
38
-			width: '10', fixed: false, align: 'center',
38
+			width: '10', fixed: false, align: 'left',
39 39
 			sortable: false, hidden: false
40 40
 		},
41 41
 		{
@@ -47,7 +47,7 @@ const gridColModel = {
47 47
 		{
48 48
 			index: 'RTN_ODR_STNM', name: 'rtnOdrStNm',
49 49
 			label: ITP_MSG_LOCALE.label.rtnOdrStNm, 		// 번품발주상태명
50
-			width: '8', fixed: false, align: 'center',
50
+			width: '8', fixed: false, align: 'left',
51 51
 			sortable: false, hidden: false
52 52
 		},
53 53
 		{
@@ -65,7 +65,7 @@ const gridColModel = {
65 65
 		{
66 66
 			index: 'RTN_WHS_NM', name: 'rtnWhsNm',
67 67
 			label: ITP_MSG_LOCALE.label.rtnWhsNm, 			// 수거장소
68
-			width: '10', fixed: false, align: 'center',
68
+			width: '10', fixed: false, align: 'left',
69 69
 			sortable: false, hidden: false
70 70
 		},
71 71
 		{
@@ -78,13 +78,13 @@ const gridColModel = {
78 78
 		{
79 79
 			index: 'RTN_DODR_ITEM_QTY', name: 'rtnDodrItemQty',
80 80
 			label: ITP_MSG_LOCALE.label.rtnDodrItemQty, 	// 수거품목수
81
-			width: '6', fixed: false, align: 'center',
81
+			width: '6', fixed: false, align: 'right',
82 82
 			sortable: false, hidden: false
83 83
 		},
84 84
 		{
85 85
 			index: 'RTN_MGR_NM', name: 'rtnMgrNm',
86 86
 			label: ITP_MSG_LOCALE.label.rtnMgrNm, 			// 수거 담당자
87
-			width: '7', fixed: false, align: 'center',
87
+			width: '7', fixed: false, align: 'left',
88 88
 			sortable: false, hidden: false
89 89
 		}
90 90
 	],
@@ -93,48 +93,50 @@ const gridColModel = {
93 93
 		{
94 94
 			index: 'RTN_PODR_DTL_NO', name: 'rtnPodrDtlNo',
95 95
 			label: ITP_MSG_LOCALE.label.rtnPodrDtlNo, 		// 반품발주항번
96
-			width: '10', fixed: false, align: 'center',
96
+			width: '8', fixed: false, align: 'center',
97 97
 			sortable: false, hidden: false
98 98
 		},
99 99
 		{
100 100
 			index: 'ITEM_ID', name: 'itemId',
101 101
 			label: ITP_MSG_LOCALE.label.itemId, 			// 품목번호
102
-			width: '10', fixed: false, align: 'center',
102
+			width: '12', fixed: false, align: 'center',
103 103
 			sortable: false, hidden: false
104 104
 		},
105 105
 		{
106 106
 			index: 'ITEM_NM', name: 'itemNm',
107 107
 			label: ITP_MSG_LOCALE.label.itemNm, 			// 품목명
108
-			width: '10', fixed: false, align: 'center',
108
+			width: '8', fixed: false, align: 'left',
109 109
 			sortable: false, hidden: false
110 110
 		},
111 111
 		{
112 112
 			index: 'UNIT_AMT', name: 'unitAmt',
113 113
 			label: ITP_MSG_LOCALE.label.unitAmt, 			// 단가
114
-			width: '10', fixed: false, align: 'center',
115
-			sortable: false, hidden: false
114
+			width: '5', fixed: false, align: 'right',
115
+			sortable: false, hidden: false,
116
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
116 117
 		},
117 118
 		{
118 119
 			index: 'UNIT', name: 'unit',
119 120
 			label: ITP_MSG_LOCALE.label.unit, 				// 기본단위
120
-			width: '10', fixed: false, align: 'center',
121
+			width: '7', fixed: false, align: 'center',
121 122
 			sortable: false, hidden: false
122 123
 		},
123 124
 		{
124 125
 			index: 'RTN_REQ_QTY', name: 'rtnReqQty',
125 126
 			label: ITP_MSG_LOCALE.label.rtnReqQty, 			// 수거수량
126
-			width: '10', fixed: false, align: 'center',
127
+			width: '5', fixed: false, align: 'right',
127 128
 			sortable: false, hidden: false
128 129
 		},
129 130
 		{
130 131
 			index: 'RTN_AMT', name: 'rtnAmt',
131 132
 			label: ITP_MSG_LOCALE.label.rtnAmt, 			// 수거금액
132
-			width: '10', fixed: false, align: 'center',
133
-			sortable: false, hidden: false
133
+			width: '5', fixed: false, align: 'right',
134
+			sortable: false, hidden: false,
135
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
134 136
 		},
135 137
 		{
136 138
 			index: 'COL_REQ_DT', name: 'colReqDt',
137
-			label: ITP_MSG_LOCALE.label.colReqDt, 			// 반품발주항번
139
+			label: ITP_MSG_LOCALE.label.colReqDt, 			// 수거요청일
138 140
 			width: '10', fixed: false, align: 'center',
139 141
 			sortable: false, hidden: false
140 142
 		}
@@ -173,7 +175,6 @@ let pageObj = {
173 175
 		},
174 176
 		grid: function() {
175 177
 			itp_fn_jqgrid_resize(COLLMNG01010_GRID_ID, COLLMNG01010_GRID_LIST, 'lg');
176
-			listObj.empty.init();
177 178
 			itp_fn_fire_window_resize();
178 179
 		},
179 180
 		ready: function() {
@@ -278,39 +279,23 @@ let listObj = {
278 279
 			let param = $('#ITP_FORM_COLLMNG01010_SEARCH').serializeObject();
279 280
 			param.gridSize = $.jgrid.defaults.rowNum;
280 281
             param.gridPage = $.jgrid.defaults.page;
281
-            //param.sbrandId = 'BRD221100002';            
282
-            //param.sspplyId = 'SPY221100004';
283
-            console.log(JSON.stringify(param));
284 282
             $(COLLMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
285 283
         }
286 284
 	},
287 285
 	empty: {
288 286
 		init: function() {
289
-            var _this = this;
290
-            this.push();
291
-            $(COLLMNG01010_GRID_EMPTY).on('click', function() {
292
-                _this.back();
293
-                listObj.itp_COLLMNG01010_param.gridSize = $.jgrid.defaults.rowNum;
294
-                $(COLLMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(listObj.itp_COLLMNG01010_param)}).trigger('reloadGrid');
295
-            });
287
+           
296 288
         },
297 289
         push: function() {
298
-            let param = $('#ITP_FORM_COLLMNG01010_SEARCH').serializeObject();
299
-            listObj.itp_COLLMNG01010_param = param;
300
-            //listObj.itp_COLLMNG01010_param.sbrandId = 'BRD221100002';            
301
-            //listObj.itp_COLLMNG01010_param.sspplyId = 'SPY221100004';
290
+          
302 291
         },
303 292
         back: function() {
304
-            $('#ITP_FORM_COLLMNG01010_SERVICE_BRAND_TYPE').val(listObj.itp_COLLMNG01010_param.brandType);
305
-            $('#ITP_FORM_COLLMNG01010_SERVICE_ST_CD').val(listObj.itp_COLLMNG01010_param.stCd);
306
-            $('#ITP_FORM_COLLMNG01010_SEARCH_BRAND_NM').val(listObj.itp_COLLMNG01010_param.brandNm);
307
-        	console.log(listObj.itp_COLLMNG01010_param);            
293
+          
308 294
         }
309 295
 	},
310 296
 	grid: {
311 297
 		init: function() {
312 298
 			// 데이터 없을때
313
-            listObj.empty.push();
314 299
             this.search();
315 300
 		},
316 301
 		colModel: gridColModel.list,
@@ -322,9 +307,6 @@ let listObj = {
322 307
 		load: function() {
323 308
             let param = $('#ITP_FORM_COLLMNG01010_SEARCH').serializeObject();
324 309
             param.gridSize = $.jgrid.defaults.rowNum;
325
-            //param.sbrandId = 'BRD221100002';            
326
-            //param.sspplyId = 'SPY221100004';
327
-            console.log(JSON.stringify(param));
328 310
             var option = {
329 311
             	gridId: COLLMNG01010_GRID_ID,
330 312
             	colModel: gridColModel.list,
@@ -344,7 +326,6 @@ let listObj = {
344 326
                     }
345 327
 				},
346 328
 				loadComplete: function(data) {
347
-					console.log(data);
348 329
                     itp_fn_grid_load_complete(data, COLLMNG01010_GRID_ID, true, 'number', 'COLLMNG01010', listObj.itp_COLLMNG01010_search, listObj.empty, true, data.gridRecords, true);
349 330
                     var ids = $(COLLMNG01010_GRID_ID).getDataIDs();
350 331
                     $.each(ids, function(idx, rowId) {
@@ -431,9 +412,7 @@ let viewObj = {
431 412
 	load: function(param) {
432 413
 		fn_ajax_call(API_RTNMNG_RTN_INFO_INFO_RTNODR, param, this.callback, 'GET');
433 414
 	},
434
-	callback: function(result) {
435
-		console.log(result);
436
-		
415
+	callback: function(result) {		
437 416
 		pageObj.switchScreen('MODIFY');
438 417
 		$('#ITP_FORM_COLLMNG01010_DETAIL .fnBrandNm').text(result.brandNm);							// 브랜드명
439 418
 		$('#ITP_FORM_COLLMNG01010_DETAIL .fnRtnPodrUnqNo').text(result.rtnPodrUnqNo);				// 발주번호
@@ -469,7 +448,6 @@ let viewObj = {
469 448
 				data: gridData,
470 449
 				multiselect: true,
471 450
 				loadComplete: function(data) {
472
-					console.log(data);
473 451
 					itp_fn_grid_load_complete(data, COLLMNG01010_DETAIL_GRID_ID, true, 'number', 'COLLMNG01010', viewObj.itp_COLLMNG01010_search, viewObj.empty, true, data.gridRecords, true);
474 452
 				}
475 453
 			};

+ 5 - 18
src/main/webapp/js/app/collmng/ITP_COLLMNG02010.js

@@ -48,7 +48,7 @@ const gridColModel = {
48 48
 		{
49 49
 			index: 'BRAND_NM', name: 'brandNm',
50 50
 			label: ITP_MSG_LOCALE.label.brandNm, //브랜드명
51
-			width: '10', fixed: false, align: 'center',
51
+			width: '10', fixed: false, align: 'left',
52 52
 			sortable: false, hidden: false
53 53
 		},
54 54
 		{
@@ -172,7 +172,7 @@ const gridColModel = {
172 172
 		{
173 173
 			index: 'RTN_RSN_DVSN_NM', name: 'rtnRsnDvsnNm',
174 174
 			label: ITP_MSG_LOCALE.label.rtnRsnDvsnNm, //반품사유
175
-			width: '10', fixed: false, align: 'center',
175
+			width: '10', fixed: false, align: 'left',
176 176
 			sortable: false, hidden: false
177 177
 		},
178 178
 		{
@@ -230,7 +230,6 @@ let pageObj = {
230 230
 		},
231 231
 		grid: function() {
232 232
 			itp_fn_jqgrid_resize(COLLMNG02010_GRID_ID, COLLMNG02010_GRID_LIST, 'lg');
233
-			listObj.empty.init();
234 233
 			itp_fn_fire_window_resize();
235 234
 		},
236 235
 		ready: function() {
@@ -404,31 +403,19 @@ let listObj = {
404 403
 	},
405 404
 	empty: {
406 405
 		init: function() {
407
-			var _this = this;
408
-			this.push();
409
-			$(COLLMNG02010_GRID_EMPTY).on('click', function() {
410
-				_this.back();
411
-				_this.itp_COLLMNG02010_param.gridSize = $.jgrid.defaults.rowNum;
412
-				$(COLLMNG02010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_COLLMNG02010_param)}).trigger('reloadGrid');
413
-			});
406
+		
414 407
 		},
415 408
 		itp_COLLMNG02010_param: {},
416 409
 		push: function() {
417
-			let param = $('#ITP_FORM_COLLMNG02010_SEARCH').serializeObject();
418
-			listObj.itp_COLLMNG02010_param = param;
410
+			
419 411
 		},
420 412
 		back: function() {
421
-			$('#ITP_FORM_COLLMNG02010_SEARCH_FROM_DT').val(this.itp_COLLMNG02010_param.fromDt);
422
-			$('#ITP_FORM_COLLMNG02010_SEARCH_TO_DT').val(this.itp_COLLMNG02010_param.toDt);
423
-			$('#ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_NM').val(this.itp_COLLMNG02010_param.ssrtnWhsNm);
424
-			$('#ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_ID').val(this.itp_COLLMNG02010_param.ssrtnWhsId);
425
-			$('#ITP_FORM_COLLMNG02010_SEARCH_ITEM_NM').val(this.itp_COLLMNG02010_param.sItemNm);
413
+			
426 414
 		}
427 415
 	},
428 416
 	grid: {
429 417
 		init: function () {
430 418
 			// 데이터 없을때
431
-			listObj.empty.push();
432 419
 			itp_fn_jqgrid_resize(COLLMNG02010_GRID_ID, COLLMNG02010_GRID_LIST, 'lg');
433 420
 			itp_fn_fire_window_resize();
434 421
 			this.search();

+ 10 - 38
src/main/webapp/js/app/collmng/ITP_COLLMNG03010.js

@@ -35,7 +35,7 @@ const gridColModel = {
35 35
 		{
36 36
 			index: 'BRAND_NM', name: 'brandNm',
37 37
 			label: ITP_MSG_LOCALE.label.brandNm,			// 브랜드명
38
-			width: '10', fixed: false, align: 'center',
38
+			width: '10', fixed: false, align: 'left',
39 39
 			sortable: false, hidden: false
40 40
 		},
41 41
 		{
@@ -47,7 +47,7 @@ const gridColModel = {
47 47
 		{
48 48
 			index: 'PICK_ST_NM', name: 'pickStNm',
49 49
 			label: ITP_MSG_LOCALE.label.pickStNm,			// 수거서상태
50
-			width: '6', fixed: false, align: 'center',
50
+			width: '6', fixed: false, align: 'left',
51 51
 			sortable: false, hidden: false
52 52
 		},
53 53
 		{
@@ -77,13 +77,13 @@ const gridColModel = {
77 77
 		{
78 78
 			index: 'ITEM_NM', name: 'itemNm',
79 79
 			label: ITP_MSG_LOCALE.label.itemNm,				// 품목명
80
-			width: '8', fixed: false, align: 'center',
80
+			width: '8', fixed: false, align: 'left',
81 81
 			sortable: false, hidden: false
82 82
 		},
83 83
 		{
84 84
 			index: 'COL_REQ_QTY', name: 'colReqQty',
85 85
 			label: ITP_MSG_LOCALE.label.colReqQty,			// 수거수량
86
-			width: '5', fixed: false, align: 'center',
86
+			width: '5', fixed: false, align: 'right',
87 87
 			sortable: false, hidden: false
88 88
 		},		
89 89
 		{
@@ -109,13 +109,13 @@ const gridColModel = {
109 109
 		{
110 110
 			index: 'WHS_NM', name: 'whsNm',
111 111
 			label: ITP_MSG_LOCALE.label.whsNm,				// 납품장소
112
-			width: '10', fixed: false, align: 'center',
112
+			width: '10', fixed: false, align: 'left',
113 113
 			sortable: false, hidden: false
114 114
 		},
115 115
 		{
116 116
 			index: 'PICK_MGR_NM', name: 'pickMgrNm',
117 117
 			label: ITP_MSG_LOCALE.label.pickMgrNm,			// 수거담당자
118
-			width: '10', fixed: false, align: 'center',
118
+			width: '10', fixed: false, align: 'left',
119 119
 			sortable: false, hidden: false
120 120
 		},
121 121
 		{
@@ -163,7 +163,6 @@ let pageObj = {
163 163
 		},
164 164
 		grid: function() {
165 165
 			itp_fn_jqgrid_resize(COLLMNG03010_GRID_ID, COLLMNG03010_GRID_LIST, 'lg');
166
-			listObj.empty.init();
167 166
 			itp_fn_fire_window_resize();
168 167
 		},
169 168
 		ready: function() {
@@ -229,7 +228,6 @@ let pageObj = {
229 228
 			selRowData = $(COLLMNG03010_GRID_ID).jqGrid('getRowData', selectedIds[i]);		//cell 선택
230 229
 		}
231 230
 		const key = {brandId: selRowData.brandId, colPickUnqNo: selRowData.colPickUnqNo};		// popup key 값 설정
232
-		console.log(key);
233 231
 		fn_call_popup('biz', 'BIZPOP_COL_STTMT_PRN', '#ITP_ASIDE', null, key, 'S');
234 232
 	}
235 233
 };
@@ -249,35 +247,23 @@ let listObj = {
249 247
 			let param = $('#ITP_FORM_COLLMNG03010_SEARCH').serializeObject();
250 248
 			param.gridSize = $.jgrid.defaults.rowNum;
251 249
             param.gridPage = $.jgrid.defaults.page;
252
-            console.log(1234);
253
-            console.log(JSON.stringify(param));
254 250
             $(COLLMNG03010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
255 251
         }
256 252
 	},
257 253
 	empty: {
258 254
 		init: function() {
259
-			var _this = this;
260
-            this.push();
261
-            $(COLLMNG03010_GRID_EMPTY).on('click', function() {
262
-                _this.back();
263
-                listObj.itp_COLLMNG03010_param.gridSize = $.jgrid.defaults.rowNum;
264
-                $(COLLMNG03010_GRID_ID).setGridParam({'postData': JSON.stringify(listObj.itp_COLLMNG03010_param)}).trigger('reloadGrid');
265
-            });
255
+			
266 256
 		},
267 257
 		push: function() {
268
-            let param = $('#ITP_FORM_COLLMNG03010_SEARCH').serializeObject();
269
-            listObj.itp_COLLMNG03010_param = param;
258
+           
270 259
         },
271 260
         back: function() {
272
-            $('#ITP_FORM_COLLMNG03010_SERVICE_BRAND_TYPE').val(listObj.itp_COLLMNG03010_param.brandType);
273
-            $('#ITP_FORM_COLLMNG03010_SERVICE_ST_CD').val(listObj.itp_COLLMNG03010_param.stCd);
274
-            $('#ITP_FORM_COLLMNG03010_SEARCH_BRAND_NM').val(listObj.itp_COLLMNG03010_param.brandNm);
261
+           
275 262
         }
276 263
 	},
277 264
 	grid: {
278 265
 		init: function() {
279 266
 			// 데이터 없을때
280
-            listObj.empty.push();
281 267
             this.search();
282 268
 		},
283 269
 		colModel: gridColModel.list,
@@ -289,7 +275,6 @@ let listObj = {
289 275
 		load: function() {
290 276
             let param = $('#ITP_FORM_COLLMNG03010_SEARCH').serializeObject();
291 277
             param.gridSize = $.jgrid.defaults.rowNum;
292
-            console.log(JSON.stringify(param));
293 278
             var option = {
294 279
             	gridId: COLLMNG03010_GRID_ID,
295 280
             	colModel: gridColModel.list,
@@ -298,20 +283,8 @@ let listObj = {
298 283
             	pager: COLLMNG03010_GRID_PAGER,
299 284
             	multiselect: true,
300 285
 				multiboxonly : false,
301
-				rownumbers: false,/*
302
-            	onCellSelect: function(rowId, cellIdx, cellValue) {
303
-                    var cm = $(this).jqGrid('getGridParam', 'colModel');
304
-                    var colNm = cm[cellIdx].name;
305
-                    if (colNm === 'pchPodrUnqNo') {
306
-                        const pchPodrUnqNoVal = $(this).jqGrid('getCell', rowId, 'pchPodrUnqNo');
307
-                        const brandIdVal = $(this).jqGrid('getCell', rowId, 'brandId');
308
-                        const key = {pchPodrUnqNo: pchPodrUnqNoVal, brandId: brandIdVal};
309
-                        var param = $.param(key);
310
-                        modifyObj.init(param);
311
-                    }
312
-				},*/
286
+				rownumbers: false,
313 287
 				loadComplete: function(data) {
314
-					console.log(data);
315 288
                     itp_fn_grid_load_complete(data, COLLMNG03010_GRID_ID, true, 'number', 'COLLMNG03010', listObj.itp_COLLMNG03010_search, listObj.empty, true, data.gridRecords, true);
316 289
 				},
317 290
 				onPaging: function(action) {
@@ -350,7 +323,6 @@ let listObj = {
350 323
 	},
351 324
 	callback: {
352 325
 		create: function(rowDataPop) {
353
-			console.log(rowDataPop);
354 326
 			$('#ITP_FORM_COLLMNG03010_SEARCH_WHS_ID').val(rowDataPop.whsId);
355 327
 			$('#ITP_FORM_COLLMNG03010_SEARCH_WHS_NM').val(rowDataPop.whsNm);
356 328
 		}

+ 8 - 17
src/main/webapp/js/app/ordmng/ITP_ORDMNG01010.js

@@ -49,7 +49,7 @@ const gridColModel = {
49 49
 		{
50 50
 			index: 'BRAND_NM', name: 'brandNm',
51 51
 			label: ITP_MSG_LOCALE.label.brandNm, 		// 브랜드명
52
-			width: '7', fixed: false, align: 'center',
52
+			width: '7', fixed: false, align: 'left',
53 53
 			sortable: false, hidden: false
54 54
 		},
55 55
 		{
@@ -61,7 +61,7 @@ const gridColModel = {
61 61
 		{
62 62
 			index: 'PCH_ORD_ST_CD', name: 'pchOdrStCd',
63 63
 			label: ITP_MSG_LOCALE.label.pchOdrStNm, 	// 발주상태
64
-			width: '5', fixed: false, align: 'center',
64
+			width: '5', fixed: false, align: 'left',
65 65
 			sortable: false, formatter: 'select',
66 66
 			editoptions: {value: ITP_COMMON_PCH_ODR_ST_CD}
67 67
 		},
@@ -80,7 +80,7 @@ const gridColModel = {
80 80
 		{
81 81
 			index: 'WHS_NM', name: 'whsNm',
82 82
 			label: ITP_MSG_LOCALE.label.whsNm, 			// 납품장소
83
-			width: '10', fixed: false, align: 'center',
83
+			width: '10', fixed: false, align: 'left',
84 84
 			sortable: false, hidden: false
85 85
 		},
86 86
 		{
@@ -93,7 +93,7 @@ const gridColModel = {
93 93
 		{
94 94
 			index: 'SPPLY_ITME_ID', name: 'podrItemQty',
95 95
 			label: ITP_MSG_LOCALE.label.podrItemQty, 	// 발주품목수
96
-			width: '4', fixed: false, align: 'center',
96
+			width: '4', fixed: false, align: 'right',
97 97
 			sortable: false, hidden: false
98 98
 		},
99 99
 		{
@@ -119,13 +119,13 @@ const gridColModel = {
119 119
 		{
120 120
 			index: 'ITEM_NM', name: 'itemNm',
121 121
 			label: ITP_MSG_LOCALE.label.itemNm, 		// 품목명
122
-			width: '8', fixed: false, align: 'center',
122
+			width: '8', fixed: false, align: 'left',
123 123
 			sortable: false, hidden: false
124 124
 		},
125 125
 		{
126 126
 			index: 'UNIT_AMT', name: 'unitAmt',
127 127
 			label: ITP_MSG_LOCALE.label.unitAmt, 		// 단가
128
-			width: '8', fixed: false, align: 'center',
128
+			width: '8', fixed: false, align: 'right',
129 129
 			sortable: false, hidden: false,
130 130
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
131 131
 		},
@@ -138,13 +138,13 @@ const gridColModel = {
138 138
 		{
139 139
 			index: 'PODR_QTY', name: 'podrQty',
140 140
 			label: ITP_MSG_LOCALE.label.podrQty, 		// 발주수량
141
-			width: '8', fixed: false, align: 'center',
141
+			width: '8', fixed: false, align: 'right',
142 142
 			sortable: false, hidden: false
143 143
 		},
144 144
 		{
145 145
 			index: 'PODR_AMT', name: 'podrAmt',
146 146
 			label: ITP_MSG_LOCALE.label.podrAmt, 		// 발주금액
147
-			width: '8', fixed: false, align: 'center',
147
+			width: '8', fixed: false, align: 'right',
148 148
 			sortable: false, hidden: false,
149 149
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
150 150
 		}
@@ -294,9 +294,7 @@ let listObj = {
294 294
 			let param = $('#ITP_FORM_ORDMNG01010_SEARCH').serializeObject();
295 295
 			param.gridSize = $.jgrid.defaults.rowNum;
296 296
             param.gridPage = $.jgrid.defaults.page;
297
-            //param.sspplyId = LOGIN_USER_INFO.spplyId;
298 297
             param.sidx = '0';
299
-            console.log(JSON.stringify(param));
300 298
             $(ORDMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
301 299
         }
302 300
 	},
@@ -311,7 +309,6 @@ let listObj = {
311 309
 	grid: {
312 310
 		init: function() {
313 311
 			// 데이터 없을때
314
-            //listObj.empty.push();
315 312
             this.search();
316 313
 		},
317 314
 		colModel: gridColModel.list,
@@ -323,9 +320,7 @@ let listObj = {
323 320
 		load: function() {
324 321
             let param = $('#ITP_FORM_ORDMNG01010_SEARCH').serializeObject();
325 322
             param.gridSize = $.jgrid.defaults.rowNum;
326
-            //param.sspplyId = LOGIN_USER_INFO.spplyId;
327 323
             param.sidx = '0';
328
-            console.log(JSON.stringify(param));
329 324
             var option = {
330 325
             	gridId: ORDMNG01010_GRID_ID,
331 326
             	colModel: gridColModel.list,
@@ -345,7 +340,6 @@ let listObj = {
345 340
                     }
346 341
 				},
347 342
 				loadComplete: function(data) {
348
-					console.log(data);
349 343
                     itp_fn_grid_load_complete(data, ORDMNG01010_GRID_ID, true, 'number', 'ORDMNG01010', listObj.itp_ORDMNG01010_search, listObj.empty, true, data.gridRecords, true);
350 344
                     var ids = $(ORDMNG01010_GRID_ID).getDataIDs();
351 345
                     $.each(ids, function(idx, rowId) {
@@ -432,8 +426,6 @@ let viewObj = {
432 426
 		fn_ajax_call(API_POMNG_PO_INFO_SPPLY_PCHORD, param, this.callback, 'GET');
433 427
 	},
434 428
 	callback: function(result) {
435
-		console.log(result);
436
-
437 429
 		// 그리드 전화번호 '-' 함수
438 430
 		function convertTel(value){
439 431
 			answer = (value.startsWith('0')) ? value.replace(/[^0-9]/g, "")
@@ -476,7 +468,6 @@ let viewObj = {
476 468
 				data: gridData,
477 469
 				multiselect: true,
478 470
 				loadComplete: function(data) {
479
-					console.log(data);
480 471
 					itp_fn_grid_load_complete(data, ORDMNG01010_VIEW_GRID_ID, true, 'number', 'ORDMNG01010', viewObj.itp_ORDMNG01010_search, viewObj.empty, true, data.gridRecords, true);
481 472
 				}
482 473
 			};

+ 10 - 28
src/main/webapp/js/app/ordmng/ITP_ORDMNG02010.js

@@ -48,7 +48,7 @@ const gridColModel = {
48 48
 		{
49 49
 			index: 'BRAND_NM', name: 'brandNm',
50 50
 			label: ITP_MSG_LOCALE.label.brandNm, 			//브랜드명
51
-			width: '6', fixed: false, align: 'center',
51
+			width: '6', fixed: false, align: 'left',
52 52
 			sortable: false, hidden: false
53 53
 		},
54 54
 		{
@@ -72,7 +72,7 @@ const gridColModel = {
72 72
 		{
73 73
 			index: 'WHS_NM', name: 'whsNm',
74 74
 			label: ITP_MSG_LOCALE.label.whsNm, 				//납품장소
75
-			width: '11', fixed: false, align: 'center',
75
+			width: '11', fixed: false, align: 'left',
76 76
 			sortable: false, hidden: false
77 77
 		},
78 78
 		{
@@ -84,13 +84,13 @@ const gridColModel = {
84 84
 		{
85 85
 			index: 'ITEM_NM', name: 'itemNm',
86 86
 			label: ITP_MSG_LOCALE.label.itemNm, 			//품목명
87
-			width: '6', fixed: false, align: 'center',
87
+			width: '6', fixed: false, align: 'left',
88 88
 			sortable: false, hidden: false
89 89
 		},
90 90
 		{
91 91
 			index: 'PODR_QTY', name: 'podrQty',
92 92
 			label: ITP_MSG_LOCALE.label.podrQty, 			//발주수량
93
-			width: '4', fixed: false, align: 'center',
93
+			width: '4', fixed: false, align: 'right',
94 94
 			sortable: false, hidden: false
95 95
 		},
96 96
 		{
@@ -148,7 +148,6 @@ let pageObj = {
148 148
 		},
149 149
 		grid: function() {
150 150
 			itp_fn_jqgrid_resize(ORDMNG02010_GRID_ID, ORDMNG02010_GRID_LIST, 'lg');
151
-			listObj.empty.init();
152 151
 			itp_fn_fire_window_resize();
153 152
 		},
154 153
 		ready: function() {
@@ -229,7 +228,6 @@ let listObj = {
229 228
 			let param = $('#ITP_FORM_ORDMNG02010_SEARCH').serializeObject();
230 229
 			param.gridSize = $.jgrid.defaults.rowNum;
231 230
             param.gridPage = $.jgrid.defaults.page;
232
-            console.log(JSON.stringify(param));
233 231
             $(ORDMNG02010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
234 232
         },
235 233
         create: function() {
@@ -251,28 +249,18 @@ let listObj = {
251 249
 	},
252 250
 	empty: {
253 251
 		init: function() {
254
-			var _this = this;
255
-            this.push();
256
-            $(ORDMNG02010_GRID_EMPTY).on('click', function() {
257
-                _this.back();
258
-                listObj.itp_ORDMNG02010_param.gridSize = $.jgrid.defaults.rowNum;
259
-                $(ORDMNG02010_GRID_ID).setGridParam({'postData': JSON.stringify(listObj.itp_ORDMNG02010_param)}).trigger('reloadGrid');
260
-            });
252
+			
261 253
 		},
262 254
 		push: function() {
263
-            let param = $('#ITP_FORM_ORDMNG02010_SEARCH').serializeObject();
264
-            listObj.itp_ORDMNG02010_param = param;
255
+         
265 256
         },
266 257
         back: function() {
267
-            $('#ITP_FORM_ORDMNG02010_SERVICE_BRAND_TYPE').val(listObj.itp_ORDMNG02010_param.brandType);
268
-            $('#ITP_FORM_ORDMNG02010_SERVICE_ST_CD').val(listObj.itp_ORDMNG02010_param.stCd);
269
-            $('#ITP_FORM_ORDMNG02010_SEARCH_BRAND_NM').val(listObj.itp_ORDMNG02010_param.brandNm);
258
+       
270 259
         }
271 260
 	},
272 261
 	grid: {
273 262
 		init: function() {
274 263
 			// 데이터 없을때
275
-            listObj.empty.push();
276 264
             this.search();
277 265
 		},
278 266
 		colModel: gridColModel.list,
@@ -284,7 +272,6 @@ let listObj = {
284 272
 		load: function() {
285 273
             let param = $('#ITP_FORM_ORDMNG02010_SEARCH').serializeObject();
286 274
             param.gridSize = $.jgrid.defaults.rowNum;
287
-            console.log(JSON.stringify(param));
288 275
             var option = {
289 276
             	gridId: ORDMNG02010_GRID_ID,
290 277
             	colModel: gridColModel.list,
@@ -295,7 +282,6 @@ let listObj = {
295 282
 				multiboxonly : false,
296 283
 				rownumbers: false,
297 284
 				loadComplete: function(data) {
298
-					console.log(data);
299 285
                     itp_fn_grid_load_complete(data, ORDMNG02010_GRID_ID, true, 'number', 'ORDMNG02010', listObj.itp_ORDMNG02010_search, listObj.empty, true, data.gridRecords, true);
300 286
 				},
301 287
 				onPaging: function(action) {
@@ -334,7 +320,6 @@ let listObj = {
334 320
 	},
335 321
 	callback: {
336 322
 		create: function(rowDataPop) {
337
-			console.log(rowDataPop);
338 323
 			$('#ITP_FORM_ORDMNG02010_SEARCH_WHS_ID').val(rowDataPop.whsId);
339 324
 			$('#ITP_FORM_ORDMNG02010_SEARCH_WHS_NM').val(rowDataPop.whsNm);
340 325
 		}
@@ -371,7 +356,6 @@ let modifyObj = {
371 356
 			var modalFn = {
372 357
 				callBack: (args) => {
373 358
 					param.gridInsertData = rowData;
374
-					console.log(param);
375 359
 					var searhFn = function () {
376 360
 						ITP_FORM_OPER03010_DETAIL_IS_WRITING = false;
377 361
 						listObj.grid.search();
@@ -427,7 +411,6 @@ let modifyObj = {
427 411
 		fn_ajax_call(API_POMNG_INOUTMNG_INIT_SPPLY_INV, param, this.callback, 'GET');
428 412
 	},
429 413
 	callback: function(result) {
430
-		console.log(result);
431 414
 		pageObj.switchScreen('MODIFY');
432 415
 		$('#ITP_FORM_ORDMNG02010_DETAIL .fnBrandNm').text(result.brandNm);										// 브랜드
433 416
 		$('#ITP_FORM_ORDMNG02010_DETAIL .fnPchPodrUnqNo').text(result.invPoInfoList[0].pchPodrUnqNo);			// 발주번호		
@@ -510,7 +493,7 @@ let modifyObj = {
510 493
 					{
511 494
 						index: 'ITEM_NM', name: 'itemNm',
512 495
 						label: ITP_MSG_LOCALE.label.itemNm,  			//품목명
513
-						width: '10', fixed: false, align: 'center',
496
+						width: '10', fixed: false, align: 'left',
514 497
 						sortable: false, hidden: false, edittype: 'text',
515 498
 						editable: false
516 499
 					},
@@ -531,14 +514,14 @@ let modifyObj = {
531 514
 					{
532 515
 						index: 'PODR_QTY', name: 'podrQty',
533 516
 						label: ITP_MSG_LOCALE.label.podrQty,  			//발주수량
534
-						width: '8', fixed: false, align: 'center',
517
+						width: '8', fixed: false, align: 'right',
535 518
 						sortable: false, hidden: false, edittype: 'text',
536 519
 						editable: false
537 520
 					},
538 521
 					{
539 522
 						index: 'SHMT_QTY', name: 'shmtQty',
540 523
 						label: ITP_MSG_LOCALE.label.shmtQty, 	 		//출하수량
541
-						width: '8', fixed: false, align: 'center',
524
+						width: '8', fixed: false, align: 'right',
542 525
 						sortable: false, hidden: false, edittype: 'text',
543 526
 						editable: true, editrules: {number: true, custom: true, custom_func: shmtQtyValue}
544 527
 					},
@@ -576,7 +559,6 @@ let modifyObj = {
576 559
 				data: gridData,
577 560
 				multiselect: true,
578 561
 				loadComplete: function(data) {
579
-					console.log(data);
580 562
 					itp_fn_grid_load_complete(data, ORDMNG02010_DETAIL_GRID_ID, true, 'number', 'ORDMNG02010', modifyObj.itp_ORDMNG02010_search, modifyObj.empty, true, data.gridRecords, true);
581 563
 				},
582 564
 				onCellSelect: function(rowId, cellIdx, cellValue) {

+ 12 - 21
src/main/webapp/js/app/ordmng/ITP_ORDMNG03010.js

@@ -36,7 +36,7 @@ const gridColModel = {
36 36
 			{
37 37
 				index: 'Brand_Nm', name: 'brandNm',			//정렬가능 여부,화면표시 여부
38 38
 				label: ITP_MSG_LOCALE.label.brandNm, 		//브랜드이름
39
-				width: '10', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
39
+				width: '10', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
40 40
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부	
41 41
 			},
42 42
 			{
@@ -46,9 +46,9 @@ const gridColModel = {
46 46
 				sortable: false, hidden: false					//정렬가능 여부,화면표시 여부
47 47
 			},
48 48
 			{
49
-				index: 'ITEM_ST_CD', name: 'dlvStCd',		//서버로 전송시 데이터 명 , 데이터명
50
-				label: '납품상태', 								//납품서상태
51
-				width: '12', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
49
+				index: 'DLV_ST_NM', name: 'dlvStNm',		//서버로 전송시 데이터 명 , 데이터명
50
+				label: '납품상태', 							//납품서상태
51
+				width: '12', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
52 52
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
53 53
 			},
54 54
 			{
@@ -84,19 +84,19 @@ const gridColModel = {
84 84
 			{
85 85
 				index: 'PODR_PSSBLDVSN_NM', name: 'itemNm',	//서버로 전송시 데이터 명 , 데이터명
86 86
 				label: ITP_MSG_LOCALE.label.itemNm, 		//품목명
87
-				width: '10', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
87
+				width: '10', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
88 88
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
89 89
 			},
90 90
 			{
91 91
 				index: 'PODR_QTY', name: 'podrQty',			//서버로 전송시 데이터 명 , 데이터명
92 92
 				label: ITP_MSG_LOCALE.label.podrQty, 		//수주수량
93
-				width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
93
+				width: '6', fixed: false, align: 'right',	// cell가로넓이,고정 여부 ,text정렬 
94 94
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
95 95
 			},
96 96
 			{
97 97
 				index: 'SALE_ITEM_YN', name: 'dlvQty',		//서버로 전송시 데이터 명 , 데이터명
98 98
 				label: ITP_MSG_LOCALE.label.dlvQty, 		//납품수량
99
-				width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
99
+				width: '6', fixed: false, align: 'right',	// cell가로넓이,고정 여부 ,text정렬 
100 100
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
101 101
 			},
102 102
 			{
@@ -108,20 +108,20 @@ const gridColModel = {
108 108
 			{
109 109
 				index: 'PCH_ITEM_YN', name: 'unitAmt',		//서버로 전송시 데이터 명 , 데이터명
110 110
 				label: ITP_MSG_LOCALE.label.unitAmt, 		//납품금액
111
-				width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
111
+				width: '6', fixed: false, align: 'right ',	// cell가로넓이,고정 여부 ,text정렬 
112 112
 				sortable: false, hidden: false,				//정렬가능 여부,화면표시 여부
113 113
 				formatter: 'integer', formatoptions: {thousandsSeparator: ','}
114 114
 			},
115 115
 			{
116 116
 				index: 'SALE_ITEM_YN', name: 'whsNm',		//서버로 전송시 데이터 명 , 데이터명
117 117
 				label: ITP_MSG_LOCALE.label.whsNm, 			//납품장소
118
-				width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
118
+				width: '6', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
119 119
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
120 120
 			},
121 121
 			{
122 122
 				index: 'PCH_ITEM_YN', name: 'dlvMgrNm',		//서버로 전송시 데이터 명 , 데이터명
123 123
 				label: ITP_MSG_LOCALE.label.dlvMgrNm, 		//납품담당자
124
-				width: '8', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
124
+				width: '8', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
125 125
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
126 126
 			},
127 127
 			{
@@ -244,25 +244,16 @@ let listObj = {
244 244
 	},
245 245
 	empty: {
246 246
 		init: function() {
247
-			var _this = this; //_this = this
248
-			this.push(); //push 부르기
249
-			
250
-			/*물어봐야할것들*/
251
-			$(ORDMNG03010_GRID_EMPTY).on('click', function() {
252
-					_this.itp_ORDMNG03010_param.gridSize = $.jgrid.defaults.rowNum; 
253
-					$(ORDMNG03010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_ORDMNG03010_param)}).trigger('reloadGrid');
254
-			});
247
+		
255 248
 		},
256 249
 		itp_ORDMNG03010_param: {},//현재 정보는 없음
257 250
 		push: function() {
258
-			let param = $('#ITP_FORM_ORDMNG03010_SEARCH').serializeObject(); //param 값 선언
259
-			listObj.itp_ORDMNG03010_param = param;//두개의 값은 같다
251
+		
260 252
 		}
261 253
 	},
262 254
 	grid: {
263 255
 		init: function () {
264 256
 				// 데이터 없을때
265
-			listObj.empty.push();//listObj 에서 empty 에서 push 불러오기
266 257
 			this.search();//search 불러오기
267 258
 		},
268 259
 		colModel: gridColModel.list,	//컬럼정보

+ 4 - 6
src/main/webapp/js/app/vendinfo/ITP_VENDINFO01010.js

@@ -54,20 +54,20 @@ const gridColModel = {
54 54
 		{
55 55
 			index: 'ASSGN_TASK_NM', name: 'spplyMgrNm',
56 56
 			label: ITP_MSG_LOCALE.label.spplyMgrNm, 	//담당자명
57
-			width: '20', fixed: false, align: 'center',
57
+			width: '10', fixed: false, align: 'left',
58 58
 			sortable: false, editable: true, edittype: 'text',
59 59
 			editrules: {required: true}
60 60
 		},
61 61
         {
62 62
             index: 'POSITION', name: 'position',
63 63
             label: ITP_MSG_LOCALE.label.position,		// 직위
64
-            width: '10', fixed: false, align: 'center',
64
+            width: '10', fixed: false, align: 'left',
65 65
             sortable: false, hidden: false, editable: true, edittype: 'text'
66 66
         },
67 67
         {
68 68
             index: 'RPRST_EMAL', name: 'rprstEmal',
69 69
             label: ITP_MSG_LOCALE.label.rprstEmal,		// 이메일
70
-            width: '10', fixed: false, align: 'center',
70
+            width: '10', fixed: false, align: 'left',
71 71
             sortable: false, hidden: false, editable: true, edittype: 'text'
72 72
         },
73 73
         {
@@ -80,7 +80,7 @@ const gridColModel = {
80 80
         {
81 81
             index: 'ASSGN_TASK', name: 'assgnTask',
82 82
             label: ITP_MSG_LOCALE.label.assgnTaskNm,	// 담당업무
83
-            width: '10', fixed: false, align: 'center',
83
+            width: '10', fixed: false, align: 'left',
84 84
             sortable: false, editable: true, formatter: 'select', edittype: 'select',
85 85
 			editoptions: {value: ITP_COMMON_ASSGN_TASK},
86 86
 			editrules: {required: false}
@@ -255,7 +255,6 @@ let pageObj = {
255 255
 				data: gridData,
256 256
 				multiselect: (this.mode !== 'VIEW'),
257 257
 				loadComplete: function(data) {
258
-					console.log(data);
259 258
 					itp_fn_grid_load_complete(data, VENDINFO01010_DETAIL_GRID_ID, true, 'number', 'VENDINFO01010', modifyObj.itp_VENDINFO01010_search, modifyObj.empty, true, data.gridRecords, true);
260 259
 					let gridList = VENDINFO01010_DETAIL_GRID_LIST;
261 260
 					$(gridList).find('.ui-jqgrid .ui-jqgrid-bdiv').css('overflow-x', 'hidden');
@@ -331,7 +330,6 @@ let modifyObj = {
331 330
 						param.gridUpdateData = gridUpdateData;
332 331
 						param.gridDeleteData = gridDeleteData;
333 332
 						param.brandId = LOGIN_USER_INFO.brandId;
334
-						console.log(JSON.stringify(param));
335 333
 						var searhFn = function() {
336 334
 							ITP_FORM_VENDINFO01010_DETAIL_IS_WRITING = false;
337 335
 							modifyObj.init();

+ 6 - 11
src/main/webapp/js/app/vendinfo/ITP_VENDINFO02010.js

@@ -32,37 +32,37 @@ const gridColModel = {
32 32
 			{
33 33
 				index: 'ITEM_ID', name: 'itemId',  			//서버로 전송시 데이터 명 , 데이터명
34 34
 				label: ITP_MSG_LOCALE.label.itemId, 		//품목번호
35
-				width: '12', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
35
+				width: '12', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
36 36
 				sortable: false, hidden: false 				//정렬가능 여부,화면표시 여부
37 37
 			},
38 38
 			{
39 39
 				index: 'ITEM_NM', name: 'itemNm',			//서버로 전송시 데이터 명 , 데이터명
40 40
 				label: ITP_MSG_LOCALE.label.itemNm, 		//품목명
41
-				width: '13', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
41
+				width: '13', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
42 42
 				sortable: false, hidden: false 				//정렬가능 여부,화면표시 여부
43 43
 			},
44 44
 			{
45 45
 				index: 'ITEM_TYPE_NM', name: 'itemTypeNm',	//서버로 전송시 데이터 명 , 데이터명
46 46
 				label: ITP_MSG_LOCALE.label.itemTypeNm, 	//품목유형
47
-				width: '10', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
47
+				width: '10', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
48 48
 				sortable: false, hidden: false 				//정렬가능 여부,화면표시 여부
49 49
 			},
50 50
 			{
51 51
 				index: 'ITEM_CLASS_NM', name: 'itemClassNm',//서버로 전송시 데이터 명 , 데이터명
52 52
 				label: ITP_MSG_LOCALE.label.itemClassNm, 	//품목분류
53
-				width: '12', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
53
+				width: '12', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
54 54
 				sortable: false, hidden: false 				//정렬가능 여부,화면표시 여부
55 55
 			},
56 56
 			{
57 57
 				index: 'ITEM_ST_NM', name: 'itemStNm',		//서버로 전송시 데이터 명 , 데이터명
58 58
 				label: "상태", 								//상태
59
-				width: '8', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
59
+				width: '8', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
60 60
 				sortable: false, hidden: false 				//정렬가능 여부,화면표시 여부
61 61
 			},
62 62
 			{
63 63
 				index: 'PODR_PSSBLDVSN_NM', name: 'podrPssblDvsnNm',//서버로 전송시 데이터 명 , 데이터명
64 64
 				label: ITP_MSG_LOCALE.label.podrPssblDvsnNm, //발주여부
65
-				width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
65
+				width: '6', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
66 66
 				sortable: false, hidden: false 				//정렬가능 여부,화면표시 여부
67 67
 			},
68 68
 			{
@@ -175,7 +175,6 @@ let listObj = {
175 175
 	grid: {
176 176
 		init: function () {
177 177
 				// 데이터 없을때
178
-				//listObj.empty.push();//listObj 에 empty 에 push 불러오기
179 178
 				this.search(); //search 불러오기
180 179
 		},
181 180
 		colModel: gridColModel.list,//컬럼정보
@@ -201,7 +200,6 @@ let listObj = {
201 200
 					}
202 201
 				},	
203 202
 				loadComplete: function(data) {
204
-					console.log(data); //콘솔 data 출력
205 203
 					if(data && data.length > 0) {
206 204
 						itp_fn_grid_load_complete(data, VENDINFO02010_GRID_ID, true, 'number', 'VENDINFO02010', listObj.itp_VENDINFO02010_search, listObj.empty, true, data.gridRecords, true);
207 205
 						var ids = $(VENDINFO02010_GRID_ID).getDataIDs();
@@ -238,7 +236,6 @@ let listObj = {
238 236
 							}
239 237
 					},
240 238
 					loadComplete: function(data) {
241
-							console.log(data);
242 239
 							itp_fn_grid_load_complete(data, VENDINFO02010_GRID_ID, true, 'number', 'VENDINFO02010', listObj.itp_VENDINFO02010_search, listObj.empty, true, data.gridRecords, true);
243 240
 							var ids = $(VENDINFO02010_GRID_ID).getDataIDs();
244 241
 							$.each(ids, function(idx, rowId) {
@@ -333,5 +330,3 @@ let viewObj = {
333 330
 	}
334 331
 };
335 332
 
336
-
337
-

+ 3 - 6
src/main/webapp/js/app/vendinfo/ITP_VENDINFO03010.js

@@ -29,7 +29,7 @@ const gridColModel = {
29 29
 		{
30 30
 			index: 'ITEM_NM', name: 'itemNm',
31 31
 			label: ITP_MSG_LOCALE.label.itemNm, 	//품목명
32
-			width: '8', fixed: false, align: 'center',
32
+			width: '8', fixed: false, align: 'left',
33 33
 			sortable: false, hidden: false
34 34
 		},
35 35
 		{
@@ -66,13 +66,13 @@ const gridColModel = {
66 66
 		{
67 67
 			index: 'LEAD_TIME', name: 'leadTime',
68 68
 			label: ITP_MSG_LOCALE.label.leadTime, 	//리드타임 (Day)
69
-			width: '7', fixed: false, align: 'center',
69
+			width: '7', fixed: false, align: 'right',
70 70
 			sortable: false, hidden: false
71 71
 		},
72 72
 		{
73 73
 			index: 'UNIT_ST_NM', name: 'unitStNm',
74 74
 			label: ITP_MSG_LOCALE.label.status, 	//상태
75
-			width: '7', fixed: false, align: 'center',
75
+			width: '5', fixed: false, align: 'left',
76 76
 			sortable: false, hidden: false
77 77
 		},
78 78
 		{
@@ -116,7 +116,6 @@ let pageObj = {
116 116
 		},
117 117
 		grid: function() {
118 118
 			itp_fn_jqgrid_resize(VENDINFO03010_GRID_ID, VENDINFO03010_GRID_LIST, 'lg');
119
-			//listObj.empty.init();
120 119
 			itp_fn_fire_window_resize();
121 120
 		},
122 121
 		ready: function() {
@@ -192,7 +191,6 @@ let listObj = {
192 191
     grid: {
193 192
         init: function () {
194 193
             // 데이터 없을때
195
-            //listObj.empty.push();
196 194
             this.search();
197 195
 
198 196
         },
@@ -214,7 +212,6 @@ let listObj = {
214 212
                 pager: VENDINFO03010_GRID_PAGER,
215 213
                 rownumbers: false,
216 214
                 loadComplete: function(data) {
217
-                    console.log(data);
218 215
                     itp_fn_grid_load_complete(data, VENDINFO03010_GRID_ID, true, 'number', 'VENDINFO03010', listObj.itp_VENDINFO03010_search, listObj.empty, true, data.gridRecords, true);
219 216
                     var ids = $(VENDINFO03010_GRID_ID).getDataIDs();
220 217
                     $.each(ids, function(idx, rowId) {