Browse Source

발주부분 수정 조치함

dwkim 2 years ago
parent
commit
95e4ca2621

+ 2 - 2
src/main/webapp/app/stockmng/STOCKMNG03010.html

@@ -66,8 +66,8 @@
66
 						</div>
66
 						</div>
67
 					</div>
67
 					</div>
68
 					<div class="pull-right itp_cicon itp_gird_btn">
68
 					<div class="pull-right itp_cicon itp_gird_btn">
69
-						<button type="button" id="ITP_BTN_STOCKMNG03010_DETAIL_ADDROW" class="btn btn-primary btn-sm ARB" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;품목추가&nbsp;&nbsp;</button>
70
-						<button type="button" id="ITP_BTN_STOCKMNG03010_DETAIL_DELROW" class="btn btn-primary btn-sm DRB" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;품목삭제&nbsp;&nbsp;</button>
69
+						<button type="button" id="ITP_BTN_STOCKMNG03010_DETAIL_ADDROW" class="btn btn-primary btn-sm SHOW"><i class="glyphicon "></i>&nbsp;&nbsp;품목추가&nbsp;&nbsp;</button>
70
+						<button type="button" id="ITP_BTN_STOCKMNG03010_DETAIL_DELROW" class="btn btn-danger btn-sm SHOW"><i class="glyphicon "></i>&nbsp;&nbsp;품목삭제&nbsp;&nbsp;</button>
71
 					</div>
71
 					</div>
72
 					<div class="itp_table fix">
72
 					<div class="itp_table fix">
73
 						<div id="ITP_STOCKMNG03010_jqGrid_list" class="itp_tb_list itp_gType1" data-total-cnt="${totalCnt}">
73
 						<div id="ITP_STOCKMNG03010_jqGrid_list" class="itp_tb_list itp_gType1" data-total-cnt="${totalCnt}">

+ 3 - 3
src/main/webapp/js/app/config.js

@@ -515,7 +515,7 @@ function fn_make_side_menu() {
515
 			}
515
 			}
516
 		}
516
 		}
517
 
517
 
518
-		if (tabSize > 10) {
518
+		if (tabSize > 15) {
519
 			itp_fn_modal_alert(ITP_MSG_LOCALE.message.page.noMoreTab);
519
 			itp_fn_modal_alert(ITP_MSG_LOCALE.message.page.noMoreTab);
520
 			return false;
520
 			return false;
521
 		}
521
 		}
@@ -1247,7 +1247,7 @@ function itp_fn_open_tab(param) {
1247
 	const id = param.navId;
1247
 	const id = param.navId;
1248
 	const tabSize = $('#ITP_HEADER .itp_tab_list li').size();
1248
 	const tabSize = $('#ITP_HEADER .itp_tab_list li').size();
1249
 
1249
 
1250
-	if (tabSize > 10) {
1250
+	if (tabSize > 15) {
1251
 		itp_fn_modal_alert(ITP_MSG_LOCALE.message.page.noMoreTab);
1251
 		itp_fn_modal_alert(ITP_MSG_LOCALE.message.page.noMoreTab);
1252
 		return false;
1252
 		return false;
1253
 	}
1253
 	}
@@ -1284,7 +1284,7 @@ function itp_fn_open_tab_self(param, fn) {
1284
 	const id = param.navId;
1284
 	const id = param.navId;
1285
 	const tabSize = $('#ITP_HEADER .itp_tab_list li').size();
1285
 	const tabSize = $('#ITP_HEADER .itp_tab_list li').size();
1286
 
1286
 
1287
-	if (tabSize > 10) {
1287
+	if (tabSize > 15) {
1288
 		itp_fn_modal_alert(ITP_MSG_LOCALE.message.page.noMoreTab);
1288
 		itp_fn_modal_alert(ITP_MSG_LOCALE.message.page.noMoreTab);
1289
 		return false;
1289
 		return false;
1290
 	}
1290
 	}

+ 7 - 1
src/main/webapp/js/app/inoutmng/ITP_INOUTMNG01010.js

@@ -351,7 +351,7 @@ let pageObj = {
351
 		},
351
 		},
352
 		grid: function() {
352
 		grid: function() {
353
 			itp_fn_jqgrid_resize(INOUTMNG01010_GRID_ID, INOUTMNG01010_GRID_LIST, 'lg');
353
 			itp_fn_jqgrid_resize(INOUTMNG01010_GRID_ID, INOUTMNG01010_GRID_LIST, 'lg');
354
-			listObj.empty.init();
354
+			//listObj.empty.init();
355
 			itp_fn_fire_window_resize();
355
 			itp_fn_fire_window_resize();
356
 		},
356
 		},
357
 		ready: function() {
357
 		ready: function() {
@@ -568,6 +568,7 @@ let listObj = {
568
 	},
568
 	},
569
 	empty: {
569
 	empty: {
570
 		init: function() {
570
 		init: function() {
571
+			/*
571
 			var _this = this;
572
 			var _this = this;
572
 			this.push();
573
 			this.push();
573
 			$(INOUTMNG01010_GRID_EMPTY).on('click', function() {
574
 			$(INOUTMNG01010_GRID_EMPTY).on('click', function() {
@@ -575,13 +576,17 @@ let listObj = {
575
 				_this.itp_INOUTMNG01010_param.gridSize = $.jgrid.defaults.rowNum;
576
 				_this.itp_INOUTMNG01010_param.gridSize = $.jgrid.defaults.rowNum;
576
 				$(INOUTMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_INOUTMNG01010_param)}).trigger('reloadGrid');
577
 				$(INOUTMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_INOUTMNG01010_param)}).trigger('reloadGrid');
577
 			});
578
 			});
579
+			*/
578
 		},
580
 		},
579
 		itp_INOUTMNG01010_param: {},
581
 		itp_INOUTMNG01010_param: {},
580
 		push: function() {
582
 		push: function() {
583
+			/*
581
 			let param = $('#ITP_FORM_INOUTMNG01010_SEARCH').serializeObject();
584
 			let param = $('#ITP_FORM_INOUTMNG01010_SEARCH').serializeObject();
582
 			listObj.itp_INOUTMNG01010_param = param;
585
 			listObj.itp_INOUTMNG01010_param = param;
586
+			*/
583
 		},
587
 		},
584
 		back: function() {
588
 		back: function() {
589
+			/*
585
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_FROM_DT').val(this.itp_INOUTMNG01010_param.fromDt);
590
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_FROM_DT').val(this.itp_INOUTMNG01010_param.fromDt);
586
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_TO_DT').val(this.itp_INOUTMNG01010_param.toDt);
591
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_TO_DT').val(this.itp_INOUTMNG01010_param.toDt);
587
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SSHMTWHS_ID').val(this.itp_INOUTMNG01010_param.sshmtWhsId);
592
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SSHMTWHS_ID').val(this.itp_INOUTMNG01010_param.sshmtWhsId);
@@ -589,6 +594,7 @@ let listObj = {
589
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_NM').val(this.itp_INOUTMNG01010_param.swhsNm);
594
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_NM').val(this.itp_INOUTMNG01010_param.swhsNm);
590
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_ID').val(this.itp_INOUTMNG01010_param.swhsId);
595
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_ID').val(this.itp_INOUTMNG01010_param.swhsId);
591
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_ITEM_NM').val(this.itp_INOUTMNG01010_param.sItemNm);
596
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_ITEM_NM').val(this.itp_INOUTMNG01010_param.sItemNm);
597
+			*/
592
 		}
598
 		}
593
 	},
599
 	},
594
 	grid: {
600
 	grid: {

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

@@ -88,26 +88,30 @@ const gridColModel = {
88
 			index: 'SHMT_QTY', name: 'shmtQty',
88
 			index: 'SHMT_QTY', name: 'shmtQty',
89
 			label: ITP_MSG_LOCALE.label.shmtQty,				// 출하수량
89
 			label: ITP_MSG_LOCALE.label.shmtQty,				// 출하수량
90
 			width: '8', fixed: false, align: 'right',
90
 			width: '8', fixed: false, align: 'right',
91
-			sortable: false, hidden: false
91
+			sortable: false, hidden: false,
92
+			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
92
 		},
93
 		},
93
 		{
94
 		{
94
 			index: 'SHMT_AMT', name: 'shmtAmt',
95
 			index: 'SHMT_AMT', name: 'shmtAmt',
95
 			label: ITP_MSG_LOCALE.label.shmtAmt,				// 출하금액
96
 			label: ITP_MSG_LOCALE.label.shmtAmt,				// 출하금액
96
 			width: '8', fixed: false, align: 'right',
97
 			width: '8', fixed: false, align: 'right',
97
 			minwidth: 80,
98
 			minwidth: 80,
98
-			sortable: false, hidden: false
99
+			sortable: false, hidden: false,
100
+			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
99
 		},
101
 		},
100
 		{
102
 		{
101
 			index: 'WHS_QTY', name: 'whsQty',
103
 			index: 'WHS_QTY', name: 'whsQty',
102
 			label: ITP_MSG_LOCALE.label.whsQty,					// 입고수량
104
 			label: ITP_MSG_LOCALE.label.whsQty,					// 입고수량
103
 			width: '8', fixed: false, align: 'right',
105
 			width: '8', fixed: false, align: 'right',
104
-			sortable: false, hidden: false
106
+			sortable: false, hidden: false,
107
+			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
105
 		},
108
 		},
106
 		{
109
 		{
107
 			index: 'WHS_AMT', name: 'whsAmt',
110
 			index: 'WHS_AMT', name: 'whsAmt',
108
 			label: ITP_MSG_LOCALE.label.whsAmt,					// 입고금액
111
 			label: ITP_MSG_LOCALE.label.whsAmt,					// 입고금액
109
 			width: '8', fixed: false, align: 'right',
112
 			width: '8', fixed: false, align: 'right',
110
-			sortable: false, hidden: false
113
+			sortable: false, hidden: false,
114
+			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
111
 		},
115
 		},
112
 		{
116
 		{
113
 			index: 'WHS_CNFM_NM', name: 'whsCnfmNm',
117
 			index: 'WHS_CNFM_NM', name: 'whsCnfmNm',
@@ -167,7 +171,7 @@ let pageObj = {
167
 		},
171
 		},
168
 		grid: function() {
172
 		grid: function() {
169
 			itp_fn_jqgrid_resize(INOUTMNG02010_GRID_ID, INOUTMNG02010_GRID_LIST, 'lg');
173
 			itp_fn_jqgrid_resize(INOUTMNG02010_GRID_ID, INOUTMNG02010_GRID_LIST, 'lg');
170
-			listObj.empty.init();
174
+			//listObj.empty.init();
171
 			itp_fn_fire_window_resize();
175
 			itp_fn_fire_window_resize();
172
 		},
176
 		},
173
 		ready: function() {
177
 		ready: function() {
@@ -306,6 +310,7 @@ let listObj = {
306
 	},
310
 	},
307
 	empty: {
311
 	empty: {
308
 		init: function() {
312
 		init: function() {
313
+			/*
309
 			var _this = this;
314
 			var _this = this;
310
             this.push();
315
             this.push();
311
             $(INOUTMNG02010_GRID_EMPTY).on('click', function() {
316
             $(INOUTMNG02010_GRID_EMPTY).on('click', function() {
@@ -313,16 +318,21 @@ let listObj = {
313
                 listObj.itp_INOUTMNG02010_param.gridSize = $.jgrid.defaults.rowNum;
318
                 listObj.itp_INOUTMNG02010_param.gridSize = $.jgrid.defaults.rowNum;
314
                 $(INOUTMNG02010_GRID_ID).setGridParam({'postData': JSON.stringify(listObj.itp_INOUTMNG02010_param)}).trigger('reloadGrid');
319
                 $(INOUTMNG02010_GRID_ID).setGridParam({'postData': JSON.stringify(listObj.itp_INOUTMNG02010_param)}).trigger('reloadGrid');
315
             });
320
             });
321
+*/
316
 		},
322
 		},
317
 		push: function() {
323
 		push: function() {
324
+			/*
318
             let param = $('#ITP_FORM_INOUTMNG02010_SEARCH').serializeObject();
325
             let param = $('#ITP_FORM_INOUTMNG02010_SEARCH').serializeObject();
319
             listObj.itp_INOUTMNG02010_param = param;
326
             listObj.itp_INOUTMNG02010_param = param;
320
             param.sidx = '0';
327
             param.sidx = '0';
328
+*/
321
         },
329
         },
322
         back: function() {
330
         back: function() {
331
+	/*
323
             $('#ITP_FORM_INOUTMNG02010_SERVICE_BRAND_TYPE').val(listObj.itp_INOUTMNG02010_param.brandType);
332
             $('#ITP_FORM_INOUTMNG02010_SERVICE_BRAND_TYPE').val(listObj.itp_INOUTMNG02010_param.brandType);
324
             $('#ITP_FORM_INOUTMNG02010_SERVICE_ST_CD').val(listObj.itp_INOUTMNG02010_param.stCd);
333
             $('#ITP_FORM_INOUTMNG02010_SERVICE_ST_CD').val(listObj.itp_INOUTMNG02010_param.stCd);
325
             $('#ITP_FORM_INOUTMNG02010_SEARCH_BRAND_NM').val(listObj.itp_INOUTMNG02010_param.brandNm);
334
             $('#ITP_FORM_INOUTMNG02010_SEARCH_BRAND_NM').val(listObj.itp_INOUTMNG02010_param.brandNm);
335
+*/
326
         }
336
         }
327
 	},
337
 	},
328
 	grid: {
338
 	grid: {

+ 18 - 0
src/main/webapp/js/app/ordmng/ITP_ORDMNG02010.js

@@ -356,6 +356,18 @@ let modifyObj = {
356
 				rowData[i].shmtQty = Number(rowData[i].shmtQty);
356
 				rowData[i].shmtQty = Number(rowData[i].shmtQty);
357
 			}
357
 			}
358
 			
358
 			
359
+			var now = new Date();
360
+			var today = now.getFullYear() +
361
+							"." + (now.getMonth()+1 > 9 ? (now.getMonth()+1).toString() : "0" + (now.getMonth()+1).toString()) +
362
+							"." + (now.getDate() > 9 ? now.getDate().toString() : "0" + now.getDate().toString());
363
+			
364
+			
365
+			var dlvReqDt = $('#ITP_FORM_ORDMNG02010_DETAIL_DLV_SCH_DT').val();
366
+			if (today > dlvReqDt) {
367
+				alert("납품요청일은 오늘 이후이어야 합니다.");
368
+				return;
369
+			}	
370
+			
359
 			var modalFn = {
371
 			var modalFn = {
360
 				callBack: (args) => {
372
 				callBack: (args) => {
361
 					param.gridInsertData = rowData;
373
 					param.gridInsertData = rowData;
@@ -392,6 +404,7 @@ let modifyObj = {
392
 	},
404
 	},
393
 	empty: {
405
 	empty: {
394
 		init: function() {
406
 		init: function() {
407
+			/*
395
             var _this = this;
408
             var _this = this;
396
             this.push();
409
             this.push();
397
             $(ORDMNG02010_VIEW_GRID_EMPTY).on('click', function() {
410
             $(ORDMNG02010_VIEW_GRID_EMPTY).on('click', function() {
@@ -399,15 +412,20 @@ let modifyObj = {
399
                 modifyObj.itp_ORDMNG02010_param.gridSize = $.jgrid.defaults.rowNum;
412
                 modifyObj.itp_ORDMNG02010_param.gridSize = $.jgrid.defaults.rowNum;
400
                 $(ORDMNG02010_DETAIL_GRID_ID).setGridParam({'postData': JSON.stringify(modifyObj.itp_ORDMNG02010_param)}).trigger('reloadGrid');
413
                 $(ORDMNG02010_DETAIL_GRID_ID).setGridParam({'postData': JSON.stringify(modifyObj.itp_ORDMNG02010_param)}).trigger('reloadGrid');
401
             });
414
             });
415
+*/
402
         },
416
         },
403
         push: function() {
417
         push: function() {
418
+	/*
404
             let param = $('#ITP_FORM_ORDMNG02010_DETAIL').serializeObject();
419
             let param = $('#ITP_FORM_ORDMNG02010_DETAIL').serializeObject();
405
             modifyObj.itp_ORDMNG02010_param = param;
420
             modifyObj.itp_ORDMNG02010_param = param;
421
+*/
406
         },
422
         },
407
         back: function() {
423
         back: function() {
424
+	/*
408
             $('#ITP_FORM_ORDMNG02010_SERVICE_BRAND_TYPE').val(modifyObj.itp_ORDMNG02010_param.brandType);
425
             $('#ITP_FORM_ORDMNG02010_SERVICE_BRAND_TYPE').val(modifyObj.itp_ORDMNG02010_param.brandType);
409
             $('#ITP_FORM_ORDMNG02010_SERVICE_ST_CD').val(modifyObj.itp_ORDMNG02010_param.stCd);
426
             $('#ITP_FORM_ORDMNG02010_SERVICE_ST_CD').val(modifyObj.itp_ORDMNG02010_param.stCd);
410
             $('#ITP_FORM_ORDMNG02010_SEARCH_BRAND_NM').val(modifyObj.itp_ORDMNG02010_param.brandNm);
427
             $('#ITP_FORM_ORDMNG02010_SEARCH_BRAND_NM').val(modifyObj.itp_ORDMNG02010_param.brandNm);
428
+*/
411
         }
429
         }
412
 	},
430
 	},
413
 	load: function(param) {
431
 	load: function(param) {

+ 1 - 1
src/main/webapp/js/app/pomng/ITP_POMNG02010.js

@@ -342,7 +342,7 @@ let pageObj = {
342
 		
342
 		
343
 		var whsDvsn = "";
343
 		var whsDvsn = "";
344
 		if (fn_make_user_info.get('storeId') == '' ) {
344
 		if (fn_make_user_info.get('storeId') == '' ) {
345
-			whsDvsn = "W01";
345
+			whsDvsn = "";
346
 		} else {
346
 		} else {
347
 			whsDvsn = "W02";
347
 			whsDvsn = "W02";
348
 		}
348
 		}

+ 7 - 1
src/main/webapp/js/app/pomng/ITP_POMNG03010.js

@@ -341,7 +341,7 @@ let pageObj = {
341
 			
341
 			
342
 		},
342
 		},
343
 		grid: function() {
343
 		grid: function() {
344
-			listObj.empty.init();
344
+			//listObj.empty.init();
345
 			itp_fn_jqgrid_resize(POMNG03010_GRID_ID, POMNG03010_GRID_LIST, 'lg');
345
 			itp_fn_jqgrid_resize(POMNG03010_GRID_ID, POMNG03010_GRID_LIST, 'lg');
346
 		},
346
 		},
347
 		ready: function() {
347
 		ready: function() {
@@ -875,6 +875,7 @@ let listObj = {
875
 	},
875
 	},
876
 	empty: {
876
 	empty: {
877
 		init: function() {
877
 		init: function() {
878
+			/*
878
 			var _this = this;
879
 			var _this = this;
879
 			this.push();
880
 			this.push();
880
 			$(POMNG03010_GRID_EMPTY).on('click', function() {
881
 			$(POMNG03010_GRID_EMPTY).on('click', function() {
@@ -882,13 +883,17 @@ let listObj = {
882
 				_this.itp_POMNG03010_param.gridSize = $.jgrid.defaults.rowNum;
883
 				_this.itp_POMNG03010_param.gridSize = $.jgrid.defaults.rowNum;
883
 				$(POMNG03010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_POMNG03010_param)}).trigger('reloadGrid');
884
 				$(POMNG03010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_POMNG03010_param)}).trigger('reloadGrid');
884
 			});
885
 			});
886
+			*/
885
 		},
887
 		},
886
 		itp_POMNG03010_param: {},
888
 		itp_POMNG03010_param: {},
887
 		push: function() {
889
 		push: function() {
890
+			/*
888
 			let param = $('#ITP_FORM_POMNG03010_SEARCH').serializeObject();
891
 			let param = $('#ITP_FORM_POMNG03010_SEARCH').serializeObject();
889
 			listObj.itp_POMNG03010_param = param;
892
 			listObj.itp_POMNG03010_param = param;
893
+			*/
890
 		},
894
 		},
891
 		back: function() {
895
 		back: function() {
896
+			/*
892
 			$('#ITP_FORM_POMNG03010_SEARCH_FROM_DT').val(this.itp_POMNG03010_param.fromDt);
897
 			$('#ITP_FORM_POMNG03010_SEARCH_FROM_DT').val(this.itp_POMNG03010_param.fromDt);
893
 			$('#ITP_FORM_POMNG03010_SEARCH_TO_DT').val(this.itp_POMNG03010_param.toDt);
898
 			$('#ITP_FORM_POMNG03010_SEARCH_TO_DT').val(this.itp_POMNG03010_param.toDt);
894
 			$('#ITP_FORM_POMNG03010_SEARCH_SPPLY_ID').val(this.itp_POMNG03010_param.sspplyId);
899
 			$('#ITP_FORM_POMNG03010_SEARCH_SPPLY_ID').val(this.itp_POMNG03010_param.sspplyId);
@@ -896,6 +901,7 @@ let listObj = {
896
 			$('#ITP_FORM_POMNG03010_SEARCH_WHS_NM').val(this.itp_POMNG03010_param.swhsNm);
901
 			$('#ITP_FORM_POMNG03010_SEARCH_WHS_NM').val(this.itp_POMNG03010_param.swhsNm);
897
 			$('#ITP_FORM_POMNG03010_SEARCH_WHS_ID').val(this.itp_POMNG03010_param.swhsId);
902
 			$('#ITP_FORM_POMNG03010_SEARCH_WHS_ID').val(this.itp_POMNG03010_param.swhsId);
898
 			$('#ITP_FORM_POMNG03010_SEARCH_ITEM_NM').val(this.itp_POMNG03010_param.sitemNm);
903
 			$('#ITP_FORM_POMNG03010_SEARCH_ITEM_NM').val(this.itp_POMNG03010_param.sitemNm);
904
+			*/
899
 		}
905
 		}
900
 	},
906
 	},
901
 	grid: {
907
 	grid: {

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

@@ -60,7 +60,7 @@ const gridColModel = {
60
 			sortable: false, hidden: false
60
 			sortable: false, hidden: false
61
 		},
61
 		},
62
 		{
62
 		{
63
-			index: 'LOCATION_NM', name: 'locationNm',
63
+			index: 'WHS_NM', name: 'whsNm',
64
 			label: ITP_MSG_LOCALE.label.locationNm, 		// 입고처
64
 			label: ITP_MSG_LOCALE.label.locationNm, 		// 입고처
65
 			width: '10', fixed: false, align: 'center',
65
 			width: '10', fixed: false, align: 'center',
66
 			sortable: false, hidden: false
66
 			sortable: false, hidden: false

+ 1 - 0
src/main/webapp/js/app/pomng/ITP_POMNG06010.js

@@ -295,6 +295,7 @@ let listObj = {
295
 						param.dlvCnfmDocFileNo = "";
295
 						param.dlvCnfmDocFileNo = "";
296
 						param.gridInsertData = gridInsertData;
296
 						param.gridInsertData = gridInsertData;
297
 						console.log(JSON.stringify(param));
297
 						console.log(JSON.stringify(param));
298
+						
298
 						var searhFn = function () {
299
 						var searhFn = function () {
299
 							//ITP_FORM_INOUTMNG01010_DETAIL_IS_WRITING = false;
300
 							//ITP_FORM_INOUTMNG01010_DETAIL_IS_WRITING = false;
300
 							listObj.button.search();
301
 							listObj.button.search();

+ 1 - 0
src/main/webapp/js/app/stockmng/ITP_STOCKMNG03010.js

@@ -299,6 +299,7 @@ let listObj = {
299
 			fn_ajax_call(STOCK_BASE_MNG_SAVE, JSON.stringify(param), searhFn, 'POST');
299
 			fn_ajax_call(STOCK_BASE_MNG_SAVE, JSON.stringify(param), searhFn, 'POST');
300
 		}, 
300
 		}, 
301
 		addItem: function() {
301
 		addItem: function() {
302
+			console.log("=============");
302
 			var brandId = $('#ITP_FORM_STOCKMNG03010_SEARCH_BRAND_ID').val();
303
 			var brandId = $('#ITP_FORM_STOCKMNG03010_SEARCH_BRAND_ID').val();
303
 			
304
 			
304
 			var args = {'brandId': brandId};
305
 			var args = {'brandId': brandId};