|
@@ -63,7 +63,7 @@ const gridColModel = {
|
63
|
63
|
{
|
64
|
64
|
index: 'STTL_MGNT_UNQ_NO', name: 'sttlMgntUnqNo',
|
65
|
65
|
label: "정산번호",
|
66
|
|
- minwidth: 160,
|
|
66
|
+ minwidth: 180,
|
67
|
67
|
width: '10', fixed: false, align: 'center',
|
68
|
68
|
sortable: false, hidden: false
|
69
|
69
|
},
|
|
@@ -147,13 +147,14 @@ const gridColModel = {
|
147
|
147
|
{
|
148
|
148
|
index: 'ITEM_ID', name: 'itemId',
|
149
|
149
|
label: "품목코드",
|
|
150
|
+ minwidth: 300,
|
150
|
151
|
width: '10', fixed: false, align: 'center',
|
151
|
152
|
sortable: false, editable: false, edittype: 'text'
|
152
|
153
|
},
|
153
|
154
|
{
|
154
|
155
|
index: 'ITEM_NM', name: 'itemNm',
|
155
|
156
|
label: "품목명",
|
156
|
|
- width: '10', fixed: false, align: 'center',
|
|
157
|
+ width: '10', fixed: false, align: 'left',
|
157
|
158
|
sortable: false, editable: false, edittype: 'text'
|
158
|
159
|
},
|
159
|
160
|
{
|
|
@@ -165,41 +166,44 @@ const gridColModel = {
|
165
|
166
|
{
|
166
|
167
|
index: 'UNIT_AMT', name: 'unitAmt',
|
167
|
168
|
label: "단가",
|
168
|
|
- width: '8', fixed: false, align: 'center',
|
|
169
|
+ width: '8', fixed: false, align: 'right',
|
169
|
170
|
sortable: false, editable: false, edittype: 'text',
|
170
|
171
|
formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
|
171
|
172
|
},
|
172
|
173
|
{
|
173
|
174
|
index: 'PODR_QTY', name: 'podrQty',
|
174
|
175
|
label: "발주수량",
|
175
|
|
- width: '8', fixed: false, align: 'center',
|
|
176
|
+ width: '8', fixed: false, align: 'right',
|
176
|
177
|
sortable: false, editable: false, edittype: 'text',
|
177
|
178
|
formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
|
178
|
179
|
},
|
179
|
180
|
{
|
180
|
181
|
index: 'DLV_QTY', name: 'dlvQty',
|
181
|
182
|
label: "납품수량",
|
182
|
|
- width: '8', fixed: false, align: 'center',
|
|
183
|
+ width: '8', fixed: false, align: 'right',
|
183
|
184
|
sortable: false, editable: false, edittype: 'text',
|
184
|
185
|
formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
|
185
|
186
|
},
|
186
|
187
|
{
|
187
|
188
|
index: 'WHS_COL_QTY', name: 'whsColQty',
|
188
|
189
|
label: "입고/수거수량",
|
189
|
|
- width: '8', fixed: false, align: 'center',
|
|
190
|
+ minwidth: 100,
|
|
191
|
+ width: '8', fixed: false, align: 'right',
|
190
|
192
|
sortable: false, editable: false, edittype: 'text',
|
191
|
193
|
formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
|
192
|
194
|
},
|
193
|
195
|
{
|
194
|
196
|
index: 'WHS_COL_DT', name: 'whsColDt',
|
195
|
197
|
label: "입고/수거일자",
|
|
198
|
+ minwidth: 100,
|
196
|
199
|
width: '8', fixed: false, align: 'center',
|
197
|
200
|
sortable: false, editable: false, edittype: 'text'
|
198
|
201
|
},
|
199
|
202
|
{
|
200
|
203
|
index: 'WHS_COL_AMT', name: 'whsColAmt',
|
201
|
204
|
label: "입고/수거금액",
|
202
|
|
- width: '8', fixed: false, align: 'center',
|
|
205
|
+ minwidth: 100,
|
|
206
|
+ width: '8', fixed: false, align: 'right',
|
203
|
207
|
sortable: false, editable: false, edittype: 'text',
|
204
|
208
|
formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
|
205
|
209
|
},
|
|
@@ -247,14 +251,12 @@ let pageObj = {
|
247
|
251
|
view: function() {
|
248
|
252
|
// 버튼 권한설정
|
249
|
253
|
fn_proc_btn_auth('SETTMNG02010');
|
250
|
|
-
|
251
|
254
|
// 공통코드 표시
|
252
|
255
|
$('select').each(function() {
|
253
|
256
|
if($(this).data('select-code')) {
|
254
|
257
|
fn_make_select(CODE_LIST, $(this).data('select-code'), $(this).attr('id'));
|
255
|
258
|
}
|
256
|
259
|
});
|
257
|
|
-
|
258
|
260
|
// 조회일자 지정
|
259
|
261
|
var now = new Date();
|
260
|
262
|
$('#ITP_TAB_SETTMNG02010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
|
|
@@ -268,7 +270,6 @@ let pageObj = {
|
268
|
270
|
$('#ITP_FORM_SETTMNG02010_SEARCH_STORE_ID').val(fn_make_user_info.get('storeId'));
|
269
|
271
|
$('#ITP_FORM_SETTMNG02010_SEARCH_STORE_SPPLY_NM').val(fn_make_user_info.get('storeNm'));
|
270
|
272
|
}
|
271
|
|
-
|
272
|
273
|
},
|
273
|
274
|
grid: function() {
|
274
|
275
|
itp_fn_jqgrid_resize(SETTMNG02010_GRID_ID, SETTMNG02010_GRID_LIST, 'lg');
|
|
@@ -434,6 +435,7 @@ let listObj = {
|
434
|
435
|
this.unload();
|
435
|
436
|
this.load();
|
436
|
437
|
},
|
|
438
|
+
|
437
|
439
|
load: function() {
|
438
|
440
|
let param = $('#ITP_FORM_SETTMNG02010_SEARCH').serializeObject();
|
439
|
441
|
param.gridSize = $.jgrid.defaults.rowNum;
|
|
@@ -485,6 +487,7 @@ let listObj = {
|
485
|
487
|
let modifyObj = {
|
486
|
488
|
init: function (param) {
|
487
|
489
|
this.load(param);
|
|
490
|
+ this.grid.init();
|
488
|
491
|
},
|
489
|
492
|
button: {
|
490
|
493
|
cancel: function() {
|
|
@@ -562,11 +565,11 @@ let modifyObj = {
|
562
|
565
|
this.unload();
|
563
|
566
|
this.load();
|
564
|
567
|
},
|
|
568
|
+ colModel: gridColModel.view,
|
565
|
569
|
load : function() {
|
566
|
570
|
let param = $('#ITP_FORM_SETTMNG02010_DETAIL').serializeObject();
|
567
|
571
|
param.gridSize = $.jgrid.defaults.rowNum;
|
568
|
|
- param.pagingYn = false; // 페이징안함
|
569
|
|
-
|
|
572
|
+ //param.pagingYn = false; // 페이징안함
|
570
|
573
|
var option = {
|
571
|
574
|
gridId: SETTMNG02010_DETAIL_GRID_ID,
|
572
|
575
|
colModel: gridColModel.view,
|
|
@@ -615,4 +618,5 @@ let modifyObj = {
|
615
|
618
|
$.jgrid.gridUnload(SETTMNG02010_DETAIL_GRID_ID);
|
616
|
619
|
}
|
617
|
620
|
}
|
|
621
|
+
|
618
|
622
|
};
|