Browse Source

반품발주생성, 현황 미세조정

yhl88 2 years ago
parent
commit
3bce3f8478

+ 12 - 10
src/main/webapp/js/app/rtnmng/ITP_RTNMNG03010.js

@@ -85,19 +85,19 @@ const gridColModel = {
85 85
 			index: 'BRAND_NM', name: 'brandNm',
86 86
 			label: ITP_MSG_LOCALE.label.brandNm, //브랜드명
87 87
 			width: '10', fixed: false, align: 'left',
88
-			sortable: false, hidden: false
88
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
89 89
 		},
90 90
 		{
91 91
 			index: 'RTN_WHS_NM', name: 'rtnWhsNm',
92 92
 			label: '반품장소', 
93 93
 			width: '10', fixed: false, align: 'left',
94
-			sortable: false, hidden: false
94
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
95 95
 		},
96 96
 		{
97 97
 			index: 'SPPLY_NM', name: 'spplyNm',
98 98
 			label: '공급사명', 
99 99
 			width: '10', fixed: false, align: 'left',
100
-			sortable: false, hidden: false
100
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
101 101
 		},
102 102
 		{
103 103
 			index: 'ITEM_ID', name: 'itemId',
@@ -110,7 +110,7 @@ const gridColModel = {
110 110
 			label: ITP_MSG_LOCALE.label.itemNm, //품목명
111 111
 			minwidth: 100,
112 112
 			width: '7', fixed: false, align: 'left',
113
-			sortable: false, hidden: false
113
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
114 114
 		},
115 115
 		{
116 116
 			index: 'RTN_QTY', name: 'rtnQty',
@@ -130,7 +130,8 @@ const gridColModel = {
130 130
 			label: '반품금액', 
131 131
 			width: '10', fixed: false, align: 'right',
132 132
 			sortable: false, hidden: true,
133
-			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
133
+			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' },
134
+			classes: 'ui-ellipsis'
134 135
 		},
135 136
 		{
136 137
 			index: 'RTN_REQ_DT', name: 'rtnReqDt',
@@ -216,7 +217,7 @@ const gridColModel = {
216 217
 			width: '8', fixed: false, align: 'right',
217 218
 			sortable: false, editable: true, edittype: 'text',
218 219
 			editrules: {required: true}, hidden: false,
219
-			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');"}, 
220
+			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');", maxlength: 10}, 
220 221
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
221 222
 		},
222 223
 		{
@@ -237,7 +238,7 @@ const gridColModel = {
237 238
 		{
238 239
 			index: 'RTN_DVSN', name: 'rtnDvsn',
239 240
 			label: '반품구분', 
240
-			width: '6', fixed: false, align: 'left',
241
+			width: '6', fixed: false, align: 'center',
241 242
 			sortable: false, editable: false, edittype: 'text',
242 243
 			hidden: true
243 244
 		},
@@ -341,7 +342,7 @@ const gridColModel = {
341 342
 			width: '10', fixed: false, align: 'right',
342 343
 			sortable: false, editable: true, edittype: 'text',
343 344
 			editrules: {required: true}, hidden: false,
344
-			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');"}, 
345
+			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');", maxlength: 10}, 
345 346
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
346 347
 		},
347 348
 		{
@@ -350,7 +351,7 @@ const gridColModel = {
350 351
 			width: '10', fixed: false, align: 'right',
351 352
 			sortable: false, editable: false, edittype: 'text',
352 353
 			hidden: false,
353
-			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
354
+			formatter:'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
354 355
 		},
355 356
 		{
356 357
 			index: 'RTN_DVSN', name: 'rtnDvsn',
@@ -372,7 +373,8 @@ const gridColModel = {
372 373
 			index: 'RTN_RSN', name: 'rtnRsn',
373 374
 			label: '반품사유', classes: 'input_color',
374 375
 			width: '15', fixed: false, align: 'left',
375
-			sortable: false, editable: true, edittype: 'text'
376
+			sortable: false, editable: true, edittype: 'text',
377
+			editoptions: {maxlength: 200}
376 378
 		},
377 379
 		{
378 380
 			index: 'BRAND_UNIT_UNQ_NO', name: 'brandUnitUnqNo',

+ 12 - 12
src/main/webapp/js/app/rtnmng/ITP_RTNMNG04010.js

@@ -36,7 +36,7 @@ const gridColModel = {
36 36
 			index: 'BRAND_NM', name: 'brandNm',
37 37
 			label: ITP_MSG_LOCALE.label.brandNm,			// 브랜드명
38 38
 			width: '9', fixed: false, align: 'left',
39
-			sortable: false, hidden: false
39
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
40 40
 		},
41 41
 		{
42 42
 			index: 'RTN_PODR_UNQ_NO', name: 'rtnPodrUnqNo',
@@ -47,7 +47,7 @@ const gridColModel = {
47 47
 		{
48 48
 			index: 'RTN_ODR_ST_NM', name: 'rtnOdrStNm',
49 49
 			label: '발주상태', 
50
-			width: '7', fixed: false, align: 'left',
50
+			width: '7', fixed: false, align: 'center',
51 51
 			sortable: false, hidden: false
52 52
 		},
53 53
 		{
@@ -60,13 +60,13 @@ const gridColModel = {
60 60
 			index: 'RTN_WHS_NM', name: 'rtnWhsNm',
61 61
 			label: '수거처', 
62 62
 			width: '9', fixed: false, align: 'left',
63
-			sortable: false, hidden: false
63
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
64 64
 		},
65 65
 		{
66 66
 			index: 'SPPLY_NM', name: 'spplyNm',
67 67
 			label: ITP_MSG_LOCALE.label.spplyNm, 			// 공급업체명
68 68
 			width: '10', fixed: false, align: 'left',
69
-			sortable: false, hidden: false
69
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
70 70
 		},
71 71
 		{
72 72
 			index: 'RTN_DODR_TOTAL_AMT', name: 'rtnDodrTotalAmt',
@@ -91,7 +91,7 @@ const gridColModel = {
91 91
 		{
92 92
 			index: 'col_Dvsn_Nm', name: 'colDvsnNm',
93 93
 			label: '수거구분', 
94
-			width: '7', fixed: false, align: 'left',
94
+			width: '7', fixed: false, align: 'center',
95 95
 			sortable: false, hidden: false
96 96
 		}
97 97
 	],
@@ -106,25 +106,25 @@ const gridColModel = {
106 106
 		{
107 107
 			index: 'RTN_PODR_DTL_NO', name: 'rtnPodrDtlNo',
108 108
 			label: ITP_MSG_LOCALE.label.pchPodrDtlNo, 		// 발주항번
109
-			width: '5', fixed: false, align: 'center',
109
+			width: '4', fixed: false, align: 'center',
110 110
 			sortable: false, hidden: false
111 111
 		},
112 112
 		{
113 113
 			index: 'ITEM_ID', name: 'itemId',
114 114
 			label: ITP_MSG_LOCALE.label.itemId, 			// 품목번호
115
-			width: '10', fixed: false, align: 'center',
115
+			width: '8', fixed: false, align: 'center',
116 116
 			sortable: false, hidden: false
117 117
 		},
118 118
 		{
119 119
 			index: 'ITEM_NM', name: 'itemNm',
120 120
 			label: ITP_MSG_LOCALE.label.itemNm, 			// 품목명
121
-			width: '5', fixed: false, align: 'left',
122
-			sortable: false, hidden: false
121
+			width: '10', fixed: false, align: 'left',
122
+			sortable: false, hidden: false, classes: 'ui-ellipsis'
123 123
 		},
124 124
 		{
125 125
 			index: 'RODR_DTL_ST_NM', name: 'rodrDtlStNm',
126 126
 			label: '발주상세상태', 
127
-			width: '5', fixed: false, align: 'left',
127
+			width: '5', fixed: false, align: 'center',
128 128
 			sortable: false, hidden: false
129 129
 		},
130 130
 		{
@@ -137,7 +137,7 @@ const gridColModel = {
137 137
 		{
138 138
 			index: 'UNIT', name: 'unit',
139 139
 			label: ITP_MSG_LOCALE.label.unit, 				// 기본단위
140
-			width: '5', fixed: false, align: 'center',
140
+			width: '4', fixed: false, align: 'center',
141 141
 			sortable: false, hidden: false
142 142
 		},
143 143
 		{
@@ -157,7 +157,7 @@ const gridColModel = {
157 157
 		{
158 158
 			index: 'RTN_ODR_AMT', name: 'rtnOdrAmt',
159 159
 			label: ITP_MSG_LOCALE.label.podrAmt, 			// 발주금액
160
-			width: '5', fixed: false, align: 'right',
160
+			width: '6', fixed: false, align: 'right',
161 161
 			sortable: false, hidden: false,
162 162
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
163 163
 		}