Explorar o código

출하지시관리 그리드 수정

yhl88 %!s(int64=2) %!d(string=hai) anos
pai
achega
2b948fb8da

+ 5 - 5
src/main/webapp/js/app/inoutmng/ITP_INOUTMNG02010.js

@@ -31,7 +31,7 @@ const gridColModel = {
31 31
 		{
32 32
 			index: 'BRAND_NM', name: 'brandNm',
33 33
 			label: ITP_MSG_LOCALE.label.brandNm,				// 브랜드명
34
-			minwidth: 100,
34
+			minwidth: 210,
35 35
 			width: '10', fixed: false, align: 'left',
36 36
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
37 37
 		},
@@ -51,8 +51,8 @@ const gridColModel = {
51 51
 		},
52 52
 		{
53 53
 			index: 'PCH_PODR_DTL_NO', name: 'pchPodrDtlNo',
54
-			label: ITP_MSG_LOCALE.label.pchPodrDtlNo,			// 발주항번
55
-			width: '8', fixed: false, align: 'center',
54
+			label: '항번',										// 발주항번
55
+			width: '6', fixed: false, align: 'center',
56 56
 			sortable: false, hidden: false
57 57
 		},
58 58
 		{
@@ -74,14 +74,14 @@ const gridColModel = {
74 74
 			index: 'ITEM_NM', name: 'itemNm',
75 75
 			label: ITP_MSG_LOCALE.label.itemNm,					// 품목명
76 76
 			width: '10', fixed: false, align: 'left',
77
-			minwidth: 100,
77
+			minwidth: 210,
78 78
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
79 79
 		},
80 80
 		{
81 81
 			index: 'WHS_NM', name: 'whsNm',
82 82
 			label: ITP_MSG_LOCALE.label.whsNm,					// 납품장소
83 83
 			width: '10', fixed: false, align: 'left',
84
-			minwidth: 160,
84
+			minwidth: 180,
85 85
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
86 86
 		},
87 87
 		{

+ 30 - 17
src/main/webapp/js/app/inoutmng/ITP_INOUTMNG03010.js

@@ -47,7 +47,7 @@ const gridColModel = {
47 47
 			index: 'BRAND_NM', name: 'brandNm',
48 48
 			label: ITP_MSG_LOCALE.label.brandNm, //브랜드명
49 49
 			width: '10', fixed: false, align: 'left',
50
-			minwidth: 100,
50
+			minwidth: 200,
51 51
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
52 52
 		},
53 53
 		{
@@ -71,27 +71,27 @@ const gridColModel = {
71 71
 		},
72 72
 		{
73 73
 			index: 'RTN_REQ_DTL_NO', name: 'rtnReqDtlNo',
74
-			label: ITP_MSG_LOCALE.label.rtnReqDtlNo, //반품요청항번
74
+			label: '항번',							 //반품요청항번
75 75
 			width: '10', fixed: false, align: 'center',
76 76
 			sortable: false, hidden: true
77 77
 		},
78 78
 		{
79 79
 			index: 'ITEM_ID', name: 'itemId',
80
-			label: ITP_MSG_LOCALE.label.itemId, //품목아이디
80
+			label: ITP_MSG_LOCALE.label.itemId, 	//품목아이디
81 81
 			width: '10', fixed: false, align: 'center',
82 82
 			minwidth: 140,
83 83
 			sortable: false, hidden: false
84 84
 		},
85 85
 		{
86 86
 			index: 'ITEM_NM', name: 'itemNm',
87
-			label: ITP_MSG_LOCALE.label.itemNm, //품목명
87
+			label: ITP_MSG_LOCALE.label.itemNm,		//품목명
88 88
 			width: '10', fixed: false, align: 'left',
89
-			minwidth: 100,
89
+			minwidth: 200,
90 90
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
91 91
 		},
92 92
 		{
93 93
 			index: 'RTN_WHS_ID', name: 'rtnWhsId',
94
-			label: ITP_MSG_LOCALE.label.rtnWhsId, //수거창고아이디
94
+			label: ITP_MSG_LOCALE.label.rtnWhsId, 	//수거창고아이디
95 95
 			width: '13', fixed: false, align: 'center',
96 96
 			sortable: false, hidden: true
97 97
 		},
@@ -103,8 +103,9 @@ const gridColModel = {
103 103
 		},
104 104
 		{
105 105
 			index: 'RTN_WHS_NM', name: 'rtnWhsNm',
106
-			label: ITP_MSG_LOCALE.label.rtnWhsNm, //수거창고명
106
+			label: ITP_MSG_LOCALE.label.rtnWhsNm, 	//수거창고명
107 107
 			width: '15', fixed: false, align: 'left',
108
+			minwidth: 200,
108 109
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
109 110
 		},
110 111
 		{
@@ -170,6 +171,7 @@ const gridColModel = {
170 171
 			index: 'WHS_NM', name: 'whsNm',
171 172
 			label: ITP_MSG_LOCALE.label.locationNm, //입고창고명
172 173
 			width: '15', fixed: false, align: 'left',
174
+			minwidth: 200,
173 175
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
174 176
 		}
175 177
 	],
@@ -184,19 +186,20 @@ const gridColModel = {
184 186
 			index: 'BRAND_NM', name: 'brandNm',
185 187
 			label: ITP_MSG_LOCALE.label.brandNm, //브랜드명
186 188
 			width: '10', fixed: false, align: 'center',
187
-			minwidth: 100,
189
+			minwidth: 200,
188 190
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
189 191
 		},
190 192
 		{
191 193
 			index: 'RTN_PODR_UNQ_NO', name: 'rtnPodrUnqNo',
192 194
 			label: ITP_MSG_LOCALE.label.rtnPodrUnqNo, //반품발주번호
193 195
 			width: '10', fixed: false, align: 'center',
196
+			minwidth: 180,
194 197
 			sortable: false, hidden: false
195 198
 		},
196 199
 		{
197 200
 			index: 'RTN_PODR_DTL_NO', name: 'rtnPodrDtlNo',
198
-			label: ITP_MSG_LOCALE.label.rtnPodrDtlNo, //반품발주항번
199
-			width: '10', fixed: false, align: 'center',
201
+			label: '항번',							 //반품발주항번
202
+			width: '7', fixed: false, align: 'center',
200 203
 			sortable: false, hidden: false
201 204
 		},
202 205
 		{
@@ -207,20 +210,22 @@ const gridColModel = {
207 210
 		},
208 211
 		{
209 212
 			index: 'RTN_REQ_DTL_NO', name: 'rtnReqDtlNo',
210
-			label: ITP_MSG_LOCALE.label.rtnReqDtlNo, //반품요청항번
213
+			label: '항번', 							//반품요청항번
211 214
 			width: '10', fixed: false, align: 'center',
212 215
 			sortable: false, hidden: true
213 216
 		},
214 217
 		{
215 218
 			index: 'ITEM_ID', name: 'itemId',
216
-			label: ITP_MSG_LOCALE.label.itemId, //품목아이디
219
+			label: ITP_MSG_LOCALE.label.itemId,	//품목아이디
217 220
 			width: '10', fixed: false, align: 'center',
221
+			minwidth: 180,
218 222
 			sortable: false, hidden: false
219 223
 		},
220 224
 		{
221 225
 			index: 'ITEM_NM', name: 'itemNm',
222 226
 			label: ITP_MSG_LOCALE.label.itemNm, //품목명
223 227
 			width: '10', fixed: false, align: 'left',
228
+			minwidth: 200,
224 229
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
225 230
 		},
226 231
 		{
@@ -238,13 +243,15 @@ const gridColModel = {
238 243
 		{
239 244
 			index: 'RTN_WHS_NM', name: 'rtnWhsNm',
240 245
 			label: ITP_MSG_LOCALE.label.rtnWhsNm, //수거창고명
241
-			width: '15', fixed: false, align: 'center',
246
+			width: '15', fixed: false, align: 'left',
247
+			minwidth: 200,
242 248
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
243 249
 		},
244 250
 		{
245 251
 			index: 'UNIT_AMT', name: 'unitAmt',
246 252
 			label: ITP_MSG_LOCALE.label.unitAmt, //단가
247
-			width: '6', fixed: false, align: 'right',
253
+			width: '10', fixed: false, align: 'right',
254
+			minwidth: 110,
248 255
 			sortable: false, hidden: false,
249 256
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
250 257
 		},
@@ -252,6 +259,7 @@ const gridColModel = {
252 259
 			index: 'RTN_REQ_QTY', name: 'rtnReqQty',
253 260
 			label: ITP_MSG_LOCALE.label.rtnReqQty, //반품요청수량
254 261
 			width: '10', fixed: false, align: 'right',
262
+			minwidth: 110,
255 263
 			sortable: false, hidden: false,
256 264
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
257 265
 		},
@@ -259,6 +267,7 @@ const gridColModel = {
259 267
 			index: 'RTN_ODR_QTY', name: 'rtnOdrQty',
260 268
 			label: ITP_MSG_LOCALE.label.rtnOdrQty, //반품발주수량
261 269
 			width: '10', fixed: false, align: 'right',
270
+			minwidth: 110,
262 271
 			sortable: false, hidden: false,
263 272
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
264 273
 		},
@@ -267,6 +276,7 @@ const gridColModel = {
267 276
 			label: ITP_MSG_LOCALE.label.colQty, //수거수량
268 277
 			width: '10', fixed: false, align: 'right',
269 278
 			sortable: true, editable: true, edittype: 'text',
279
+			minwidth: 110,
270 280
 			editrules: { required: true, number: true },
271 281
 			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');"}, 
272 282
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
@@ -275,6 +285,7 @@ const gridColModel = {
275 285
 			index: 'RTN_AMT', name: 'rtnAmt',
276 286
 			label: ITP_MSG_LOCALE.label.rtnAmt, //수거발주금액
277 287
 			width: '10', fixed: false, align: 'right',
288
+			minwidth: 110,
278 289
 			sortable: false, hidden: false,
279 290
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
280 291
 		},
@@ -292,7 +303,7 @@ const gridColModel = {
292 303
 		},
293 304
 		{
294 305
 			index: 'WHS_ID', name: 'whsId',
295
-			label: ITP_MSG_LOCALE.label.whsId, //입고창고아이디
306
+			label: ITP_MSG_LOCALE.label.whsId,	 //입고창고아이디
296 307
 			width: '13', fixed: false, align: 'left',
297 308
 			sortable: false, hidden: true
298 309
 		},
@@ -304,8 +315,9 @@ const gridColModel = {
304 315
 		},
305 316
 		{
306 317
 			index: 'WHS_NM', name: 'whsNm',
307
-			label: ITP_MSG_LOCALE.label.whsNm, //입고창고명
318
+			label: ITP_MSG_LOCALE.label.whsNm,	 //입고창고명
308 319
 			width: '15', fixed: false, align: 'left',
320
+			minwidth: 200,
309 321
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
310 322
 		}
311 323
 	]
@@ -484,7 +496,8 @@ let pageObj = {
484 496
 			$('#ITP_TAB_INOUTMNG03010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
485 497
 			$('#ITP_FORM_INOUTMNG03010_DETAIL_COL_SCH_DT').datepicker('setDate', new Date(param.colSchDt));
486 498
 			$('#ITP_FORM_INOUTMNG03010_DETAIL .fnBrandNm').text(param.brandNm);
487
-			
499
+			itp_fn_jqgrid_resize(INOUTMNG03010_DETAIL_GRID_ID, INOUTMNG03010_DETAIL_GRID_LIST, 'lg');
500
+
488 501
 			this.gridRows = param.recordData;
489 502
 			this.unload();
490 503
 			this.load(param.recordData);

+ 13 - 13
src/main/webapp/js/app/inoutmng/ITP_INOUTMNG04010.js

@@ -38,28 +38,28 @@ const gridColModel = {
38 38
 			index: 'BRAND_NM', name: 'brandNm',
39 39
 			label: ITP_MSG_LOCALE.label.brandNm,				// 브랜드명
40 40
 			width: '10', fixed: false, align: 'center',
41
-			minwidth: 100,
41
+			minwidth: 200,
42 42
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
43 43
 		},
44 44
 		{
45 45
 			index: 'SHMT_REQ_UNQ_NO', name: 'colCmdUnqNo',
46
-			label: ITP_MSG_LOCALE.label.colCmdUnqNo,			// 수거지시번호
46
+			label: '수거번호',										// 수거지시번호
47 47
 			width: '10', fixed: false, align: 'center',
48
-			minwidth: 140,
48
+			minwidth: 160,
49 49
 			sortable: false, hidden: false
50 50
 		},
51 51
 		{
52 52
 			index: 'PCH_PODR_UNQ_NO', name: 'colCmdDtlNo',
53 53
 			label: ITP_MSG_LOCALE.label.colCmdDtlNo,			// 수거지시항번
54 54
 			width: '10', fixed: false, align: 'center',
55
-			minwidth: 100,
55
+			minwidth: 90,
56 56
 			sortable: false, hidden: false
57 57
 		},
58 58
 		{
59 59
 			index: 'PCH_PODR_DTL_NO', name: 'rtnPodrUnqNo',
60 60
 			label: ITP_MSG_LOCALE.label.rtnPodrUnqNo,			// 반품발주번호
61 61
 			width: '9', fixed: false, align: 'center',
62
-			minwidth: 140,
62
+			minwidth: 160,
63 63
 			sortable: false, hidden: false
64 64
 		},
65 65
 		{
@@ -71,8 +71,8 @@ const gridColModel = {
71 71
 		},
72 72
 		{
73 73
 			index: 'SHMT_REQ_ST_CD', name: 'colCmdDtlStCd',
74
-			label: ITP_MSG_LOCALE.label.colCmdDtlStCd,			// 수거지시상태
75
-			width: '8', fixed: false, align: 'center',
74
+			label: '상태',										// 수거지시상태
75
+			width: '14', fixed: false, align: 'center',
76 76
 			sortable: false, hidden: false, formatter: 'select', edittype: 'select',
77 77
 			editoptions: {value: ITP_COL_CMD_DTL_ST_CD}
78 78
 		},
@@ -80,19 +80,19 @@ const gridColModel = {
80 80
 			index: 'ITEM_ID', name: 'itemId',
81 81
 			label: ITP_MSG_LOCALE.label.itemId,					// 품목번호
82 82
 			width: '10', fixed: false, align: 'center',
83
-			minwidth: 140,
83
+			minwidth: 160,
84 84
 			sortable: false, hidden: false
85 85
 		},
86 86
 		{
87 87
 			index: 'ITEM_NM', name: 'itemNm',
88 88
 			label: ITP_MSG_LOCALE.label.itemNm,					// 품목명
89 89
 			width: '10', fixed: false, align: 'left',
90
-			minwidth: 120,
90
+			minwidth: 200,
91 91
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
92 92
 		},
93 93
 		{
94 94
 			index: 'WHS_NM', name: 'rtnWhsNm',
95
-			label: ITP_MSG_LOCALE.label.rtnWhsNm,			// 반품장소
95
+			label: ITP_MSG_LOCALE.label.rtnWhsNm,				// 수거장소
96 96
 			width: '10', fixed: false, align: 'left',
97 97
 			minwidth: 200,
98 98
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
@@ -100,21 +100,21 @@ const gridColModel = {
100 100
 		{
101 101
 			index: 'SHMT_QTY', name: 'rtnQty',
102 102
 			label: ITP_MSG_LOCALE.label.rtnQty,				// 반품발주수량
103
-			width: '14', fixed: false, align: 'right',
103
+			width: '17', fixed: false, align: 'right',
104 104
 			sortable: false, hidden: false,
105 105
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
106 106
 		},
107 107
 		{
108 108
 			index: 'WHS_QTY', name: 'colQty',
109 109
 			label: ITP_MSG_LOCALE.label.colQty,				// 수거수량
110
-			width: '14', fixed: false, align: 'right',
110
+			width: '17', fixed: false, align: 'right',
111 111
 			sortable: false, hidden: false,
112 112
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
113 113
 		},
114 114
 		{
115 115
 			index: 'SHMT_AMT', name: 'colAmt',
116 116
 			label: ITP_MSG_LOCALE.label.colAmt,				// 수거금액
117
-			width: '14', fixed: false, align: 'right',
117
+			width: '17', fixed: false, align: 'right',
118 118
 			minwidth: 80,
119 119
 			sortable: false, hidden: false,
120 120
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }