Browse Source

납품서생성, 현황 세부조정-1

yhl88 2 years ago
parent
commit
8388eb90a5

+ 3 - 3
src/main/webapp/js/app/ordmng/ITP_ORDMNG02010.js

@@ -49,7 +49,7 @@ const gridColModel = {
49 49
 			index: 'BRAND_NM', name: 'brandNm',
50 50
 			label: ITP_MSG_LOCALE.label.brandNm, 			//브랜드명
51 51
 			width: '6', fixed: false, align: 'left',
52
-			sortable: false, hidden: false
52
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
53 53
 		},
54 54
 		{
55 55
 			index: 'PCH_PODR_UNQ_NO', name: 'pchPodrUnqNo',
@@ -74,7 +74,7 @@ const gridColModel = {
74 74
 			label: ITP_MSG_LOCALE.label.whsNm, 				//납품장소
75 75
 			width: '11', fixed: false, align: 'left',
76 76
 			minwidht: 100,
77
-			sortable: false, hidden: false
77
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
78 78
 		},
79 79
 		{
80 80
 			index: 'ITEM_ID', name: 'itemId',
@@ -86,7 +86,7 @@ const gridColModel = {
86 86
 			index: 'ITEM_NM', name: 'itemNm',
87 87
 			label: ITP_MSG_LOCALE.label.itemNm, 			//품목명
88 88
 			width: '6', fixed: false, align: 'left',
89
-			sortable: false, hidden: false
89
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
90 90
 		},
91 91
 		{
92 92
 			index: 'PODR_QTY', name: 'podrQty',

+ 119 - 114
src/main/webapp/js/app/ordmng/ITP_ORDMNG03010.js

@@ -27,120 +27,123 @@ let API_INFO_INV 		= '/api/pomng/inoutmng/init-spply-inv';	// 상세
27 27
 /*화면 Grid ColModel*/
28 28
 const gridColModel = {
29 29
 	list: [
30
-			{
31
-				index: 'Brand_ID', name: 'brandId',			//서버로 전송시 데이터 명 , 데이터명
32
-				label: ITP_MSG_LOCALE.label.brandId, 		//브랜드아이디
33
-				width: '18', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
34
-				sortable: false, hidden: true				//정렬가능 여부,화면표시 여부
35
-			},
36
-			{
37
-				index: 'Brand_Nm', name: 'brandNm',			//정렬가능 여부,화면표시 여부
38
-				label: ITP_MSG_LOCALE.label.brandNm, 		//브랜드이름
39
-				width: '10', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
40
-				minwidth: 120,								//최소가로넓이 설정
41
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부	
42
-			},
43
-			{
44
-				index: 'DLV_STTMT_NO', name: 'dlvSttmtUnqNo',	//서버로 전송시 데이터 명 , 데이터명
45
-				label: ITP_MSG_LOCALE.label.dlvSttmtUnqNo, 		//납품서번호
46
-				width: '20', fixed: false, align: 'center',		// cell가로넓이,고정 여부 ,text정렬 
47
-				minwidth: 140,
48
-				sortable: false, hidden: false					//정렬가능 여부,화면표시 여부
49
-			},
50
-			{
51
-				index: 'DLV_ST_NM', name: 'dlvStNm',		//서버로 전송시 데이터 명 , 데이터명
52
-				label: '납품상태', 							//납품서상태
53
-				width: '12', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
54
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
55
-			},
56
-			{
57
-				index: 'PODR_REG_DT', name: 'podrRegDt',	//서버로 전송시 데이터 명 , 데이터명
58
-				label: '수주일자', 								//수주일자
59
-				width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
60
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
61
-			},
62
-			{
63
-				index: 'PCH_ITEM_YN', name: 'dlvReqDt',		//서버로 전송시 데이터 명 , 데이터명
64
-				label: ITP_MSG_LOCALE.label.dlvReqDt, 		//납품요청일
65
-				width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
66
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
67
-			},
68
-			{
69
-				index: 'PCH_ITEM_YN', name: 'dlvSchDt',		//서버로 전송시 데이터 명 , 데이터명
70
-				label: ITP_MSG_LOCALE.label.dlvSchDt, 		//납품예정일
71
-				width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
72
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
73
-			},
74
-			{
75
-				index: 'PCH_ITEM_YN', name: 'dlvCmpltDt',	//서버로 전송시 데이터 명 , 데이터명
76
-				label: ITP_MSG_LOCALE.label.dlvCmpltDt, 	//납품완료일
77
-				width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
78
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
79
-			},
80
-			{
81
-				index: 'ITEM_CLASS_NM', name: 'itemId',		//서버로 전송시 데이터 명 , 데이터명
82
-				label: ITP_MSG_LOCALE.label.itemId, 		//품목번호
83
-				minwidth: 180,
84
-				width: '11', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
85
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
86
-			},
87
-			{
88
-				index: 'PODR_PSSBLDVSN_NM', name: 'itemNm',	//서버로 전송시 데이터 명 , 데이터명
89
-				label: ITP_MSG_LOCALE.label.itemNm, 		//품목명
90
-				minwidth: 140,
91
-				width: '10', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
92
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
93
-			},
94
-			{
95
-				index: 'PODR_QTY', name: 'podrQty',			//서버로 전송시 데이터 명 , 데이터명
96
-				label: ITP_MSG_LOCALE.label.podrQty, 		//수주수량
97
-				minwidth: 80,
98
-				width: '6', fixed: false, align: 'right',	// cell가로넓이,고정 여부 ,text정렬 
99
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
100
-			},
101
-			{
102
-				index: 'SALE_ITEM_YN', name: 'dlvQty',		//서버로 전송시 데이터 명 , 데이터명
103
-				label: ITP_MSG_LOCALE.label.dlvQty, 		//납품수량
104
-				minwidth: 80,
105
-				width: '6', fixed: false, align: 'right',	// cell가로넓이,고정 여부 ,text정렬 
106
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
107
-			},
108
-			{
109
-				index: 'UNIT', name: 'unit',				//서버로 전송시 데이터 명 , 데이터명
110
-				label: ITP_MSG_LOCALE.label.unit, 			//단위
111
-				minwidth: 80,
112
-				width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
113
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
114
-			},
115
-			{
116
-				index: 'PCH_ITEM_YN', name: 'unitAmt',		//서버로 전송시 데이터 명 , 데이터명
117
-				label: ITP_MSG_LOCALE.label.unitAmt, 		//납품금액
118
-				minwidth: 80,
119
-				width: '6', fixed: false, align: 'right ',	// cell가로넓이,고정 여부 ,text정렬 
120
-				sortable: false, hidden: false,				//정렬가능 여부,화면표시 여부
121
-				formatter: 'integer', formatoptions: {thousandsSeparator: ','}
122
-			},
123
-			{
124
-				index: 'SALE_ITEM_YN', name: 'whsNm',		//서버로 전송시 데이터 명 , 데이터명
125
-				label: ITP_MSG_LOCALE.label.whsNm, 			//납품장소
126
-				minwidth: 240,
127
-				width: '6', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
128
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
129
-			},
130
-			{
131
-				index: 'PCH_ITEM_YN', name: 'dlvMgrNm',		//서버로 전송시 데이터 명 , 데이터명
132
-				label: ITP_MSG_LOCALE.label.dlvMgrNm, 		//납품담당자
133
-				minwidth: 100,
134
-				width: '8', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
135
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
136
-			},
137
-			{
138
-				index: 'PCH_ITEM_YN', name: 'dlvMgrTelNo',	//서버로 전송시 데이터 명 , 데이터명
139
-				label: ITP_MSG_LOCALE.label.dlvMgrTelNo, 	//납품담당연락처
140
-				minwidth: 120,
141
-				width: '10', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
142
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
143
-			}
30
+		{
31
+			index: 'Brand_ID', name: 'brandId',			//서버로 전송시 데이터 명 , 데이터명
32
+			label: ITP_MSG_LOCALE.label.brandId, 		//브랜드아이디
33
+			width: '18', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
34
+			sortable: false, hidden: true				//정렬가능 여부,화면표시 여부
35
+		},
36
+		{
37
+			index: 'Brand_Nm', name: 'brandNm',			//정렬가능 여부,화면표시 여부
38
+			label: ITP_MSG_LOCALE.label.brandNm, 		//브랜드이름
39
+			width: '10', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
40
+			minwidth: 120,								//최소가로넓이 설정
41
+			sortable: false, hidden: false,				//정렬가능 여부,화면표시 여부
42
+			classes: 'ui-ellipsis'
43
+		},
44
+		{
45
+			index: 'DLV_STTMT_NO', name: 'dlvSttmtUnqNo',	//서버로 전송시 데이터 명 , 데이터명
46
+			label: ITP_MSG_LOCALE.label.dlvSttmtUnqNo, 		//납품서번호
47
+			width: '20', fixed: false, align: 'center',		// cell가로넓이,고정 여부 ,text정렬 
48
+			minwidth: 140,
49
+			sortable: false, hidden: false					//정렬가능 여부,화면표시 여부
50
+		},
51
+		{
52
+			index: 'DLV_ST_NM', name: 'dlvStNm',		//서버로 전송시 데이터 명 , 데이터명
53
+			label: '납품상태', 							//납품서상태
54
+			width: '12', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
55
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
56
+		},
57
+		{
58
+			index: 'PODR_REG_DT', name: 'podrRegDt',	//서버로 전송시 데이터 명 , 데이터명
59
+			label: '수주일자', 								//수주일자
60
+			width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
61
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
62
+		},
63
+		{
64
+			index: 'PCH_ITEM_YN', name: 'dlvReqDt',		//서버로 전송시 데이터 명 , 데이터명
65
+			label: ITP_MSG_LOCALE.label.dlvReqDt, 		//납품요청일
66
+			width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
67
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
68
+		},
69
+		{
70
+			index: 'PCH_ITEM_YN', name: 'dlvSchDt',		//서버로 전송시 데이터 명 , 데이터명
71
+			label: ITP_MSG_LOCALE.label.dlvSchDt, 		//납품예정일
72
+			width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
73
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
74
+		},
75
+		{
76
+			index: 'PCH_ITEM_YN', name: 'dlvCmpltDt',	//서버로 전송시 데이터 명 , 데이터명
77
+			label: ITP_MSG_LOCALE.label.dlvCmpltDt, 	//납품완료일
78
+			width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
79
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
80
+		},
81
+		{
82
+			index: 'ITEM_CLASS_NM', name: 'itemId',		//서버로 전송시 데이터 명 , 데이터명
83
+			label: ITP_MSG_LOCALE.label.itemId, 		//품목번호
84
+			minwidth: 180,
85
+			width: '11', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
86
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
87
+		},
88
+		{
89
+			index: 'PODR_PSSBLDVSN_NM', name: 'itemNm',	//서버로 전송시 데이터 명 , 데이터명
90
+			label: ITP_MSG_LOCALE.label.itemNm, 		//품목명
91
+			minwidth: 140,
92
+			width: '10', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
93
+			sortable: false, hidden: false,				//정렬가능 여부,화면표시 여부
94
+			classes: 'ui-ellipsis'
95
+		},
96
+		{
97
+			index: 'PODR_QTY', name: 'podrQty',			//서버로 전송시 데이터 명 , 데이터명
98
+			label: ITP_MSG_LOCALE.label.podrQty, 		//수주수량
99
+			minwidth: 80,
100
+			width: '6', fixed: false, align: 'right',	// cell가로넓이,고정 여부 ,text정렬 
101
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
102
+		},
103
+		{
104
+			index: 'SALE_ITEM_YN', name: 'dlvQty',		//서버로 전송시 데이터 명 , 데이터명
105
+			label: ITP_MSG_LOCALE.label.dlvQty, 		//납품수량
106
+			minwidth: 80,
107
+			width: '6', fixed: false, align: 'right',	// cell가로넓이,고정 여부 ,text정렬 
108
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
109
+		},
110
+		{
111
+			index: 'UNIT', name: 'unit',				//서버로 전송시 데이터 명 , 데이터명
112
+			label: ITP_MSG_LOCALE.label.unit, 			//단위
113
+			minwidth: 80,
114
+			width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
115
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
116
+		},
117
+		{
118
+			index: 'PCH_ITEM_YN', name: 'unitAmt',		//서버로 전송시 데이터 명 , 데이터명
119
+			label: ITP_MSG_LOCALE.label.unitAmt, 		//납품금액
120
+			minwidth: 80,
121
+			width: '6', fixed: false, align: 'right ',	// cell가로넓이,고정 여부 ,text정렬 
122
+			sortable: false, hidden: false,				//정렬가능 여부,화면표시 여부
123
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
124
+		},
125
+		{
126
+			index: 'SALE_ITEM_YN', name: 'whsNm',		//서버로 전송시 데이터 명 , 데이터명
127
+			label: ITP_MSG_LOCALE.label.whsNm, 			//납품장소
128
+			minwidth: 240,
129
+			width: '6', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
130
+			sortable: false, hidden: false,				//정렬가능 여부,화면표시 여부
131
+			classes: 'ui-ellipsis'
132
+		},
133
+		{
134
+			index: 'PCH_ITEM_YN', name: 'dlvMgrNm',		//서버로 전송시 데이터 명 , 데이터명
135
+			label: ITP_MSG_LOCALE.label.dlvMgrNm, 		//납품담당자
136
+			minwidth: 100,
137
+			width: '8', fixed: false, align: 'left',	// cell가로넓이,고정 여부 ,text정렬 
138
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
139
+		},
140
+		{
141
+			index: 'PCH_ITEM_YN', name: 'dlvMgrTelNo',	//서버로 전송시 데이터 명 , 데이터명
142
+			label: ITP_MSG_LOCALE.label.dlvMgrTelNo, 	//납품담당연락처
143
+			minwidth: 120,
144
+			width: '10', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
145
+			sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
146
+		}
144 147
 	]
145 148
 };
146 149
 /*화면공통 Object*/
@@ -246,6 +249,7 @@ let listObj = {
246 249
 				// 데이터 없을때
247 250
 			this.search();//search 불러오기
248 251
 			itp_fn_jqgrid_resize(ORDMNG03010_GRID_ID, ORDMNG03010_GRID_LIST, 'lg');
252
+			itp_fn_fire_window_resize();
249 253
 		},
250 254
 		colModel: gridColModel.list,	//컬럼정보
251 255
 		search: function() {
@@ -263,6 +267,7 @@ let listObj = {
263 267
 				url: DOMAIN + API_DELI_GRID_LIST,//API 주소 정보
264 268
 				pager: ORDMNG03010_GRID_PAGER, //페이지 정보
265 269
 				multiselect: true, //동시선택 가능
270
+				rownumbers: false,
266 271
 				/*물어봐야할것들*/
267 272
 				loadComplete: function(data) {
268 273
 					itp_fn_grid_load_complete(data, ORDMNG03010_GRID_ID, true, 'number', 'ORDMNG03010', listObj.itp_ORDMNG03010_search, listObj.empty, true, data.gridRecords, true);