浏览代码

출하수거관리-출하지시 세부수정

yhl88 2 年之前
父节点
当前提交
6625c42223
共有 1 个文件被更改,包括 13 次插入16 次删除
  1. 13 16
      src/main/webapp/js/app/inoutmng/ITP_INOUTMNG01010.js

+ 13 - 16
src/main/webapp/js/app/inoutmng/ITP_INOUTMNG01010.js

@@ -195,7 +195,7 @@ const gridColModel = {
195
 			index: 'PCH_PODR_UNQ_NO', name: 'pchPodrUnqNo',
195
 			index: 'PCH_PODR_UNQ_NO', name: 'pchPodrUnqNo',
196
 			label: ITP_MSG_LOCALE.label.pchPodrUnqNo, //구매발주번호
196
 			label: ITP_MSG_LOCALE.label.pchPodrUnqNo, //구매발주번호
197
 			width: '10', fixed: false, align: 'center',
197
 			width: '10', fixed: false, align: 'center',
198
-			minwidth: 140,
198
+			minwidth: 130,
199
 			sortable: false, hidden: false
199
 			sortable: false, hidden: false
200
 		},
200
 		},
201
 		{
201
 		{
@@ -228,34 +228,32 @@ const gridColModel = {
228
 			index: 'WHS_NM', name: 'whsNm',
228
 			index: 'WHS_NM', name: 'whsNm',
229
 			label: ITP_MSG_LOCALE.label.whsNm, //납품창고명
229
 			label: ITP_MSG_LOCALE.label.whsNm, //납품창고명
230
 			width: '15', fixed: false, align: 'left',
230
 			width: '15', fixed: false, align: 'left',
231
-			minwidth: 220,
232
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
231
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
233
 		},
232
 		},
234
 		{
233
 		{
235
 			index: 'LOCATION', name: 'location',
234
 			index: 'LOCATION', name: 'location',
236
 			label: ITP_MSG_LOCALE.label.location, //납품LOCATION
235
 			label: ITP_MSG_LOCALE.label.location, //납품LOCATION
237
-			width: '15', fixed: false, align: 'center',
236
+			width: '10', fixed: false, align: 'center',
238
 			sortable: false, hidden: true
237
 			sortable: false, hidden: true
239
 		},
238
 		},
240
 		{
239
 		{
241
 			index: 'UNIT_AMT', name: 'unitAmt',
240
 			index: 'UNIT_AMT', name: 'unitAmt',
242
 			label: ITP_MSG_LOCALE.label.unitAmt, //단가
241
 			label: ITP_MSG_LOCALE.label.unitAmt, //단가
243
-			width: '6', fixed: false, align: 'right',
244
-			minwidth: 80,
242
+			width: '15', fixed: false, align: 'right',
245
 			sortable: false, hidden: false,
243
 			sortable: false, hidden: false,
246
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
244
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
247
 		},
245
 		},
248
 		{
246
 		{
249
 			index: 'PODR_QTY', name: 'podrQty',
247
 			index: 'PODR_QTY', name: 'podrQty',
250
 			label: ITP_MSG_LOCALE.label.podrQty, //발주수량
248
 			label: ITP_MSG_LOCALE.label.podrQty, //발주수량
251
-			width: '10', fixed: false, align: 'right',
249
+			width: '15', fixed: false, align: 'right',
252
 			sortable: false, hidden: false,
250
 			sortable: false, hidden: false,
253
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
251
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
254
 		},
252
 		},
255
 		{
253
 		{
256
 			index: 'SHMT_QTY', name: 'shmtQty',
254
 			index: 'SHMT_QTY', name: 'shmtQty',
257
 			label: ITP_MSG_LOCALE.label.shmtQty, //출고수량
255
 			label: ITP_MSG_LOCALE.label.shmtQty, //출고수량
258
-			width: '10', fixed: false, align: 'right',
256
+			width: '15', fixed: false, align: 'right',
259
 			sortable: true, editable: true, edittype: 'text',
257
 			sortable: true, editable: true, edittype: 'text',
260
 			editrules: { required: true, number: true },
258
 			editrules: { required: true, number: true },
261
 			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');"}, 
259
 			editoptions: {"onKeyup": "this.value=this.value.replace(/[^0-9]/g,'');"}, 
@@ -264,14 +262,14 @@ const gridColModel = {
264
 		{
262
 		{
265
 			index: 'STCK_QTY', name: 'stckQty',
263
 			index: 'STCK_QTY', name: 'stckQty',
266
 			label: ITP_MSG_LOCALE.label.stckQty, //현 재고
264
 			label: ITP_MSG_LOCALE.label.stckQty, //현 재고
267
-			width: '10', fixed: false, align: 'right',
265
+			width: '15', fixed: false, align: 'right',
268
 			sortable: false, hidden: false,
266
 			sortable: false, hidden: false,
269
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
267
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
270
 		},
268
 		},
271
 		{
269
 		{
272
 			index: 'EXPRY_YN', name: 'expryYn',
270
 			index: 'EXPRY_YN', name: 'expryYn',
273
 			label: ITP_MSG_LOCALE.label.expryYn, //유통기한여부
271
 			label: ITP_MSG_LOCALE.label.expryYn, //유통기한여부
274
-			width: '10', fixed: false, align: 'center',
272
+			width: '14', fixed: false, align: 'center',
275
 			sortable: false, hidden: false
273
 			sortable: false, hidden: false
276
 		},
274
 		},
277
 		{
275
 		{
@@ -291,14 +289,14 @@ const gridColModel = {
291
 		{
289
 		{
292
 			index: 'PODR_AMT', name: 'podrAmt',
290
 			index: 'PODR_AMT', name: 'podrAmt',
293
 			label: ITP_MSG_LOCALE.label.podrAmt, //발주금액
291
 			label: ITP_MSG_LOCALE.label.podrAmt, //발주금액
294
-			width: '10', fixed: false, align: 'right',
292
+			width: '15', fixed: false, align: 'right',
295
 			sortable: false, hidden: false,
293
 			sortable: false, hidden: false,
296
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
294
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
297
 		},
295
 		},
298
 		{
296
 		{
299
 			index: 'DLV_REQ_DT', name: 'dlvReqDt',
297
 			index: 'DLV_REQ_DT', name: 'dlvReqDt',
300
 			label: ITP_MSG_LOCALE.label.dlvReqDt, //납품요청일
298
 			label: ITP_MSG_LOCALE.label.dlvReqDt, //납품요청일
301
-			width: '10', fixed: false, align: 'center',
299
+			width: '13', fixed: false, align: 'center',
302
 			sortable: false, hidden: false
300
 			sortable: false, hidden: false
303
 		},
301
 		},
304
 		{
302
 		{
@@ -316,8 +314,7 @@ const gridColModel = {
316
 		{
314
 		{
317
 			index: 'SHMT_WHS_NM', name: 'shmtWhsNm',
315
 			index: 'SHMT_WHS_NM', name: 'shmtWhsNm',
318
 			label: ITP_MSG_LOCALE.label.shmtWhsNm, //출고창고명
316
 			label: ITP_MSG_LOCALE.label.shmtWhsNm, //출고창고명
319
-			width: '10', fixed: false, align: 'left',
320
-			minwidth: 220,
317
+			width: '12', fixed: false, align: 'left',
321
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
318
 			sortable: false, hidden: false, classes: 'ui-ellipsis'
322
 		}
319
 		}
323
 	]
320
 	]
@@ -362,8 +359,7 @@ let pageObj = {
362
 		},
359
 		},
363
 		grid: function() {
360
 		grid: function() {
364
 			itp_fn_jqgrid_resize(INOUTMNG01010_GRID_ID, INOUTMNG01010_GRID_LIST, 'lg');
361
 			itp_fn_jqgrid_resize(INOUTMNG01010_GRID_ID, INOUTMNG01010_GRID_LIST, 'lg');
365
-			//listObj.empty.init();
366
-			
362
+			listObj.empty.init();
367
 		},
363
 		},
368
 		ready: function() {
364
 		ready: function() {
369
 			listObj.init();
365
 			listObj.init();
@@ -500,7 +496,8 @@ let pageObj = {
500
 			this.gridRows = param.recordData;
496
 			this.gridRows = param.recordData;
501
 			this.unload();
497
 			this.unload();
502
 			this.load(param.recordData);
498
 			this.load(param.recordData);
503
-			
499
+			itp_fn_jqgrid_resize(INOUTMNG01010_DETAIL_GRID_ID, INOUTMNG01010_DETAIL_GRID_LIST, 'lg');
500
+
504
 		},
501
 		},
505
 		gridId: '',
502
 		gridId: '',
506
 		button: {},
503
 		button: {},