Explorar el Código

공급사-단가관리, 기준정보관리-단가관리 세부수정-2

yhl88 hace 2 años
padre
commit
44e860fb21

+ 2 - 1
src/main/webapp/js/app/ordmng/ITP_ORDMNG02010.js

@@ -507,7 +507,6 @@ let modifyObj = {
507 507
 			this.gridEmpty = ORDMNG02010_DETAIL_GRID_EMPTY;
508 508
 			this.unload();
509 509
 			this.load(gridData);
510
-			$(ORDMNG02010_DETAIL_GRID_ID).jqGrid('hideCol', 'cb');
511 510
 		},
512 511
 		mode: '',
513 512
 		colModel: gridColModel.detail,
@@ -611,8 +610,10 @@ let modifyObj = {
611 610
 				],
612 611
 				data: gridData,
613 612
 				multiselect: true,
613
+				multiboxonly: true,
614 614
 				loadComplete: function(data) {
615 615
 					itp_fn_grid_load_complete(data, ORDMNG02010_DETAIL_GRID_ID, true, 'number', 'ORDMNG02010', modifyObj.itp_ORDMNG02010_search, modifyObj.empty, true, data.gridRecords, true);
616
+					$(ORDMNG02010_DETAIL_GRID_ID).jqGrid('hideCol', 'cb');
616 617
 				},
617 618
 				onCellSelect: function(rowId, cellIdx, cellValue) {
618 619
 					ORDMNG02010_GRID_LAST_ROW_ID = itp_fn_set_data_editable(rowId, cellIdx, ORDMNG02010_GRID_LAST_ROW_ID, ORDMNG02010_DETAIL_GRID_ID, ['actionId']);

+ 2 - 1
src/main/webapp/js/app/stinfo/ITP_STINFO05010.js

@@ -323,7 +323,6 @@ let listObj = {
323 323
 			// 데이터 없을때
324 324
 			//listObj.empty.push();
325 325
 			this.search();
326
-			$(STINFO05010_GRID_ID).jqGrid('hideCol', 'cb');
327 326
 		},
328 327
 		search: function() {
329 328
 			pageObj.switchScreen('LIST');
@@ -345,6 +344,7 @@ let listObj = {
345 344
 				url: DOMAIN + API_DETAIL_GRID_LIST,
346 345
 				pager: STINFO05010_GRID_PAGER,
347 346
 				multiselect: true,
347
+				multiboxonly: true,
348 348
 				rownumbers: false,
349 349
 				onCellSelect: function(rowId, cellIdx, cellValue) {
350 350
 					var cm = $(this).jqGrid('getGridParam', 'colModel');
@@ -363,6 +363,7 @@ let listObj = {
363 363
 					$.each(ids, function(idx, rowId) {
364 364
 						$(STINFO05010_GRID_ID).jqGrid('setCell', rowId, 'itemId', '', ITP_GRID_COL_STYLE.link);
365 365
 					});
366
+					$(STINFO05010_GRID_ID).jqGrid('hideCol', 'cb');
366 367
 				},
367 368
 				onPaging: function(action) {
368 369
 					itp_fn_grid_paging(STINFO05010_GRID_ID, action, param);