Browse Source

공급사 테스트 진행-1

yhl88 2 years ago
parent
commit
f2402562ef

+ 3 - 3
src/main/webapp/app/collmng/COLLMNG01010.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_COLLMNG01010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="">
26
+												<input type="text" id="ITP_FORM_COLLMNG01010_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_COLLMNG01010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="">
28
+												<input type="text" id="ITP_FORM_COLLMNG01010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
29 29
 											</div>
30 30
 										</div>
31 31
 									</div>
@@ -36,7 +36,7 @@
36 36
 											</select>
37 37
 										</div>
38 38
 										<div class="col-xs-3 itp_ip itp_noMar">
39
-											<input type="text" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_NM" class="form-control itp_input" name="sDlvPlace" placeholder="수거장소 (매장/창고)" />
39
+											<input type="text" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_NM" class="form-control itp_input" name="sDlvPlace" placeholder="수거장소 (매장/창고)" readonly/>
40 40
 											<input type="hidden" id="ITP_FORM_COLLMNG01010_DETAIL_RTN_WHS_ID" class="form-control itp_input" name="swhsId"/>
41 41
 										</div>
42 42
 										<div class="col-xs-1 itp_in" style="padding-left: 5px; width:10%;">

+ 5 - 7
src/main/webapp/app/collmng/COLLMNG02010.html

@@ -21,19 +21,17 @@
21 21
 								
22 22
 									<div class="form-group">
23 23
 										<div class="col-xs-2 itp_ip itp_noMar">
24
-											<select id="ITP_FORM_COLLMNG02010_SERVICE_COL_REQ_DT" class="form-control itp_input" name="servicecolReqDt">
25
-												<option value="A">수거요청일</option>											
26
-											</select>
27
-										</div>										
24
+											<label>수거 요청일 *</label>
25
+										</div>									
28 26
 										<div class="col-xs-3 itp_ip itp_noMar">
29 27
 											<div class="input-daterange input-group date">
30
-												<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="">
28
+												<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="" readonly>
31 29
 												<span class="input-group-addon itp_date_to">~</span>
32
-												<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="">
30
+												<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
33 31
 											</div>
34 32
 										</div>
35 33
 										<div class="col-xs-2 itp_in itp_noMar">
36
-											<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_NM" class="form-control itp_input" name="srtnWhsNm" placeholder="수거창고" />
34
+											<input type="text" id="ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_NM" class="form-control itp_input" name="srtnWhsNm" placeholder="수거창고" readonly/>
37 35
 											<input type="hidden" id="ITP_FORM_COLLMNG02010_SEARCH_SRTN_WHS_ID" class="form-control itp_input" name="srtnWhsId"  />
38 36
 										</div>
39 37
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">

+ 3 - 3
src/main/webapp/app/collmng/COLLMNG03010.html

@@ -24,13 +24,13 @@
24 24
 										</div>										
25 25
 										<div class="col-xs-3 itp_ip itp_noMar">
26 26
 											<div class="input-daterange input-group date">
27
-												<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="">
27
+												<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="" readonly>
28 28
 												<span class="input-group-addon itp_date_to">~</span>
29
-												<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="">
29
+												<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
30 30
 											</div>
31 31
 										</div>
32 32
 										<div class="col-xs-2 itp_in itp_noMar">
33
-											<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="수거장소(매장/창고)" />
33
+											<input type="text" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="수거장소(매장/창고)" readonly/>
34 34
 											<input type="hidden" id="ITP_FORM_COLLMNG03010_SEARCH_WHS_ID" class="form-control itp_input" />
35 35
 										</div>
36 36
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">

+ 3 - 3
src/main/webapp/app/ordmng/ORDMNG01010.html

@@ -26,9 +26,9 @@
26 26
 										</div>											
27 27
 										<div class="col-xs-3 itp_ip itp_noMar">
28 28
 											<div class="input-daterange input-group date">
29
-												<input type="text" id="ITP_FORM_ORDMNG01010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="">
29
+												<input type="text" id="ITP_FORM_ORDMNG01010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="" readonly>
30 30
 												<span class="input-group-addon itp_date_to">~</span>
31
-												<input type="text" id="ITP_FORM_ORDMNG01010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="">
31
+												<input type="text" id="ITP_FORM_ORDMNG01010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
32 32
 											</div>
33 33
 										</div>
34 34
 									</div>
@@ -39,7 +39,7 @@
39 39
 											</select>
40 40
 										</div>
41 41
 										<div class="col-xs-3 itp_ip itp_noMar">
42
-											<input type="text" id="ITP_FORM_ORDMNG01010_DETAIL_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="납품장소 (매장/창고)" />
42
+											<input type="text" id="ITP_FORM_ORDMNG01010_DETAIL_WHS_NM" class="form-control itp_input" name="swhsNm" placeholder="납품장소 (매장/창고)" readonly/>
43 43
 											<input type="hidden" id="ITP_FORM_ORDMNG01010_DETAIL_WHS_ID" class="form-control itp_input" name="swhsId"/>
44 44
 										</div>
45 45
 										<div class="col-xs-1 itp_in" style="padding-left: 5px; width:10%;">

+ 2 - 2
src/main/webapp/app/ordmng/ORDMNG02010.html

@@ -26,9 +26,9 @@
26 26
 										</div>										
27 27
 										<div class="col-xs-3 itp_ip itp_noMar">
28 28
 											<div class="input-daterange input-group date">
29
-												<input type="text" id="ITP_FORM_ORDMNG02010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="">
29
+												<input type="text" id="ITP_FORM_ORDMNG02010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="" readonly>
30 30
 												<span class="input-group-addon itp_date_to">~</span>
31
-												<input type="text" id="ITP_FORM_ORDMNG02010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="">
31
+												<input type="text" id="ITP_FORM_ORDMNG02010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
32 32
 											</div>
33 33
 										</div>
34 34
 										<div class="col-xs-2 itp_in itp_noMar">

+ 2 - 4
src/main/webapp/app/ordmng/ORDMNG03010.html

@@ -18,9 +18,7 @@
18 18
 								<input type="hidden" id="ITP_FORM_ORDMNG03010_SEARCH_BRAND_ID" name="sbrandId" value="">
19 19
 									<div class="form-group">
20 20
 										<div class="col-xs-2 itp_ip itp_noMar">
21
-											<select id="ITP_FORM_ORDMNG03010_SERVICE_DLV_DT" class="form-control itp_input" name="">
22
-												<option value="A">납품일자 *</option>											
23
-											</select>
21
+											<label>납품예정일자</label>
24 22
 										</div>										
25 23
 										<div class="col-xs-3 itp_ip itp_noMar">
26 24
 											<div class="input-daterange input-group date">
@@ -30,7 +28,7 @@
30 28
 											</div>
31 29
 										</div>
32 30
 										<div class="col-xs-2 itp_in itp_noMar">
33
-											<input type="text" id="ITP_FORM_ORDMNG03010_SEARCH_SWHS_NM" class="form-control itp_input" name="swhsNm" placeholder="납품장소(매장/창고)" />
31
+											<input type="text" id="ITP_FORM_ORDMNG03010_SEARCH_SWHS_NM" class="form-control itp_input" name="swhsNm" placeholder="납품장소(매장/창고)" readonly/>
34 32
 											<input type="hidden" id="ITP_FORM_ORDMNG03010_SEARCH_SWHS_ID" class="form-control itp_input" name="swhsId" />
35 33
 										</div>
36 34
 										<div class="col-xs-1 itp_in" style="padding: 0px; width:8%;">

+ 4 - 4
src/main/webapp/app/vendinfo/VENDINFO03010.html

@@ -2,7 +2,7 @@
2 2
 	<div class="itp_cont">
3 3
 		<article class="itp_detail">
4 4
 			<div class="itp_det_head fix">
5
-				<h2 class="pull-left itp_det_tit"><i class="glyphicon glyphicon-chevron-right"></i> <strong>품목 현황</strong></h2>
5
+				<h2 class="pull-left itp_det_tit"><i class="glyphicon glyphicon-chevron-right"></i> <strong>단가 관리</strong></h2>
6 6
 				<div class="pull-right itp_cicon">
7 7
 					<button type="button" id="ITP_BTN_VENDINFO03010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;조회&nbsp;&nbsp;</button>
8 8
 				</div>	
@@ -25,14 +25,14 @@
25 25
 										</div>
26 26
 										<div class="col-xs-3 itp_ip itp_noMar">
27 27
 											<div class="input-daterange input-group date">
28
-												<input type="text" id="ITP_FORM_VENDINFO03010_SEARCH_CONT_FROM_DT" class="form-control itp_input" name="fromDt" value="">
28
+												<input type="text" id="ITP_FORM_VENDINFO03010_SEARCH_FROM_DT" class="form-control itp_input" name="fromDt" value="" readonly>
29 29
 												<span class="input-group-addon itp_date_to">~</span>
30
-												<input type="text" id="ITP_FORM_VENDINFO03010_SEARCH_CONT_TO_DT" class="form-control itp_input" name="toDt" value="">
30
+												<input type="text" id="ITP_FORM_VENDINFO03010_SEARCH_TO_DT" class="form-control itp_input" name="toDt" value="" readonly>
31 31
 											</div>
32 32
 										</div>
33 33
 										<div class="col-xs-2 itp_ip itp_noMar">
34 34
 											<select id="ITP_FORM_VENDINFO03010_SERVICE_UNIT_ST_CD" data-select-code="UNIT_ST_CD" class="form-control itp_input" name="sunitStCd">
35
-												<option value="N">상태(대기/진행/폐기)</option>
35
+												<option value="">상태(대기/진행/폐기)</option>
36 36
 											</select>										
37 37
 										</div>
38 38
 										<div class="col-xs-4 itp_ip">

+ 3 - 2
src/main/webapp/js/app/collmng/ITP_COLLMNG01010.js

@@ -71,8 +71,9 @@ const gridColModel = {
71 71
 		{
72 72
 			index: 'RTN_DODR_TOTAL_AMT', name: 'rtnDodrTotalAmt',
73 73
 			label: ITP_MSG_LOCALE.label.rtnDodrTotalAmt, 	// 총 수거금액
74
-			width: '7', fixed: false, align: 'center',
75
-			sortable: false, hidden: false
74
+			width: '7', fixed: false, align: 'right',
75
+			sortable: false, hidden: false,
76
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
76 77
 		},
77 78
 		{
78 79
 			index: 'RTN_DODR_ITEM_QTY', name: 'rtnDodrItemQty',

+ 10 - 8
src/main/webapp/js/app/collmng/ITP_COLLMNG03010.js

@@ -47,7 +47,7 @@ const gridColModel = {
47 47
 		{
48 48
 			index: 'PICK_ST_NM', name: 'pickStNm',
49 49
 			label: ITP_MSG_LOCALE.label.pickStNm,			// 수거서상태
50
-			width: '8', fixed: false, align: 'center',
50
+			width: '6', fixed: false, align: 'center',
51 51
 			sortable: false, hidden: false
52 52
 		},
53 53
 		{
@@ -83,26 +83,28 @@ const gridColModel = {
83 83
 		{
84 84
 			index: 'COL_REQ_QTY', name: 'colReqQty',
85 85
 			label: ITP_MSG_LOCALE.label.colReqQty,			// 수거수량
86
-			width: '6', fixed: false, align: 'center',
86
+			width: '5', fixed: false, align: 'center',
87 87
 			sortable: false, hidden: false
88 88
 		},		
89 89
 		{
90 90
 			index: 'RTN_RSN_DVSN_NM', name: 'rtnRsnDvsnNm',
91 91
 			label: ITP_MSG_LOCALE.label.rtnRsnDvsnNm,		// 반품사유구분
92
-			width: '9', fixed: false, align: 'center',
92
+			width: '10', fixed: false, align: 'center',
93 93
 			sortable: false, hidden: false
94 94
 		},
95 95
 		{
96 96
 			index: 'UNIT_AMT', name: 'unitAmt',
97 97
 			label: ITP_MSG_LOCALE.label.unitAmt,			// 단가
98
-			width: '7', fixed: false, align: 'center',
99
-			sortable: false, hidden: false
98
+			width: '6', fixed: false, align: 'right',
99
+			sortable: false, hidden: false,
100
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
100 101
 		},
101 102
 		{
102 103
 			index: 'COL_REQ_AMT', name: 'colReqAmt',
103 104
 			label: ITP_MSG_LOCALE.label.colReqAmt,			// 수거금액
104
-			width: '9', fixed: false, align: 'center',
105
-			sortable: false, hidden: false
105
+			width: '8', fixed: false, align: 'right',
106
+			sortable: false, hidden: false,
107
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
106 108
 		},
107 109
 		{
108 110
 			index: 'WHS_NM', name: 'whsNm',
@@ -119,7 +121,7 @@ const gridColModel = {
119 121
 		{
120 122
 			index: 'PICK_MGR_TEL_NO', name: 'pickMgrTelNo',
121 123
 			label: ITP_MSG_LOCALE.label.pickMgrTelNo,		// 수거담당자연락처
122
-			width: '10', fixed: false, align: 'center',
124
+			width: '9', fixed: false, align: 'center',
123 125
 			sortable: false, hidden: false
124 126
 		}
125 127
 	],

+ 1 - 1
src/main/webapp/js/app/locales/locale-ko.js

@@ -190,7 +190,7 @@ const ITP_MSG_LOCALE = (function() {
190 190
             "dlvQty": "납품수량",
191 191
             "whsQty": "입고수량",
192 192
             "dlvSchDt": "납품예정일",
193
-            "dlvCmpltDt": "납품일",
193
+            "dlvCmpltDt": "납품완료일",
194 194
             "whsCnfmNm": "입고확인자",
195 195
             "dlvMgrNm": "납품자명",
196 196
             "dlvMgrTelNo": "납품자전화번호",

+ 12 - 24
src/main/webapp/js/app/ordmng/ITP_ORDMNG01010.js

@@ -61,45 +61,45 @@ const gridColModel = {
61 61
 		{
62 62
 			index: 'PCH_ORD_ST_CD', name: 'pchOdrStCd',
63 63
 			label: ITP_MSG_LOCALE.label.pchOdrStNm, 	// 발주상태
64
-			width: '7', fixed: false, align: 'center',
64
+			width: '5', fixed: false, align: 'center',
65 65
 			sortable: false, formatter: 'select',
66 66
 			editoptions: {value: ITP_COMMON_PCH_ODR_ST_CD}
67 67
 		},
68 68
 		{
69 69
 			index: 'PODR_DT', name: 'podrDt',
70 70
 			label: ITP_MSG_LOCALE.label.podrDt, 		// 발주일자
71
-			width: '8', fixed: false, align: 'center',
71
+			width: '5', fixed: false, align: 'center',
72 72
 			sortable: false, hidden: false
73 73
 		},
74 74
 		{
75 75
 			index: 'DIV_REQ_DT', name: 'dlvReqDt',
76 76
 			label: ITP_MSG_LOCALE.label.dlvReqDt, 		// 납품요청일
77
-			width: '8', fixed: false, align: 'center',
77
+			width: '5', fixed: false, align: 'center',
78 78
 			sortable: false, hidden: false
79 79
 		},
80 80
 		{
81 81
 			index: 'WHS_NM', name: 'whsNm',
82 82
 			label: ITP_MSG_LOCALE.label.whsNm, 			// 납품장소
83
-			width: '7', fixed: false, align: 'center',
83
+			width: '10', fixed: false, align: 'center',
84 84
 			sortable: false, hidden: false
85 85
 		},
86 86
 		{
87 87
 			index: 'PODR_TOTAL_AMT', name: 'podrTotalAmt',
88 88
 			label: ITP_MSG_LOCALE.label.podrTotalAmt, 	// 총 발주금액
89
-			width: '7', fixed: false, align: 'center',
89
+			width: '4', fixed: false, align: 'right',
90 90
 			sortable: false, hidden: false,
91 91
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
92 92
 		},
93 93
 		{
94 94
 			index: 'SPPLY_ITME_ID', name: 'podrItemQty',
95 95
 			label: ITP_MSG_LOCALE.label.podrItemQty, 	// 발주품목수
96
-			width: '8', fixed: false, align: 'center',
96
+			width: '4', fixed: false, align: 'center',
97 97
 			sortable: false, hidden: false
98 98
 		},
99 99
 		{
100 100
 			index: 'PODR_MGR_NM', name: 'podrMgrNm',
101 101
 			label: ITP_MSG_LOCALE.label.podrMgrNm, 		// 발주 담당자
102
-			width: '8', fixed: false, align: 'center',
102
+			width: '6', fixed: false, align: 'center',
103 103
 			sortable: false, hidden: false
104 104
 		}
105 105
 	],
@@ -107,7 +107,7 @@ const gridColModel = {
107 107
 		{
108 108
 			index: 'PCH_PODR_DTL_NO', name: 'pchPodrDtlNo',
109 109
 			label: ITP_MSG_LOCALE.label.pchPodrDtlNo, 	// 항번
110
-			width: '10', fixed: false, align: 'center',
110
+			width: '6', fixed: false, align: 'center',
111 111
 			sortable: false, hidden: false
112 112
 		},
113 113
 		{
@@ -184,7 +184,7 @@ let pageObj = {
184 184
 		},
185 185
 		grid: function() {
186 186
 			itp_fn_jqgrid_resize(ORDMNG01010_GRID_ID, ORDMNG01010_GRID_LIST, 'lg');
187
-			listObj.empty.init();
187
+			//listObj.empty.init();
188 188
 			itp_fn_fire_window_resize();
189 189
 		},
190 190
 		ready: function() {
@@ -302,25 +302,13 @@ let listObj = {
302 302
 	},
303 303
 	empty: {
304 304
 		init: function() {
305
-            var _this = this;
306
-            this.push();
307
-            $(ORDMNG01010_GRID_EMPTY).on('click', function() {
308
-                _this.back();
309
-                listObj.itp_ORDMNG01010_param.gridSize = $.jgrid.defaults.rowNum;
310
-                $(ORDMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(listObj.itp_ORDMNG01010_param)}).trigger('reloadGrid');
311
-            });
305
+          
312 306
         },
313 307
         push: function() {
314
-            let param = $('#ITP_FORM_ORDMNG01010_SEARCH').serializeObject();
315
-            listObj.itp_ORDMNG01010_param = param;
316
-            //listObj.itp_ORDMNG01010_param.sbrandId = LOGIN_USER_INFO.brandId;
317
-            //listObj.itp_ORDMNG01010_param.sspplyId = LOGIN_USER_INFO.spplyId;
318
-            listObj.itp_ORDMNG01010_param.sidx = '0';
308
+          
319 309
         },
320 310
         back: function() {
321
-            $('#ITP_FORM_ORDMNG01010_SERVICE_BRAND_TYPE').val(listObj.itp_ORDMNG01010_param.brandType);
322
-            $('#ITP_FORM_ORDMNG01010_SERVICE_ST_CD').val(listObj.itp_ORDMNG01010_param.stCd);
323
-            $('#ITP_FORM_ORDMNG01010_SEARCH_BRAND_NM').val(listObj.itp_ORDMNG01010_param.brandNm);
311
+        
324 312
         }
325 313
 	},
326 314
 	grid: {

+ 16 - 14
src/main/webapp/js/app/ordmng/ITP_ORDMNG02010.js

@@ -48,62 +48,64 @@ const gridColModel = {
48 48
 		{
49 49
 			index: 'BRAND_NM', name: 'brandNm',
50 50
 			label: ITP_MSG_LOCALE.label.brandNm, 			//브랜드명
51
-			width: '10', fixed: false, align: 'center',
51
+			width: '6', fixed: false, align: 'center',
52 52
 			sortable: false, hidden: false
53 53
 		},
54 54
 		{
55 55
 			index: 'PCH_PODR_UNQ_NO', name: 'pchPodrUnqNo',
56 56
 			label: ITP_MSG_LOCALE.label.pchPodrUnqNo, 		//발주번호
57
-			width: '10', fixed: false, align: 'center',
57
+			width: '8', fixed: false, align: 'center',
58 58
 			sortable: false, hidden: false
59 59
 		},
60 60
 		{
61 61
 			index: 'PCH_PODR_DTL_NO', name: 'pchPodrDtlNo',
62 62
 			label: ITP_MSG_LOCALE.label.pchPodrDtlNo, 		//발주항번
63
-			width: '7', fixed: false, align: 'center',
63
+			width: '4', fixed: false, align: 'center',
64 64
 			sortable: false, hidden: false
65 65
 		},
66 66
 		{
67 67
 			index: 'DLV_REQ_DT', name: 'dlvReqDt',
68 68
 			label: ITP_MSG_LOCALE.label.dlvReqDt, 			//납품요청일
69
-			width: '9', fixed: false, align: 'center',
69
+			width: '6', fixed: false, align: 'center',
70 70
 			sortable: false, hidden: false
71 71
 		},
72 72
 		{
73 73
 			index: 'WHS_NM', name: 'whsNm',
74 74
 			label: ITP_MSG_LOCALE.label.whsNm, 				//납품장소
75
-			width: '10', fixed: false, align: 'center',
75
+			width: '11', fixed: false, align: 'center',
76 76
 			sortable: false, hidden: false
77 77
 		},
78 78
 		{
79 79
 			index: 'ITEM_ID', name: 'itemId',
80 80
 			label: ITP_MSG_LOCALE.label.itemId, 			//품목번호
81
-			width: '10', fixed: false, align: 'center',
81
+			width: '8', fixed: false, align: 'center',
82 82
 			sortable: false, hidden: false
83 83
 		},
84 84
 		{
85 85
 			index: 'ITEM_NM', name: 'itemNm',
86 86
 			label: ITP_MSG_LOCALE.label.itemNm, 			//품목명
87
-			width: '8', fixed: false, align: 'center',
87
+			width: '6', fixed: false, align: 'center',
88 88
 			sortable: false, hidden: false
89 89
 		},
90 90
 		{
91 91
 			index: 'PODR_QTY', name: 'podrQty',
92 92
 			label: ITP_MSG_LOCALE.label.podrQty, 			//발주수량
93
-			width: '7', fixed: false, align: 'center',
93
+			width: '4', fixed: false, align: 'center',
94 94
 			sortable: false, hidden: false
95 95
 		},
96 96
 		{
97 97
 			index: 'UNIT_AMT', name: 'unitAmt',
98 98
 			label: ITP_MSG_LOCALE.label.unitAmt, 			//단가
99
-			width: '6', fixed: false, align: 'center',
100
-			sortable: false, hidden: false
99
+			width: '3', fixed: false, align: 'right',
100
+			sortable: false, hidden: false,
101
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
101 102
 		},
102 103
 		{
103 104
 			index: 'PODR_AMT', name: 'podrAmt',
104 105
 			label: ITP_MSG_LOCALE.label.podrAmt, 			//발주금액
105
-			width: '8', fixed: false, align: 'center',
106
-			sortable: false, hidden: false
106
+			width: '4', fixed: false, align: 'right',
107
+			sortable: false, hidden: false,
108
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
107 109
 		}
108 110
 	],
109 111
 	view: [],
@@ -138,8 +140,8 @@ let pageObj = {
138 140
 			var defaultToDate = new Date(now);
139 141
 			defaultToDate.setDate(now.getDate() + 7);
140 142
 			$('#ITP_TAB_ORDMNG02010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
141
-			$('#ITP_FORM_ORDMNG02010_SEARCH_FROM_DT').datepicker('setDate', '2022.10.01'/*now*/);
142
-			$('#ITP_FORM_ORDMNG02010_SEARCH_TO_DT').datepicker('setDate', '2024.10.01'/*defaultToDate*/);
143
+			$('#ITP_FORM_ORDMNG02010_SEARCH_FROM_DT').datepicker('setDate', now);
144
+			$('#ITP_FORM_ORDMNG02010_SEARCH_TO_DT').datepicker('setDate', defaultToDate);
143 145
 		},
144 146
 		form: function() {
145 147
 			itp_fn_form_event.onKeyup('#ITP_FORM_ORDMNG02010_DETAIL');

+ 5 - 4
src/main/webapp/js/app/ordmng/ITP_ORDMNG03010.js

@@ -36,7 +36,7 @@ const gridColModel = {
36 36
 			{
37 37
 				index: 'Brand_Nm', name: 'brandNm',			//정렬가능 여부,화면표시 여부
38 38
 				label: ITP_MSG_LOCALE.label.brandNm, 		//브랜드이름
39
-				width: '20', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
39
+				width: '10', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
40 40
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부	
41 41
 			},
42 42
 			{
@@ -72,7 +72,7 @@ const gridColModel = {
72 72
 			{
73 73
 				index: 'PCH_ITEM_YN', name: 'dlvCmpltDt',	//서버로 전송시 데이터 명 , 데이터명
74 74
 				label: ITP_MSG_LOCALE.label.dlvCmpltDt, 	//납품완료일
75
-				width: '10', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
75
+				width: '14', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
76 76
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
77 77
 			},
78 78
 			{
@@ -101,7 +101,7 @@ const gridColModel = {
101 101
 			},
102 102
 			{
103 103
 				index: 'UNIT', name: 'unit',				//서버로 전송시 데이터 명 , 데이터명
104
-				label: ITP_MSG_LOCALE.label.unit, 			//납품수량
104
+				label: ITP_MSG_LOCALE.label.unit, 			//단위
105 105
 				width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
106 106
 				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
107 107
 			},
@@ -109,7 +109,8 @@ const gridColModel = {
109 109
 				index: 'PCH_ITEM_YN', name: 'unitAmt',		//서버로 전송시 데이터 명 , 데이터명
110 110
 				label: ITP_MSG_LOCALE.label.unitAmt, 		//납품금액
111 111
 				width: '6', fixed: false, align: 'center',	// cell가로넓이,고정 여부 ,text정렬 
112
-				sortable: false, hidden: false				//정렬가능 여부,화면표시 여부
112
+				sortable: false, hidden: false,				//정렬가능 여부,화면표시 여부
113
+				formatter: 'integer', formatoptions: {thousandsSeparator: ','}
113 114
 			},
114 115
 			{
115 116
 				index: 'SALE_ITEM_YN', name: 'whsNm',		//서버로 전송시 데이터 명 , 데이터명

+ 38 - 32
src/main/webapp/js/app/vendinfo/ITP_VENDINFO01010.js

@@ -299,41 +299,47 @@ let modifyObj = {
299 299
 		},
300 300
 		save: function() {
301 301
 			const formId = '#ITP_FORM_VENDINFO01010_DETAIL';
302
-			itp_fn_form_clear_validate(null, formId);		
302
+			itp_fn_form_clear_validate(null, formId);	
303
+			
303 304
 			if(modifyObj.isValid(formId)){
304
-				itp_fn_grid_save_rows(VENDINFO01010_DETAIL_GRID_ID);		// rowData 보조
305
-				let gridInsertData = [];
306
-				let gridUpdateData = [];
307
-				let gridDeleteData = [];
308
-				for(var i=0; i<$(VENDINFO01010_DETAIL_GRID_ID).getGridParam('reccount'); i++) {
309
-					$(VENDINFO01010_DETAIL_GRID_ID).jqGrid('saveCell', i+1, 2)
310
-				}
311
-				const rowData = $(VENDINFO01010_DETAIL_GRID_ID).getRowData();
312
-				const keyValue = $(formId + '_BRAND_ID').val();
313
-				$.each(rowData, function(key, value) {
314
-					if (value.viewCd != 'R') {
315
-							value.userId = keyValue;
316
-						if (value.viewCd == 'C') {
317
-							gridInsertData.push(value);
318
-						} else if (value.viewCd == 'U') {
319
-							gridUpdateData.push(value);
320
-						} else if (value.viewCd == 'D') {
321
-							gridDeleteData.push(value);
305
+				var modalFn = {
306
+					callBack: (args) => {
307
+						itp_fn_grid_save_rows(VENDINFO01010_DETAIL_GRID_ID);		// rowData 보조
308
+						let gridInsertData = [];
309
+						let gridUpdateData = [];
310
+						let gridDeleteData = [];
311
+						for(var i=0; i<$(VENDINFO01010_DETAIL_GRID_ID).getGridParam('reccount'); i++) {
312
+							$(VENDINFO01010_DETAIL_GRID_ID).jqGrid('saveCell', i+1, 2)
322 313
 						}
323
-					}
324
-				});
325
-				let param = $(formId).serializeObject();
326
-				
327
-				param.gridInsertData = gridInsertData;
328
-				param.gridUpdateData = gridUpdateData;
329
-				param.gridDeleteData = gridDeleteData;
330
-				param.brandId = LOGIN_USER_INFO.brandId;
331
-				console.log(JSON.stringify(param));
332
-				var searhFn = function() {
333
-					ITP_FORM_VENDINFO01010_DETAIL_IS_WRITING = false;
334
-					modifyObj.init();
314
+						const rowData = $(VENDINFO01010_DETAIL_GRID_ID).getRowData();
315
+						const keyValue = $(formId + '_BRAND_ID').val();
316
+						$.each(rowData, function(key, value) {
317
+							if (value.viewCd != 'R') {
318
+									value.userId = keyValue;
319
+								if (value.viewCd == 'C') {
320
+									gridInsertData.push(value);
321
+								} else if (value.viewCd == 'U') {
322
+									gridUpdateData.push(value);
323
+								} else if (value.viewCd == 'D') {
324
+									gridDeleteData.push(value);
325
+								}
326
+							}
327
+						});
328
+						let param = $(formId).serializeObject();
329
+						
330
+						param.gridInsertData = gridInsertData;
331
+						param.gridUpdateData = gridUpdateData;
332
+						param.gridDeleteData = gridDeleteData;
333
+						param.brandId = LOGIN_USER_INFO.brandId;
334
+						console.log(JSON.stringify(param));
335
+						var searhFn = function() {
336
+							ITP_FORM_VENDINFO01010_DETAIL_IS_WRITING = false;
337
+							modifyObj.init();
338
+						};
339
+						fn_ajax_call(API_SPPLY_SAVE_SPPLY, JSON.stringify(param), searhFn, 'POST');
340
+					}	
335 341
 				};
336
-				fn_ajax_call(API_SPPLY_SAVE_SPPLY, JSON.stringify(param), searhFn, 'POST');
342
+				itp_fn_modal_confirm('저장 하시겠습니까?', modalFn);
337 343
 			}
338 344
 		}
339 345
 	},

+ 71 - 82
src/main/webapp/js/app/vendinfo/ITP_VENDINFO02010.js

@@ -162,106 +162,95 @@ let listObj = {
162 162
 	},
163 163
 	empty: {
164 164
 		init: function() {
165
-			var _this = this; //_this 는 this 와 같음 
166
-			this.push(); //push 불러옴
167
-			$(VENDINFO02010_GRID_EMPTY).on('click', function() { //Empty 페이지 클릭시
168
-					_this.back(); //back 실행
169
-					_this.itp_VENDINFO02010_param.gridSize = $.jgrid.defaults.rowNum; //그리드 사이즈 20
170
-					$(VENDINFO02010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_VENDINFO02010_param)}).trigger('reloadGrid');
171
-			});
165
+			
172 166
 		},
173 167
 		itp_VENDINFO02010_param: {}, //param 선언
174 168
 		push: function() {
175
-			let param = $('#ITP_FORM_VENDINFO02010_SEARCH').serializeObject(); //param 선언
176
-			listObj.itp_VENDINFO02010_param = param; //param 두개는 같다
169
+			
177 170
 		},
178 171
 		back: function() {
179
-//			$('#ITP_FORM_VENDINFO02010_SERVICE_ST_CD').val(this.itp_VENDINFO02010_param.sitemStCd); //공통코드 선택 상태
180
-			$('#ITP_FORM_VENDINFO02010_SEARCH_PODR_PSSBL_DVSN').val(listObj.itp_VENDINFO02010_param.podrPssblDvsnNm);//공통코드  발주구분선택
181
-			$('#ITP_FORM_VENDINFO02010_SEARCH_ITEM_NM').val(listObj.itp_VENDINFO02010_param.itemNm); //현재 접속중인 공급사 명 표시
172
+		
182 173
 		}
183 174
 	},
184 175
 	grid: {
185
-			init: function () {
186
-					// 데이터 없을때
187
-					listObj.empty.push();//listObj 에 empty 에 push 불러오기
188
-					this.search(); //search 불러오기
189
-			},
190
-			colModel: gridColModel.list,//컬럼정보
191
-			search: function() {
192
-					pageObj.switchScreen('LIST');//리스트 페이지로
193
-					this.load();//load 불러오기
194
-			},
195
-			localLoad: function() {
176
+		init: function () {
177
+				// 데이터 없을때
178
+				//listObj.empty.push();//listObj 에 empty 에 push 불러오기
179
+				this.search(); //search 불러오기
180
+		},
181
+		colModel: gridColModel.list,//컬럼정보
182
+		search: function() {
183
+				pageObj.switchScreen('LIST');//리스트 페이지로
184
+				this.load();//load 불러오기
185
+		},
186
+		localLoad: function() {
187
+			var option = {
188
+				gridId: VENDINFO02010_GRID_ID, 	//그리드 아이디 정보
189
+				colModel: gridColModel.list,	//컬럼 정보
190
+				data: [],//데이터 정보
191
+				multiselect: true, //동시선택 가능
192
+				pager: VENDINFO02010_GRID_PAGER, //페이지 정보
193
+				onCellSelect: function(rowId, cellIdx, cellValue) { //셀 선택시
194
+					var cm = $(this).jqGrid('getGridParam', 'colModel'); //cm 선언 
195
+					var colNm = cm[cellIdx].name; //col 이름 선언
196
+					if (colNm == 'itemId') {	//그리드  셀 이름이 아이템 이름일때
197
+							const selectVal = $(this).jqGrid('getCell', rowId, 'itemId');//selectVal 선언
198
+							const key = {brandId:fn_make_user_info.get('brandId'), itemId: selectVal, viewCd: 'R'};//key 값 선언
199
+							var param = $.param(key); //param 에 key 값 넣기
200
+							viewObj.init(param); // view init 으로 param 보내기
201
+					}
202
+				},	
203
+				loadComplete: function(data) {
204
+					console.log(data); //콘솔 data 출력
205
+					if(data && data.length > 0) {
206
+						itp_fn_grid_load_complete(data, VENDINFO02010_GRID_ID, true, 'number', 'VENDINFO02010', listObj.itp_VENDINFO02010_search, listObj.empty, true, data.gridRecords, true);
207
+						var ids = $(VENDINFO02010_GRID_ID).getDataIDs();
208
+						$.each(ids, function(idx, rowId) {
209
+								$(VENDINFO02010_GRID_ID).jqGrid('setCell', rowId, 'itemId', '', ITP_GRID_COL_STYLE.link);
210
+						});
211
+					}
212
+				},
213
+				onPaging: function(action) {
214
+					itp_fn_grid_paging(VENDINFO02010_GRID_ID, action, param);
215
+				}
216
+			};
217
+			itp_fn_grid_make_local(option);
218
+		},
219
+		load: function() {
220
+			$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID').val(fn_make_user_info.get('spplyId'));//fn_make_user_info 에서 spplyId 가져와서 넣기
221
+			$('#ITP_FORM_VENDINFO02010_SEARCH_BRAND_ID').val(fn_make_user_info.get('brandId'));//fn_make_user_info 에서 brandId 가져와서 넣기
222
+			$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM').val(fn_make_user_info.get('spplyNm'));//fn_make_user_info 에서 spplyNm 가져와서 넣기
223
+				let param = $('#ITP_FORM_VENDINFO02010_SEARCH').serializeObject(); //param 값넣기 
196 224
 				var option = {
197
-					gridId: VENDINFO02010_GRID_ID, 	//그리드 아이디 정보
198
-					colModel: gridColModel.list,	//컬럼 정보
199
-					data: [],//데이터 정보
200
-					multiselect: true, //동시선택 가능
201
-					pager: VENDINFO02010_GRID_PAGER, //페이지 정보
202
-					onCellSelect: function(rowId, cellIdx, cellValue) { //셀 선택시
203
-						var cm = $(this).jqGrid('getGridParam', 'colModel'); //cm 선언 
204
-						var colNm = cm[cellIdx].name; //col 이름 선언
205
-						if (colNm == 'itemId') {	//그리드  셀 이름이 아이템 이름일때
206
-								const selectVal = $(this).jqGrid('getCell', rowId, 'itemId');//selectVal 선언
207
-								const key = {brandId:fn_make_user_info.get('brandId'), itemId: selectVal, viewCd: 'R'};//key 값 선언
208
-								var param = $.param(key); //param 에 key 값 넣기
209
-								viewObj.init(param); // view init 으로 param 보내기
210
-						}
211
-					},	
225
+					gridId: VENDINFO02010_GRID_ID,
226
+					colModel: gridColModel.list,
227
+					param: param,
228
+					url: DOMAIN + API_ITEM_GRID_LIST,
229
+					pager: VENDINFO02010_GRID_PAGER,
230
+					onCellSelect: function(rowId, cellIdx, cellValue) {
231
+							var cm = $(this).jqGrid('getGridParam', 'colModel');
232
+							var colNm = cm[cellIdx].name;
233
+							if (colNm == 'itemId') {
234
+									const selectVal = $(this).jqGrid('getCell', rowId, 'itemId');
235
+									const key = {brandId:fn_make_user_info.get('brandId'), itemId: selectVal, viewCd: 'R'};
236
+									var param = $.param(key);
237
+									viewObj.init(param);
238
+							}
239
+					},
212 240
 					loadComplete: function(data) {
213
-						console.log(data); //콘솔 data 출력
214
-						if(data && data.length > 0) {
241
+							console.log(data);
215 242
 							itp_fn_grid_load_complete(data, VENDINFO02010_GRID_ID, true, 'number', 'VENDINFO02010', listObj.itp_VENDINFO02010_search, listObj.empty, true, data.gridRecords, true);
216 243
 							var ids = $(VENDINFO02010_GRID_ID).getDataIDs();
217 244
 							$.each(ids, function(idx, rowId) {
218 245
 									$(VENDINFO02010_GRID_ID).jqGrid('setCell', rowId, 'itemId', '', ITP_GRID_COL_STYLE.link);
219 246
 							});
220
-						}
221 247
 					},
222 248
 					onPaging: function(action) {
223
-						itp_fn_grid_paging(VENDINFO02010_GRID_ID, action, param);
249
+							itp_fn_grid_paging(VENDINFO02010_GRID_ID, action, param);
224 250
 					}
225
-				};
226
-				itp_fn_grid_make_local(option);
227
-			},
228
-			load: function() {
229
-					$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID').val(fn_make_user_info.get('spplyId'));//fn_make_user_info 에서 spplyId 가져와서 넣기
230
-					$('#ITP_FORM_VENDINFO02010_SEARCH_BRAND_ID').val(fn_make_user_info.get('brandId'));//fn_make_user_info 에서 brandId 가져와서 넣기
231
-					$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM').val(fn_make_user_info.get('spplyNm'));//fn_make_user_info 에서 spplyNm 가져와서 넣기
232
-
233
-					let param = $('#ITP_FORM_VENDINFO02010_SEARCH').serializeObject(); //param 값넣기 
234
-
235
-					var option = {
236
-							gridId: VENDINFO02010_GRID_ID,
237
-							colModel: gridColModel.list,
238
-							param: param,
239
-							url: DOMAIN + API_ITEM_GRID_LIST,
240
-							pager: VENDINFO02010_GRID_PAGER,
241
-							onCellSelect: function(rowId, cellIdx, cellValue) {
242
-									var cm = $(this).jqGrid('getGridParam', 'colModel');
243
-									var colNm = cm[cellIdx].name;
244
-									if (colNm == 'itemId') {
245
-											const selectVal = $(this).jqGrid('getCell', rowId, 'itemId');
246
-											const key = {brandId:fn_make_user_info.get('brandId'), itemId: selectVal, viewCd: 'R'};
247
-											var param = $.param(key);
248
-											viewObj.init(param);
249
-									}
250
-							},
251
-							loadComplete: function(data) {
252
-									console.log(data);
253
-									itp_fn_grid_load_complete(data, VENDINFO02010_GRID_ID, true, 'number', 'VENDINFO02010', listObj.itp_VENDINFO02010_search, listObj.empty, true, data.gridRecords, true);
254
-									var ids = $(VENDINFO02010_GRID_ID).getDataIDs();
255
-									$.each(ids, function(idx, rowId) {
256
-											$(VENDINFO02010_GRID_ID).jqGrid('setCell', rowId, 'itemId', '', ITP_GRID_COL_STYLE.link);
257
-									});
258
-							},
259
-							onPaging: function(action) {
260
-									itp_fn_grid_paging(VENDINFO02010_GRID_ID, action, param);
261
-							}
262
-					};
263
-					itp_fn_grid_make_remote(option);
264
-			},
251
+			};
252
+			itp_fn_grid_make_remote(option);
253
+		},
265 254
 	}
266 255
 };
267 256
 

+ 17 - 72
src/main/webapp/js/app/vendinfo/ITP_VENDINFO03010.js

@@ -23,7 +23,7 @@ const gridColModel = {
23 23
 		{
24 24
 			index: 'ITEM_ID', name: 'itemId',
25 25
 			label: ITP_MSG_LOCALE.label.itemId, 	//품목번호
26
-			width: '10', fixed: false, align: 'center',
26
+			width: '12', fixed: false, align: 'center',
27 27
 			sortable: false, hidden: false
28 28
 		},
29 29
 		{
@@ -35,19 +35,19 @@ const gridColModel = {
35 35
 		{
36 36
 			index: 'UNIT', name: 'unit',
37 37
 			label: ITP_MSG_LOCALE.label.unit, 		//기본단위
38
-			width: '7', fixed: false, align: 'center',
38
+			width: '6', fixed: false, align: 'center',
39 39
 			sortable: false, hidden: false
40 40
 		},
41 41
 		{
42 42
 			index: 'CURR', name: 'curr',
43 43
 			label: ITP_MSG_LOCALE.label.curr, 		//통화
44
-			width: '7', fixed: false, align: 'center',
44
+			width: '5', fixed: false, align: 'center',
45 45
 			sortable: false, hidden: false
46 46
 		},
47 47
 		{
48 48
 			index: 'UNIT_AMT', name: 'unitAmt',
49 49
 			label: ITP_MSG_LOCALE.label.unitAmt, 	//단가
50
-			width: '7', fixed: false, align: 'center',
50
+			width: '5', fixed: false, align: 'right',
51 51
 			sortable: false, hidden: false,
52 52
 			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
53 53
 		},
@@ -78,11 +78,10 @@ const gridColModel = {
78 78
 		{
79 79
 			index: 'SPPLY_ITME_ID', name: 'spplyItemId',
80 80
 			label: ITP_MSG_LOCALE.label.spplyItemId, //공급사품번
81
-			width: '8', fixed: false, align: 'center',
81
+			width: '10', fixed: false, align: 'center',
82 82
 			sortable: false, hidden: false
83 83
 		}
84
-	],
85
-	datail:[]
84
+	]
86 85
 }
87 86
 
88 87
 
@@ -109,14 +108,15 @@ let pageObj = {
109 108
 			});
110 109
 			// 조회일자 지정	
111 110
 			var now = new Date();
111
+			var defaultToDate = new Date(now);
112
+			defaultToDate.setDate(now.getDate()+7);
112 113
 			$('#ITP_TAB_VENDINFO03010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
113
-		
114
-			$('#ITP_FORM_VENDINFO03010_SEARCH_CONT_FROM_DT').datepicker('setDate', '2022.10.01');
115
-			$('#ITP_FORM_VENDINFO03010_SEARCH_CONT_TO_DT').datepicker('setDate', '2024.10.01');
114
+			$('#ITP_FORM_VENDINFO03010_SEARCH_FROM_DT').datepicker('setDate', now);
115
+			$('#ITP_FORM_VENDINFO03010_SEARCH_TO_DT').datepicker('setDate', defaultToDate);
116 116
 		},
117 117
 		grid: function() {
118 118
 			itp_fn_jqgrid_resize(VENDINFO03010_GRID_ID, VENDINFO03010_GRID_LIST, 'lg');
119
-			listObj.empty.init();
119
+			//listObj.empty.init();
120 120
 			itp_fn_fire_window_resize();
121 121
 		},
122 122
 		ready: function() {
@@ -156,36 +156,7 @@ let pageObj = {
156 156
 			fn_show_btn_auth_array(['#ITP_BTN_VENDINFO03010_SRH', '#ITP_BTN_VENDINFO03010_NEWREG']);
157 157
 			$('#ITP_FORM_VENDINFO03010_SEARCH #ITP_FORM_VENDINFO03010_SEARCH_BRAND_ID').val(fn_make_user_info.get('brandId'));
158 158
             $('#ITP_FORM_VENDINFO03010_SEARCH #ITP_FORM_VENDINFO03010_SEARCH_SPPLY_ID').val(fn_make_user_info.get('spplyId'));
159
-		}/* else if(mode == 'ADD') { // 등록
160
-			$('#ITP_AJAX_VENDINFO03010_DETAIL_CONTAINER').show();
161
-			fn_show_btn_auth_array(['#ITP_BTN_VENDINFO03010_CANCELLIST', '#ITP_BTN_VENDINFO03010_SAVE']);
162
-
163
-			$('#ITP_FORM_VENDINFO03010_DETAIL').find('input, textarea, select, checkbox').each(function(i, elem) {
164
-				$(this).attr('id') === 'ITP_FORM_VENDINFO03010_DETAIL_VIEW_CD' ? $(this).val('C') : $(this).val('');
165
-				if(elem.type === 'select') {
166
-					$(this).val('').prop('selected', true);
167
-				}
168
-			});
169
-
170
-			$('#ITP_FORM_VENDINFO03010_DETAIL_USER_ID').removeAttr('readonly');
171
-			$('#ITP_FORM_VENDINFO03010_DETAIL_DUP').removeAttr('disabled');
172
-			$('#ITP_FORM_VENDINFO03010_DETAIL_SEARCH_BRAND_ID option').remove();
173
-			$('#ITP_FORM_VENDINFO03010_DETAIL_SEARCH_AFFL_SHOP').show();
174
-			$('#ITP_FORM_VENDINFO03010_DETAIL_DELETE_AFFL_SHOP').show();
175
-		} else if(mode === 'MODIFY') { // 수정
176
-			$('#ITP_AJAX_VENDINFO03010_DETAIL_CONTAINER').show();
177
-			fn_show_btn_auth_array(['#ITP_BTN_VENDINFO03010_CANCELLIST', '#ITP_BTN_VENDINFO03010_SAVE', '#ITP_BTN_VENDINFO03010_RESET_PW']);
178
-
179
-			$('#ITP_FORM_VENDINFO03010_DETAIL_USER_ID').attr('readonly', true);
180
-			$('#ITP_FORM_VENDINFO03010_DETAIL_DUP').attr('disabled', true);
181
-			$('#ITP_FORM_VENDINFO03010_DETAIL_SEARCH_AFFL_SHOP_NM').attr('readonly', true);
182
-			$('#ITP_FORM_VENDINFO03010_DETAIL_USER_NM').attr('readonly', true);
183
-			$('#ITP_FORM_VENDINFO03010_DETAIL_SEARCH_AFFL_SHOP').hide();
184
-			$('#ITP_FORM_VENDINFO03010_DETAIL_DELETE_AFFL_SHOP').hide();
185
-		} else if(mode === 'VIEW') { // 보기
186
-			$('#ITP_AJAX_VENDINFO03010_VIEW_CONTAINER').show();
187
-			fn_show_btn_auth_array(['#ITP_BTN_VENDINFO03010_MODIFY', '#ITP_BTN_VENDINFO03010_CANCELLIST']);
188
-		}*/
159
+		}
189 160
 	}
190 161
 }
191 162
 
@@ -204,40 +175,24 @@ let listObj = {
204 175
             param.gridSize = $.jgrid.defaults.rowNum;
205 176
             param.gridPage = $.jgrid.defaults.page;
206 177
             $(VENDINFO03010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
207
-        }/*,
208
-        create: function() {
209
-            pageObj.switchScreen('ADD');
210
-            itp_fn_form_clear_validate(null, '#ITP_FORM_OPER06010_DETAIL');
211
-            // 권한정보 리스트 조회
212
-            createObj.init();
213
-        }*/
178
+        }
214 179
     },
215 180
     empty: {
216 181
         init: function() {
217
-            var _this = this;
218
-            this.push();
219
-            $(VENDINFO03010_GRID_EMPTY).on('click', function() {
220
-                _this.back();
221
-                listObj.itp_VENDINFO03010_param.gridSize = $.jgrid.defaults.rowNum;
222
-                $(VENDINFO03010_GRID_ID).setGridParam({'postData': JSON.stringify(listObj.itp_VENDINFO03010_param)}).trigger('reloadGrid');
223
-            });
182
+           
224 183
         },
225 184
         push: function() {
226
-            let param = $('#ITP_FORM_VENDINFO03010_SEARCH').serializeObject();
227
-            listObj.itp_VENDINFO03010_param = param;
185
+           
228 186
 
229 187
         },
230 188
         back: function() {
231
-            $('#ITP_FORM_VENDINFO03010_SEARCH_CONT_STT_DT').val(listObj.itp_VENDINFO03010_param.contSttDt);
232
-            $('#ITP_FORM_VENDINFO03010_SEARCH_CONT_END_DT').val(listObj.itp_VENDINFO03010_param.contEndDt);
233
-            $('#ITP_FORM_VENDINFO03010_SERVICE_ST_CD').val(listObj.itp_VENDINFO03010_param.stCd);
234
-            $('#ITP_FORM_VENDINFO03010_SEARCH_ITEM_NM').val(listObj.itp_VENDINFO03010_param.itemNm);
189
+           
235 190
         }
236 191
     },
237 192
     grid: {
238 193
         init: function () {
239 194
             // 데이터 없을때
240
-            listObj.empty.push();
195
+            //listObj.empty.push();
241 196
             this.search();
242 197
 
243 198
         },
@@ -258,16 +213,6 @@ let listObj = {
258 213
                 url: DOMAIN + API_ITEMUNIT_SPPLY_GRID_LIST,
259 214
                 pager: VENDINFO03010_GRID_PAGER,
260 215
                 rownumbers: false,
261
-                /*onCellSelect: function(rowId, cellIdx, cellValue) {
262
-                    var cm = $(this).jqGrid('getGridParam', 'colModel');
263
-                    var colNm = cm[cellIdx].name;
264
-                    if (colNm === 'brandId') {
265
-                        const brandIdVal = $(this).jqGrid('getCell', rowId, 'brandId');
266
-                        const key = {brandId: brandIdVal, viewCd: 'R'};
267
-                        var param = $.param(key);
268
-                        viewObj.init(param);
269
-                    }
270
-                },*/
271 216
                 loadComplete: function(data) {
272 217
                     console.log(data);
273 218
                     itp_fn_grid_load_complete(data, VENDINFO03010_GRID_ID, true, 'number', 'VENDINFO03010', listObj.itp_VENDINFO03010_search, listObj.empty, true, data.gridRecords, true);