Browse Source

구매요청현황

dwkim 2 years ago
parent
commit
6e0caed24e
1 changed files with 4 additions and 17 deletions
  1. 4 17
      src/main/webapp/js/app/pomng/ITP_POMNG02010.js

+ 4 - 17
src/main/webapp/js/app/pomng/ITP_POMNG02010.js

@@ -282,7 +282,6 @@ let pageObj = {
282
 		*/
282
 		*/
283
 		grid: function() {
283
 		grid: function() {
284
 			itp_fn_jqgrid_resize(POMNG02010_GRID_ID, POMNG02010_GRID_LIST, 'lg');
284
 			itp_fn_jqgrid_resize(POMNG02010_GRID_ID, POMNG02010_GRID_LIST, 'lg');
285
-			listObj.empty.init();
286
 			itp_fn_fire_window_resize();
285
 			itp_fn_fire_window_resize();
287
 		},
286
 		},
288
 		ready: function() {
287
 		ready: function() {
@@ -566,33 +565,21 @@ let listObj = {
566
 	},
565
 	},
567
 	empty: {
566
 	empty: {
568
 		init: function() {
567
 		init: function() {
569
-			var _this = this;
570
-			this.push();
571
-			$(POMNG02010_GRID_EMPTY).on('click', function() {
572
-				_this.back();
573
-				_this.itp_POMNG02010_param.gridSize = $.jgrid.defaults.rowNum;
574
-				$(POMNG02010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_POMNG02010_param)}).trigger('reloadGrid');
575
-			});
568
+			
576
 		},
569
 		},
577
 		itp_POMNG02010_param: {},
570
 		itp_POMNG02010_param: {},
578
 		push: function() {
571
 		push: function() {
579
-			let param = $('#ITP_FORM_POMNG02010_SEARCH').serializeObject();
580
-			listObj.itp_POMNG02010_param = param;
572
+			
581
 		},
573
 		},
582
 		back: function() {
574
 		back: function() {
583
-			$('#ITP_FORM_POMNG02010_SEARCH_FROM_DT').val(this.itp_POMNG02010_param.fromDt);
584
-			$('#ITP_FORM_POMNG02010_SEARCH_TO_DT').val(this.itp_POMNG02010_param.toDt);
585
-			$('#ITP_FORM_POMNG02010_SEARCH_SWHS_ID').val(this.itp_POMNG02010_param.swhsId);
586
-			$('#ITP_FORM_POMNG02010_SEARCH_SPCH_REQ_ST_CD').val(this.itp_POMNG02010_param.spchReqStCd);
587
-			$('#ITP_FORM_POMNG02010_SEARCH_SITEM_NM').val(this.itp_POMNG02010_param.sitemNm);
575
+			
588
 		}
576
 		}
589
 	},
577
 	},
590
 	grid: {
578
 	grid: {
591
 		init: function () {
579
 		init: function () {
592
 			// 데이터 없을때
580
 			// 데이터 없을때
593
-			listObj.empty.push();
594
 			itp_fn_jqgrid_resize(POMNG02010_GRID_ID, POMNG02010_GRID_LIST, 'lg');
581
 			itp_fn_jqgrid_resize(POMNG02010_GRID_ID, POMNG02010_GRID_LIST, 'lg');
595
-			itp_fn_fire_window_resize();
582
+			//itp_fn_fire_window_resize();
596
 			//this.reload();
583
 			//this.reload();
597
 			this.search();
584
 			this.search();
598
 		},
585
 		},