Просмотр исходного кода

Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view

yhl88 лет назад: 2
Родитель
Сommit
b7277211fc

+ 1 - 1
src/main/webapp/app/pomng/POMNG01010.html

@@ -114,7 +114,7 @@
114 114
 											</div>
115 115
 										</div>
116 116
 										<div id="ITP_POMNG01010_DETAIL_jqGrid_list" class="itp_tb_list">
117
-										    <div id="ITP_POMNG01010_DETAIL_jqGridView" class="itp_views fix"></div>
117
+										    <!-- <div id="ITP_POMNG01010_DETAIL_jqGridView" class="itp_views fix"></div> -->
118 118
 										    <table id="ITP_POMNG01010_DETAIL_jqGrid"></table>
119 119
 										    <div id="ITP_POMNG01010_DETAIL_jqGridPager"></div>
120 120
 										    <div id="ITP_POMNG01010_DETAIL_jqGridEmpty" class="itp_no_data"></div>

+ 1 - 1
src/main/webapp/app/pomng/POMNG02010.html

@@ -272,7 +272,7 @@
272 272
 											<h4 class="itp_table_tit">요청 품목</h4>
273 273
 										</div>
274 274
 										<div id="ITP_POMNG02010_VIEW_jqGrid_list" class="itp_tb_list">
275
-										    <div id="ITP_POMNG02010_VIEW_jqGridView" class="itp_views fix"></div>
275
+										    <!-- <div id="ITP_POMNG02010_VIEW_jqGridView" class="itp_views fix"></div> -->
276 276
 										    <table id="ITP_POMNG02010_VIEW_jqGrid"></table>
277 277
 									     	<div id="ITP_POMNG02010_VIEW_jqGridPager"></div>
278 278
 										    <div id="ITP_POMNG02010_VIEW_jqGridEmpty" class="itp_no_data"></div>

+ 17 - 9
src/main/webapp/app/pomng/POMNG03010.html

@@ -204,12 +204,16 @@
204 204
 										<div class="form-group">
205 205
 											<label class="col-xs-2 itp_lb">공급업체명*</label>
206 206
 											<div class="col-xs-4 itp_ip">
207
-												<div class="col-xs-5 itp_in">
208
-													<input type="text" id="ITP_FORM_POMNG03010_NDETAIL_SPPLY_NM" data-check-required="empty" class="form-control itp_input" name="spplyNm" readonly="readonly" />
207
+												<div class="col-xs-8 itp_in">
208
+													<div class="input-group">
209
+														<input type="text" id="ITP_FORM_POMNG03010_NDETAIL_SPPLY_NM" data-check-required="empty" class="form-control itp_input" name="spplyNm" readonly="readonly" />
210
+														<span class="input-group-btn">
211
+															<button id="ITP_BTN_POMNG03010_NDETAIL_DELETE_SPPLY_NM" class="btn btn-default btn-sm itp_btn UPB SHOW" type="button"><i class="glyphicon glyphicon-erase"></i></button>
212
+														</span>
213
+													</div>
209 214
 												</div>
210
-												<div class="col-xs-4 itp_in" style="padding-left: 3px;">
215
+												<div class="col-xs-a itp_in" style="padding-left: 3px;">
211 216
 													<button type="button" id="ITP_BTN_POMNG03010_NDETAIL_SEARCH_SPPLY_NM" class="btn btn-success btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
212
-													<button type="button" id="ITP_BTN_POMNG03010_NDETAIL_DELETE_SPPLY_NM" class="btn btn-primary btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
213 217
 								                </div>
214 218
 											</div>
215 219
 											<label class="col-xs-2 itp_lb">발주일자</label>
@@ -220,12 +224,16 @@
220 224
 										<div class="form-group">
221 225
 											<label class="col-xs-2 itp_lb">납품장소 *</label>
222 226
 											<div class="col-xs-4 itp_ip">
223
-												<div class="col-xs-5 itp_in">
224
-													<input type="text" id="ITP_FORM_POMNG03010_NDETAIL_WHS_NM" data-check-required="empty" class="form-control itp_input" name="whsNm" readonly="readonly" />
227
+												<div class="col-xs-8 itp_in">
228
+													<div class="input-group">
229
+														<input type="text" id="ITP_FORM_POMNG03010_NDETAIL_WHS_NM" data-check-required="empty" class="form-control itp_input" name="whsNm" readonly="readonly" />
230
+														<span class="input-group-btn">
231
+															<button id="ITP_BTN_POMNG03010_DELETE_WHS_NM" class="btn btn-default btn-sm itp_btn UPB SHOW" type="button"><i class="glyphicon glyphicon-erase"></i></button>
232
+														</span>
233
+													</div>
225 234
 												</div>
226
-												<div class="col-xs-4 itp_in" style="padding-left: 3px;">
235
+												<div class="col-xs-a itp_in" style="padding-left: 3px;">
227 236
 													<button type="button" id="ITP_BTN_POMNG03010_SEARCH_WHS_NM" class="btn btn-success btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
228
-													<button type="button" id="ITP_BTN_POMNG03010_DELETE_WHS_NM" class="btn btn-primary btn-sm SHOW" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
229 237
 								                </div>
230 238
 											</div>
231 239
 											<label class="col-xs-2 itp_lb">발주 총 금액</label>
@@ -263,7 +271,7 @@
263 271
 											</div>
264 272
 										</div>
265 273
 										<div id="ITP_POMNG03010_NDETAIL_jqGrid_list" class="itp_tb_list">
266
-										  <div id="ITP_POMNG03010_NDETAIL_jqGridView" class="itp_views fix"></div>
274
+										  <!-- <div id="ITP_POMNG03010_NDETAIL_jqGridView" class="itp_views fix"></div> -->
267 275
 										  <table id="ITP_POMNG03010_NDETAIL_jqGrid"></table>
268 276
 										  <div id="ITP_POMNG03010_NDETAIL_jqGridPager"></div>
269 277
 										  <div id="ITP_POMNG03010_NDETAIL_jqGridEmpty" class="itp_no_data"></div>

+ 2 - 2
src/main/webapp/app/pomng/POMNG04010.html

@@ -23,9 +23,9 @@
23 23
 										</div>										
24 24
 										<div class="col-xs-3 itp_ip itp_noMar">
25 25
 											<div class="input-daterange input-group date">
26
-												<input type="text" id="ITP_FORM_POMNG04010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="">
26
+												<input type="text" id="ITP_FORM_POMNG04010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="" readonly>
27 27
 												<span class="input-group-addon itp_date_to">~</span>
28
-												<input type="text" id="ITP_FORM_POMNG04010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="">
28
+												<input type="text" id="ITP_FORM_POMNG04010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
29 29
 											</div>
30 30
 										</div>
31 31
 										<div class="col-xs-2 itp_ip itp_noMar">

+ 2 - 2
src/main/webapp/js/app/pomng/ITP_POMNG01010.js

@@ -48,7 +48,7 @@ const gridColModel = {
48 48
 		{
49 49
 			index: 'ITEM_NM', name: 'itemNm',
50 50
 			label: ITP_MSG_LOCALE.label.itemNm,
51
-			width: '30', fixed: false, align: 'center',
51
+			width: '30', fixed: false, align: 'left',
52 52
 			sortable: true, editable: false, edittype: 'text',
53 53
 			editrules: { required: true }
54 54
 		},
@@ -61,7 +61,7 @@ const gridColModel = {
61 61
 		{
62 62
 			index: 'UNIT_AMT', name: 'unitAmt',
63 63
 			label: ITP_MSG_LOCALE.label.unitAmt,
64
-			width: '10', fixed: false, align: 'center',
64
+			width: '10', fixed: false, align: 'right',
65 65
 			sortable: false, editable: false, edittype: 'text', hidden: false, 
66 66
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
67 67
 		},

+ 13 - 5
src/main/webapp/js/app/pomng/ITP_POMNG02010.js

@@ -63,6 +63,7 @@ const gridColModel = {
63 63
 			index: 'BRAND_NM', name: 'brandNm',
64 64
 			label: ITP_MSG_LOCALE.label.brandNm, //브랜드명
65 65
 			width: '10', fixed: false, align: 'center',
66
+			minwidth: 120,
66 67
 			sortable: false, hidden: false
67 68
 		},
68 69
 		{
@@ -73,33 +74,37 @@ const gridColModel = {
73 74
 		},
74 75
 		{
75 76
 			index: 'PCH_REQ_UNQ_NO', name: 'pchReqUnqNo',
76
-			label: ITP_MSG_LOCALE.label.pchReqUnqNo
77
-			, //구매요청번호
77
+			label: ITP_MSG_LOCALE.label.pchReqUnqNo, //구매요청번호
78 78
 			width: '10', fixed: false, align: 'center',
79
+			minwidth: 120,
79 80
 			sortable: false, hidden: false
80 81
 		},
81 82
 		{
82 83
 			index: 'PCH_REQ_NM', name: 'pchReqNm',
83 84
 			label: ITP_MSG_LOCALE.label.pchReqNm, //구매요청명
84 85
 			width: '13', fixed: false, align: 'left',
86
+			minwidth: 160,
85 87
 			sortable: false, hidden: false
86 88
 		},
87 89
 		{
88 90
 			index: 'PCH_REQ_ST_CD', name: 'pchReqStCd',
89 91
 			label: ITP_MSG_LOCALE.label.pchReqStCd, //구매요청상태
90 92
 			width: '15', fixed: false, align: 'center',
93
+			minwidth: 10,
91 94
 			sortable: false, hidden: true
92 95
 		},
93 96
 		{
94 97
 			index: 'PCH_REQ_ST_NM', name: 'pchReqStNm',
95 98
 			label: ITP_MSG_LOCALE.label.pchReqStNm, //구매요청상태명
96 99
 			width: '6', fixed: false, align: 'center',
100
+			minwidth: 100,
97 101
 			sortable: false, hidden: false
98 102
 		},
99 103
 		{
100 104
 			index: 'PCH_REQ_DT', name: 'pchReqDt',
101 105
 			label: ITP_MSG_LOCALE.label.pchReqDt, //구매요청일
102 106
 			width: '10', fixed: false, align: 'center',
107
+			minwidth: 100,
103 108
 			sortable: false, hidden: false
104 109
 		},
105 110
 		{
@@ -131,19 +136,22 @@ const gridColModel = {
131 136
 		{
132 137
 			index: 'PCH_REQ_MGR_NM', name: 'pchReqMgrNm',
133 138
 			label: ITP_MSG_LOCALE.label.pchReqMgrNm, //구매요청자명
134
-			width: '10', fixed: false, align: 'center',
139
+			width: '10', fixed: false, align: 'left',
140
+			minwidth: 100,
135 141
 			sortable: false, hidden: false
136 142
 		},
137 143
 		{
138 144
 			index: 'DLV_REQ_DT', name: 'dlvReqDt',
139 145
 			label: ITP_MSG_LOCALE.label.dlvReqDt, //납품요청일
140 146
 			width: '10', fixed: false, align: 'center',
147
+			minwidth: 100,
141 148
 			sortable: false, hidden: false
142 149
 		},
143 150
 		{
144 151
 			index: 'WHS_LOCATION_NM', name: 'whsLocationNm',
145 152
 			label: ITP_MSG_LOCALE.label.whsLocationNm, //납품창고
146 153
 			width: '10', fixed: false, align: 'left',
154
+			minwidth: 200,
147 155
 			sortable: false, hidden: false
148 156
 		}
149 157
 	],
@@ -178,7 +186,7 @@ const gridColModel = {
178 186
 		{
179 187
 			index: 'ITEM_NM', name: 'itemNm',
180 188
 			label: ITP_MSG_LOCALE.label.itemNm,
181
-			width: '30', fixed: false, align: 'center',
189
+			width: '30', fixed: false, align: 'left',
182 190
 			sortable: true, editable: false, edittype: 'text',
183 191
 			editrules: { required: true }
184 192
 		},
@@ -191,7 +199,7 @@ const gridColModel = {
191 199
 		{
192 200
 			index: 'UNIT_AMT', name: 'unitAmt',
193 201
 			label: ITP_MSG_LOCALE.label.unitAmt,
194
-			width: '10', fixed: false, align: 'center',
202
+			width: '10', fixed: false, align: 'right',
195 203
 			sortable: false, editable: false, edittype: 'text', hidden: false,
196 204
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
197 205
 		},

+ 12 - 5
src/main/webapp/js/app/pomng/ITP_POMNG03010.js

@@ -66,7 +66,8 @@ const gridColModel = {
66 66
 		{
67 67
 			index: 'BRAND_NM', name: 'brandNm',
68 68
 			label: ITP_MSG_LOCALE.label.brandNm, //브랜드명
69
-			width: '10', fixed: false, align: 'center',
69
+			width: '10', fixed: false, align: 'left',
70
+			minwidth: 120,
70 71
 			sortable: false, hidden: false
71 72
 		},
72 73
 		{
@@ -79,6 +80,7 @@ const gridColModel = {
79 80
 			index: 'PCH_REQ_UNQ_NO', name: 'pchReqUnqNo',
80 81
 			label: ITP_MSG_LOCALE.label.pchReqUnqNo, //구매요청고유번호
81 82
 			width: '10', fixed: false, align: 'center',
83
+			minwidth: 140,
82 84
 			sortable: false, hidden: false
83 85
 		},
84 86
 		{
@@ -109,6 +111,7 @@ const gridColModel = {
109 111
 			index: 'SPPLY_NM', name: 'spplyNm',
110 112
 			label: ITP_MSG_LOCALE.label.spplyNm, //공급사명
111 113
 			width: '6', fixed: false, align: 'left',
114
+			minwidth: 100,
112 115
 			sortable: false, hidden: false
113 116
 		},
114 117
 		{
@@ -121,6 +124,7 @@ const gridColModel = {
121 124
 			index: 'WHS_NM', name: 'whsNm',
122 125
 			label: ITP_MSG_LOCALE.label.whsNm, //창고명
123 126
 			width: '10', fixed: false, align: 'left',
127
+			minwidth: 100,
124 128
 			sortable: false, hidden: false
125 129
 		},
126 130
 		{
@@ -139,12 +143,14 @@ const gridColModel = {
139 143
 			index: 'ITEM_ID', name: 'itemId',
140 144
 			label: ITP_MSG_LOCALE.label.itemId, //품목아이디
141 145
 			width: '10', fixed: false, align: 'center',
146
+			minwidth: 140,
142 147
 			sortable: false, hidden: false
143 148
 		},
144 149
 		{
145 150
 			index: 'ITEM_NM', name: 'itemNm',
146 151
 			label: ITP_MSG_LOCALE.label.itemNm, //품목명
147 152
 			width: '10', fixed: false, align: 'left',
153
+			minwidth: 100,
148 154
 			sortable: false, hidden: false
149 155
 		},
150 156
 		{
@@ -192,6 +198,7 @@ const gridColModel = {
192 198
 			index: 'LEAD_TIME', name: 'leadTime',
193 199
 			label: ITP_MSG_LOCALE.label.leadTime, //리드타임
194 200
 			width: '10', fixed: false, align: 'right',
201
+			minwidth: 100,
195 202
 			sortable: false, hidden: false
196 203
 		}
197 204
 	],
@@ -205,7 +212,7 @@ const gridColModel = {
205 212
 		{
206 213
 			index: 'PCH_REQ_UNQ_NO', name: 'pchReqUnqNo',
207 214
 			label: ITP_MSG_LOCALE.label.pchReqUnqNo,  //구매요청번호
208
-			width: '20', fixed: false, align: 'center',
215
+			width: '16', fixed: false, align: 'center',
209 216
 			sortable: false, hidden: false, edittype: 'text',
210 217
 			 editable: false
211 218
 		},
@@ -219,7 +226,7 @@ const gridColModel = {
219 226
 		{
220 227
 			index: 'ITEM_ID', name: 'itemId',
221 228
 			label: ITP_MSG_LOCALE.label.itemId, // 품목아이디
222
-			width: '10', fixed: false, align: 'center',
229
+			width: '12', fixed: false, align: 'center',
223 230
 			sortable: false, editable: false, edittype: 'text',
224 231
 			hidden: false
225 232
 		},
@@ -233,7 +240,7 @@ const gridColModel = {
233 240
 		{
234 241
 			index: 'UNIT_AMT', name: 'unitAmt',
235 242
 			label: ITP_MSG_LOCALE.label.unitAmt, //단가
236
-			width: '10', fixed: false, align: 'right',
243
+			width: '7', fixed: false, align: 'right',
237 244
 			sortable: false, editable: false, edittype: 'text',
238 245
 			hidden: false,
239 246
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
@@ -241,7 +248,7 @@ const gridColModel = {
241 248
 		{
242 249
 			index: 'UNIT', name: 'unit',
243 250
 			label: ITP_MSG_LOCALE.label.unit, //단위
244
-			width: '10', fixed: false, align: 'center',
251
+			width: '8', fixed: false, align: 'center',
245 252
 			sortable: false, editable: false, edittype: 'text',
246 253
 			hidden: false
247 254
 		},

+ 4 - 4
src/main/webapp/js/app/pomng/ITP_POMNG04010.js

@@ -38,7 +38,7 @@ const gridColModel = {
38 38
 		{
39 39
 			index: 'BRAND_NM', name: 'brandNm',
40 40
 			label: ITP_MSG_LOCALE.label.brandNm,			// 브랜드명
41
-			width: '10', fixed: false, align: 'center',
41
+			width: '10', fixed: false, align: 'left',
42 42
 			sortable: false, hidden: false
43 43
 		},
44 44
 		{
@@ -68,13 +68,13 @@ const gridColModel = {
68 68
 		{
69 69
 			index: 'SPPLY_NM', name: 'spplyNm',
70 70
 			label: ITP_MSG_LOCALE.label.spplyNm, 			// 공급업체명
71
-			width: '10', fixed: false, align: 'center',
71
+			width: '10', fixed: false, align: 'left',
72 72
 			sortable: false, hidden: false
73 73
 		},
74 74
 		{
75 75
 			index: 'PODR_TOTAL_AMT', name: 'podrTotalAmt',
76 76
 			label: ITP_MSG_LOCALE.label.podrTotalAmt, 		// 총 발주금액
77
-			width: '8', fixed: false, align: 'center',
77
+			width: '8', fixed: false, align: 'right',
78 78
 			sortable: false, hidden: false,
79 79
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
80 80
 		},
@@ -87,7 +87,7 @@ const gridColModel = {
87 87
 		{
88 88
 			index: 'PODR_MGR_NM', name: 'podrMgrNm',
89 89
 			label: ITP_MSG_LOCALE.label.podrMgrNm, 			// 발주담당자
90
-			width: '10', fixed: false, align: 'center',
90
+			width: '10', fixed: false, align: 'left',
91 91
 			sortable: false, hidden: false
92 92
 		}
93 93
 	],