Sfoglia il codice sorgente

품목현황 수정중

whakdo963 2 anni fa
parent
commit
620a537e6f

+ 103 - 99
bin/src/main/webapp/app/popup/biz/BIZPOP_DLV_STTMT_PRN.html

@@ -2,116 +2,120 @@
2 2
 	<div class="modal-dialog" style="width:1200px;">
3 3
 		<div class="modal-content">
4 4
 			<form id="ITP_FORM_BIZPOP_DLV_STTMT_PRN">
5
-				<div class="modal-header">
6
-					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7
-					<h5 class="modal-title">가맹점 검색</h5>
8
-				</div>
9
-				<div class="modal-body">
10
-					<div class="itp_form fix">
11
-						<div class="col-xs-12 itp_form_inline">
12
-							<div class="form-horizontal fix">
13
-								<div class="col-xs-4 itp_in itp_pr">
14
-									<img src="/oqpo-view/images/naver.png" alt="로고 샘플" id="ITP_BIZPOP_DLV_STTMT_PRN_BRAND_LOGO "style="border:none; border-radius: 0; height:85px; width:85px; position:absolute; padding:0;" class="form-control itp_input" name="" >
15
-								</div>
16
-								<div class="pull-right itp_cicon">
17
-									<button type="button" class="btn btn-success btn-sm" id="ITP_BIZPOP_DLV_STTMT_PRN_BTN_SEARCH" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;출력&nbsp;&nbsp;</button>
18
-									<button type="button" class="btn btn-primary btn-sm" id="ITP_BIZPOP_DLV_STTMT_PRN_BTN_SELECT"><i class="glyphicon"></i>&nbsp;&nbsp;다운로드&nbsp;&nbsp;</button>
5
+				<div id="ITP_POPUP_CONTAINER">
6
+					<div class="modal-header">
7
+						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
8
+						<h5 class="modal-title">가맹점 검색</h5>
9
+					</div>
10
+					<div class="modal-body">
11
+						<div class="itp_form fix">
12
+							<div class="col-xs-12 itp_form_inline">
13
+								<div class="form-horizontal fix">
14
+									<div class="col-xs-4 itp_in itp_pr">
15
+										<img src="/oqpo-view/images/naver.png" alt="로고 샘플" id="ITP_BIZPOP_DLV_STTMT_PRN_BRAND_LOGO "style="border:none; border-radius: 0; height:85px; width:85px; position:absolute; padding:0;" class="form-control itp_input" name="" >
16
+									</div>
17
+									<div class="pull-right itp_cicon">
18
+										<button type="button" class="btn btn-success btn-sm" id="ITP_BIZPOP_DLV_STTMT_PRN_BTN_SEARCH" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;출력&nbsp;&nbsp;</button>
19
+										<button type="button" class="btn btn-primary btn-sm" id="ITP_BIZPOP_DLV_STTMT_PRN_BTN_SELECT"><i class="glyphicon"></i>&nbsp;&nbsp;다운로드&nbsp;&nbsp;</button>
20
+									</div>
19 21
 								</div>
20 22
 							</div>
21
-						</div>
22
-						<div class="col-xs-12 itp_form_inline">
23
-							<div class="col-xs-5"></div>
24
-							<div class="itp_title">
25
-								<label>납품확인서</label>
26
-							</div>
27
-						</div>	
28
-						<div class="col-xs-12 itp_form_inline">
29
-							<div class="col-xs-6" >
30
-								<div>
31
-									<label style="width:100px;">발행일</label>
32
-									<label>:</label>
33
-									<span class="fnDlvRegDt">2022.01.01</span>
23
+							<div class="col-xs-12 itp_form_inline">
24
+								<div class="col-xs-5"></div>
25
+								<div class="itp_title">
26
+									<label>납품확인서</label>
34 27
 								</div>
35
-								<div>
36
-									<label style="width:100px;">납품확인번호</label>
37
-									<label>:</label>
38
-									<span class="fnDlvSttmtUnqNo">2211020000002001</span>
39
-								</div>
40
-								<div>
41
-									<label style="width:100px;">납품일</label>
42
-									<label>:</label>
43
-									<span class="fnDlvRegDt">2022.12.31</span>
44
-								</div>
45
-								<div>
46
-									<label style="width:100px;">납품담당</label>
47
-									<label>:</label>
48
-									<span class="fnDlvMgrNm">홍길동</span>
49
-									(<span class="fnDlvMgrTelNo">010-2525-2525</span>)
50
-								</div>
51
-							</div>
52
-							<div class="col-xs-6">
53
-								<div class="itp_sign">
54
-									<div class="itp_sign_header">
55
-										<label>서    명</label>
28
+							</div>	
29
+							<div class="col-xs-12 itp_form_inline">
30
+								<div class="col-xs-6" >
31
+									<div>
32
+										<label style="width:100px;">발행일</label>
33
+										<label>:</label>
34
+										<span class="fnDlvRegDt">2022.01.01</span>
56 35
 									</div>
57
-									<div class="itp_sign_area"></div>
58
-								</div>
59
-								<div class="itp_sign">
60
-									<div class="itp_sign_header">
61
-										<label>납품확인일</label>
36
+									<div>
37
+										<label style="width:100px;">납품확인번호</label>
38
+										<label>:</label>
39
+										<span class="fnDlvSttmtUnqNo">2211020000002001</span>
62 40
 									</div>
63
-									<div class="itp_sign_area">
64
-										2022.01.01
41
+									<div>
42
+										<label style="width:100px;">납품일</label>
43
+										<label>:</label>
44
+										<span class="fnDlvRegDt">2022.12.31</span>
45
+									</div>
46
+									<div>
47
+										<label style="width:100px;">납품담당</label>
48
+										<label>:</label>
49
+										<span class="fnDlvMgrNm">홍길동</span>
50
+										(<span class="fnDlvMgrTelNo">010-2525-2525</span>)
65 51
 									</div>
66 52
 								</div>
67
-							</div>
68
-						</div>	
69
-						<div class="col-xs-12 itp_form_inline">
70
-							<div class="col-xs-6">
71
-								<div>
72
-									<label style="width:100px;">납품 장소</label>
73
-									<label>:</label>
74
-									(<span style="margin:0px; " class="fnZipNo">12345</span>)
75
-									<span class="fnLoadAddr">서울 송파구 문정동 100 ㅁㄴㄹㅇㅁㄴ</span>
76
-									<span class="fnDtlAddr">디 매장</span>
77
-								</div>
78
-								<div>
79
-									<label style="width:100px;">전화번호</label>
80
-									<label>:</label>
81
-									<span class="fnDlvRegDt">02-1234-1547</span>
53
+								<div class="col-xs-6">
54
+									<div class="itp_sign">
55
+										<div class="itp_sign_header">
56
+											<label>서    명</label>
57
+										</div>
58
+										<div class="itp_sign_area"></div>
59
+									</div>
60
+									<div class="itp_sign">
61
+										<div class="itp_sign_header">
62
+											<label>납품확인일</label>
63
+										</div>
64
+										<div class="itp_sign_area">
65
+											2022.01.01
66
+										</div>
67
+									</div>
82 68
 								</div>
83
-							</div>
84
-						</div>	
85
-						<div class="col-xs-12 itp_form_inline">
86
-							<div class="col-xs-6">
87
-								<label class="itp_company_type">공급사</label>
88
-								<label class="col-xs-2">등록번호</label>
89
-								<div class="col-xs-4">
90
-									<div class="col-xs-12 itp_in fnBrandNm">215-58-584887</div>
69
+							</div>	
70
+							<div class="col-xs-12 itp_form_inline">
71
+								<div class="col-xs-6">
72
+									<div>
73
+										<label style="width:100px;">납품 장소</label>
74
+										<label>:</label>
75
+										(<span style="margin:0px; " class="fnZipNo">12345</span>)
76
+										<span class="fnLoadAddr">서울 송파구 문정동 100 ㅁㄴㄹㅇㅁㄴ</span>
77
+										<span class="fnDtlAddr">디 매장</span>
78
+									</div>
79
+									<div>
80
+										<label style="width:100px;">전화번호</label>
81
+										<label>:</label>
82
+										<span class="fnDlvRegDt">02-1234-1547</span>
83
+									</div>
91 84
 								</div>
92
-								
85
+							</div>	
86
+							<div class="col-xs-12 itp_form_inline">
87
+								<div class="itp_form_info">
88
+									<div class="col-xs-6">
89
+										<label class="itp_company_type">공급처</label>
90
+										<label class="col-xs-2">등록번호</label>
91
+										<div class="col-xs-4">
92
+											<div class="col-xs-12 itp_in fnBrandNm">215-58-584887</div>
93
+										</div>
94
+										
95
+									</div>
96
+									<div class="col-xs-6">
97
+										<label class="itp_company_type">발주처</label>
98
+										<label class="col-xs-2">등록번호</label>
99
+										<div class="col-xs-4">
100
+											<div class="col-xs-12 itp_in fnBrandNm">215-58-584887</div>
101
+										</div>
102
+										
103
+									</div>
104
+								</div>		
93 105
 							</div>
94
-							<div class="col-xs-6">
95
-								<label class="itp_company_type">공급사</label>
96
-								<label class="col-xs-2">등록번호</label>
97
-								<div class="col-xs-4">
98
-									<div class="col-xs-12 itp_in fnBrandNm">215-58-584887</div>
99
-								</div>
100
-								
101
-							</div>		
102 106
 						</div>
103
-					</div>
104
-					
105
-					
106
-					
107
-					
108
-					
109
-					
110
-					<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGrid_list" class="itp_tb_list" data-total-cnt="">
111
-						<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridView" class="itp_views fix"></div>
112
-						<table id="ITP_BIZPOP_DLV_STTMT_PRN_jqGrid"></table>
113
-						<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridPager"></div>
114
-						<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridEmpty" class="itp_no_data"></div>
107
+						
108
+						
109
+						
110
+						
111
+						
112
+						
113
+						<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGrid_list" class="itp_tb_list" data-total-cnt="">
114
+							<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridView" class="itp_views fix"></div>
115
+							<table id="ITP_BIZPOP_DLV_STTMT_PRN_jqGrid"></table>
116
+							<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridPager"></div>
117
+							<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridEmpty" class="itp_no_data"></div>
118
+						</div>
115 119
 					</div>
116 120
 				</div>
117 121
 			</form>

+ 6 - 11
bin/src/main/webapp/app/vendinfo/VENDINFO02010.html

@@ -17,13 +17,8 @@
17 17
 								<input type="hidden" id="ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID" name="sspplyId">
18 18
 								<input type="hidden" id="ITP_FORM_VENDINFO02010_SEARCH_BRAND_ID" name="sbrandId">
19 19
 									<div class="form-group">
20
-										<!-- <div class="col-xs-2 itp_ip itp_noMar">
21
-											<select id="ITP_FORM_VENDINFO02010_SERVICE_ST_CD" data-select-code="ST_CD" class="form-control itp_input" name="sitemStCd">
22
-												<option value="N"></option>
23
-											</select>										
24
-										</div> -->
25 20
 										<div class="col-xs-2 itp_ip itp_noMar">
26
-											<input type="text" id="ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" readonly/>
21
+											<input type="text" id="ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체 선택" readonly/>
27 22
 										</div>
28 23
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
29 24
 											<button type="button" id="ITP_FORM_VENDINFO02010_SEARCH_STORE_SPPLY" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
@@ -74,13 +69,13 @@
74 69
 										<div class="form-group">
75 70
 											<label class="col-xs-2 itp_lb">품목분류 *</label>
76 71
 											<div class="col-xs-12 itp_ip" style="padding:8px 0 0 15px;">
77
-												<div class="col-xs-a itp_in itp_noMar fnItemClass1"></div>
72
+												<div class="col-xs-a itp_in itp_noMar fnItemClass1Nm"></div>
78 73
 												<label class="col-xs-a itp_in">></label>
79
-												<div class="col-xs-a itp_in itp_noMar fnItemClass2"></div>
74
+												<div class="col-xs-a itp_in itp_noMar fnItemClass2Nm"></div>
80 75
 												<label class="col-xs-a itp_in">></label>
81
-												<div class="col-xs-a itp_in itp_noMar fnItemClass3"></div>
76
+												<div class="col-xs-a itp_in itp_noMar fnItemClass3Nm"></div>
82 77
 												<label class="col-xs-a itp_in">></label>
83
-												<div class="col-xs-a itp_in itp_noMar fnItemClass4"></div>
78
+												<div class="col-xs-a itp_in itp_noMar fnItemClass4Nm"></div>
84 79
 											</div>
85 80
 										</div>
86 81
 									</div>
@@ -247,7 +242,7 @@
247 242
 											<label class="col-xs-2 itp_lb">품목이미지</label>
248 243
 											<div class="col-xs-12 itp_ip colspan">
249 244
 												<div class="col-xs-1 itp_in" style="width:auto;">
250
-													<img src="/oqpo-view/images/item-list.jpg" alt="로고 샘플" id="ITP_FORM_STINFO04010_DETAIL "style="top:12px; left:12px; height:150px; width:412px; " class="form-control itp_input" name="" >
245
+													<img src="/" alt="로고 샘플" id="ITP_FORM_STINFO04010_DETAIL "style="top:12px; left:12px; height:150px; width:412px; " class="form-control itp_input" name="" >
251 246
 												</div>
252 247
 											</div>
253 248
 										</div>

+ 7 - 7
bin/src/main/webapp/css/style.css

@@ -689,10 +689,10 @@ _:-ms-fullscreen, :root .itp_logs {max-width: 1287px}
689 689
 .fnNumericDot {text-align: center;}
690 690
 
691 691
 /* 팝업 추가 */
692
-.modal-body .itp_title label {font-size:3rem; text-decoration:underline; text-underline-position:under;}
693
-.modal-body .itp_title .col-1 {width:100px;}
694
-.modal-body .itp_sign {float: right;}
695
-.modal-body .itp_sign .itp_sign_header {border: 1px solid #000; width: 120px; height: 35px; padding: 8px; text-align: center;}
696
-.modal-body .itp_sign .itp_sign_area {text-align: center; padding: 7px 6px; border: 1px solid #000; border-top:none; height: 110px;}
697
-.modal-body .itp_sign .itp_form_inline .itp_company_type {float:left;} 
698
-.modal-body span{margin-right:7px;}
692
+#ITP_POPUP_CONTAINER .modal-body .itp_title label {font-size:3rem; text-decoration:underline; text-underline-position:under;}
693
+#ITP_POPUP_CONTAINER .modal-body .itp_title .col-1 {width:100px;}
694
+#ITP_POPUP_CONTAINER .modal-body .itp_sign {float: right;}
695
+#ITP_POPUP_CONTAINER .modal-body .itp_sign .itp_sign_header {border: 1px solid #000; width: 120px; height: 35px; padding: 8px; text-align: center;}
696
+#ITP_POPUP_CONTAINER .modal-body .itp_sign .itp_sign_area {text-align: center; padding: 7px 6px; border: 1px solid #000; border-top:none; height: 110px;}
697
+#ITP_POPUP_CONTAINER .modal-body .itp_sign .itp_form_inline .itp_form_info .itp_company_type {float:left;}  
698
+#ITP_POPUP_CONTAINER .modal-body span{margin-right:7px;}

+ 27 - 6
bin/src/main/webapp/js/app/config.js

@@ -1297,7 +1297,7 @@ function itp_fn_open_tab_self(param, fn) {
1297 1297
 };
1298 1298
 
1299 1299
 
1300
-function itp_fn_set_file_upload(wrap, folder, multi, thumb, screen, arg) {
1300
+function itp_fn_set_file_upload(wrap, folder, multi, thumb, screen, arg, fn) {
1301 1301
 	if (thumb) {
1302 1302
 		multi = false;
1303 1303
 		ITP_UPLOAD_DEFAULTS = {
@@ -1351,6 +1351,9 @@ function itp_fn_set_file_upload(wrap, folder, multi, thumb, screen, arg) {
1351 1351
 			        success: function(result) {
1352 1352
 			        	trRow.hide();
1353 1353
 		        		trRow.remove();
1354
+		        		if(fn && $.isFunction(fn)) {
1355
+							fn(param);
1356
+						}
1354 1357
 			        },
1355 1358
 			        error: function(xhr, status, error) {
1356 1359
 						if (xhr.responseJSON !== undefined) { //실패시 서버에서 내려주는 메세지 얼럿
@@ -1697,7 +1700,7 @@ function itp_fn_grid_make_not_paging(option) {
1697 1700
 	});
1698 1701
 }
1699 1702
 
1700
-function itp_fn_grid_make_local(option) {
1703
+function itp_fn_grid_make_local(option) { //예를 원격으로 호출하면 됨     처음url 안주던지     빈 그리드 시용
1701 1704
 	var options = $.extend({
1702 1705
 		multiselect: false,
1703 1706
 		rownumbers: false
@@ -2968,9 +2971,6 @@ var itp_fn_set_timeout = {
2968 2971
 	}
2969 2972
 };
2970 2973
 
2971
-var itp_fn_is_valid = (formId) => {
2972
-};
2973
-
2974 2974
 // 2022-11-02 수발주 추가
2975 2975
 let itp_fn_form_event = {
2976 2976
 	onKeyup: function(formId) {
@@ -2981,12 +2981,19 @@ let itp_fn_form_event = {
2981 2981
 				value = $(this).val().replace(/[^0-9]/g, "");
2982 2982
 			}
2983 2983
 			if ($.inArray('comma', arry) > -1) {
2984
-				value = $(this).val().replace(/[^0-9]/g, "").replace(/\B(?=(\d{3})+(?!\d))/g, ",");
2984
+				value = $(this).val().replace(/[^0-9]/g, "")
2985
+					.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
2985 2986
 			}
2986 2987
 			if ($.inArray('regNo', arry) > -1) {
2987 2988
 				value = $(this).val().replace(/[^0-9]/g, "")
2988 2989
 					.replace(/(^[0-9]{3}|^0[0-9]{2})([0-9]+)?([0-9]{5})$/,"$1-$2-$3")
2989 2990
 			}
2991
+			if ($.inArray('corpNo', arry) > -1) {
2992
+				if($(this).val().length > 13) return;
2993
+				value = $(this).val().replace(/[^0-9]/g, "")
2994
+					.replace(/(^[0-9]{6})([0-9]+)?([0-9]{7})$/,"######-#######")
2995
+					// .replace(/(\d{6})(\d{7})/, '######-#######')
2996
+			}
2990 2997
 			if ($.inArray('tel', arry) > -1) {
2991 2998
 				value = ($(this).val().startsWith('0')) ? $(this).val().replace(/[^0-9]/g, "")
2992 2999
 					.replace(/(^02|^0505|^1[0-9]{3}|^0[0-9]{2})([0-9]+)?([0-9]{4})$/,"$1-$2-$3")
@@ -3017,4 +3024,18 @@ let itp_fn_form_event = {
3017 3024
 		});
3018 3025
 		return isValid;
3019 3026
 	}
3027
+};
3028
+
3029
+let itp_fn_attach_file = {
3030
+	view: (id, fileList, clazz, style) => {
3031
+		$.each(fileList, function(i, item) {
3032
+			var text = 	'<img ' +
3033
+						'src="' + item.filePath + '" ' +
3034
+						'alt="' + item.fileNm + '" ' +
3035
+						'id="' + (item.fileNo + '_' + i) + '" ' +
3036
+						'class="' + clazz + '" ' +
3037
+						'style="' + style + '" />';
3038
+			$('#' + id).append(text);
3039
+		});
3040
+	}
3020 3041
 };

+ 7 - 5
bin/src/main/webapp/js/app/popup/biz/ITP_BIZPOP_STORE_SPPLY.js

@@ -6,7 +6,9 @@ require(['config'], function() {
6 6
 	});
7 7
 });
8 8
 
9
-let API_POP_GRID_LIST = '/api/spply/pop-grid-list';
9
+//let API_POP_GRID_LIST = '/api/spply/pop-grid-list';
10
+let API_POP_GRID_LIST = '/api/spply/detail-grid-list';
11
+
10 12
 
11 13
 function itp_fn_BIZPOP_STORE_SPPLY(parentPopFn, args, returnType) {
12 14
 	
@@ -84,20 +86,20 @@ function itp_fn_BIZPOP_STORE_SPPLY(parentPopFn, args, returnType) {
84 86
 			{
85 87
 				index: 'SPPLY_ID', name: 'spplyId',
86 88
 				label: '공급업체ID', //
87
-				width: '10', fixed: false, align: 'center',
88
-				sortable: false, hidden: true
89
+				width: '8', fixed: false, align: 'center',
90
+				sortable: false, hidden: false
89 91
 			},
90 92
 			{
91 93
 				index: 'SPPLY_NM', name: 'spplyNm',
92 94
 				label: '공급업체명', //
93
-				width: '12', fixed: false, align: 'center',
95
+				width: '10', fixed: false, align: 'center',
94 96
 				sortable: false, hidden: false
95 97
 			},
96 98
 			{
97 99
 				index: 'ST_CD', name: 'stCd',
98 100
 				label: '상태', //
99 101
 				width: '6', fixed: false, align: 'center',
100
-				sortable: false, hidden: false
102
+				sortable: false, hidden: true
101 103
 			}
102 104
 		],
103 105
 		loadBeforeSend: function(jqXHR) {

+ 49 - 10
bin/src/main/webapp/js/app/vendinfo/ITP_VENDINFO02010.js

@@ -360,15 +360,15 @@ let listObj = {
360 360
 	button: {
361 361
 			search: function() {
362 362
 					listObj.itp_VENDINFO02010_search = true;
363
+					var url = DOMAIN + API_DETAIL_GRID_LIST;
363 364
 					let param = $('#ITP_FORM_VENDINFO02010_SEARCH').serializeObject();
364 365
 					param.gridSize = $.jgrid.defaults.rowNum;
365 366
 					param.gridPage = $.jgrid.defaults.page;
366
-					$(VENDINFO02010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
367
+					$(VENDINFO02010_GRID_ID).setGridParam({'url': url,'data': JSON.stringify(param)}).trigger('reloadGrid');
367 368
 			},
368 369
 			create: function() {
369 370
 					if(!fn_make_user_info.isEmpty()) {
370 371
 						createObj.init();
371
-							
372 372
 					}
373 373
 			}
374 374
 	},
@@ -415,7 +415,41 @@ let listObj = {
415 415
 			search: function() {
416 416
 					pageObj.switchScreen('LIST');
417 417
 					this.unload();
418
-					this.load();
418
+					this.localLoad();
419
+//					this.load();
420
+			},
421
+			localLoad: function() {
422
+				var option = {
423
+					gridId: VENDINFO02010_GRID_ID,
424
+					colModel: gridColModel.list,
425
+					data: [],
426
+					multiselect: true,
427
+					pager: VENDINFO02010_GRID_PAGER,
428
+					onCellSelect: function(rowId, cellIdx, cellValue) {
429
+						var cm = $(this).jqGrid('getGridParam', 'colModel');
430
+						var colNm = cm[cellIdx].name;
431
+						if (colNm == 'itemId') {
432
+								const selectVal = $(this).jqGrid('getCell', rowId, 'itemId');
433
+								const key = {brandId:fn_make_user_info.get('brandId'), itemId: selectVal, viewCd: 'R'};
434
+								var param = $.param(key);
435
+								viewObj.init(param);
436
+						}
437
+					},	
438
+					loadComplete: function(data) {
439
+						console.log(data);
440
+						if(data && data.length > 0) {
441
+							itp_fn_grid_load_complete(data, VENDINFO02010_GRID_ID, true, 'number', 'VENDINFO02010', listObj.itp_VENDINFO02010_search, listObj.empty, true, data.gridRecords, true);
442
+							var ids = $(VENDINFO02010_GRID_ID).getDataIDs();
443
+							$.each(ids, function(idx, rowId) {
444
+									$(VENDINFO02010_GRID_ID).jqGrid('setCell', rowId, 'itemId', '', ITP_GRID_COL_STYLE.link);
445
+							});
446
+						}
447
+					},
448
+					onPaging: function(action) {
449
+						itp_fn_grid_paging(VENDINFO02010_GRID_ID, action, param);
450
+					}
451
+				};
452
+				itp_fn_grid_make_local(option);
419 453
 			},
420 454
 			load: function() {
421 455
 					$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID').val(fn_make_user_info.get('spplyId'));
@@ -485,6 +519,11 @@ let viewObj = {
485 519
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass2').text(result.itemClass2);
486 520
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass3').text(result.itemClass3);
487 521
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass4').text(result.itemClass4);
522
+			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass1Nm').text(result.itemClass1Nm);
523
+			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass2Nm').text(result.itemClass2Nm);
524
+			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass3Nm').text(result.itemClass3Nm);
525
+			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass4Nm').text(result.itemClass4Nm);
526
+			
488 527
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClassMgntNo').text(result.itemClassMgntNo);
489 528
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemId').text(result.itemId);
490 529
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemTypeNm').text(result.itemTypeNm);
@@ -706,10 +745,10 @@ let storeSpplyObj = {
706 745
 		},
707 746
 		callback: {
708 747
 			list: function(rowDataPop) {
709
-				// console.log(rowDataPop);
710
-				if(rowDataPop.STORE_SPPLY) {
711
-					$('#ITP_FORM_VENDINFO02010_SEARCH_STORE_SPPLY_ID').val(rowDataPop.STORE_SPPLY.afflShopId);
712
-					$('#ITP_FORM_VENDINFO02010_SEARCH_STORE_SPPLY_NM').val(rowDataPop.STORE_SPPLY.afflShopNm);
748
+				 console.log(rowDataPop);
749
+				if(rowDataPop) {
750
+					$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID').val(rowDataPop.spplyId);
751
+					$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM').val(rowDataPop.spplyNm);
713 752
 				}
714 753
 				if(rowDataPop.AFFL_BRAND) {
715 754
 					fn_make_select_brand(rowDataPop.AFFL_BRAND, 'ITP_FORM_VENDINFO02010_SEARCH_BRAND_ID', true, '선택');
@@ -717,9 +756,9 @@ let storeSpplyObj = {
717 756
 			},
718 757
 			create: function(rowDataPop) {
719 758
 				console.log(rowDataPop);
720
-				if(rowDataPop.STORE_SPPLY) {
721
-					$('#ITP_FORM_VENDINFO02010_DETAIL_SEARCH_STORE_SPPLY_ID').val(rowDataPop.STORE_SPPLY.afflShopId);
722
-					$('#ITP_FORM_VENDINFO02010_DETAIL_SEARCH_STORE_SPPLY_NM').val(rowDataPop.STORE_SPPLY.afflShopNm);
759
+				if(rowDataPop) {
760
+					$('#ITP_FORM_VENDINFO02010_DETAIL_SEARCH_STORE_SPPLY_ID').val(rowDataPop.spplyId);
761
+					$('#ITP_FORM_VENDINFO02010_DETAIL_SEARCH_STORE_SPPLY_NM').val(rowDataPop.spplyNm);
723 762
 				}
724 763
 				if(rowDataPop.AFFL_BRAND) {
725 764
 					fn_make_select_brand(rowDataPop.AFFL_BRAND, 'ITP_FORM_VENDINFO02010_DETAIL_BRAND_NM', true, '선택');

+ 103 - 99
src/main/webapp/app/popup/biz/BIZPOP_DLV_STTMT_PRN.html

@@ -2,116 +2,120 @@
2 2
 	<div class="modal-dialog" style="width:1200px;">
3 3
 		<div class="modal-content">
4 4
 			<form id="ITP_FORM_BIZPOP_DLV_STTMT_PRN">
5
-				<div class="modal-header">
6
-					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7
-					<h5 class="modal-title">가맹점 검색</h5>
8
-				</div>
9
-				<div class="modal-body">
10
-					<div class="itp_form fix">
11
-						<div class="col-xs-12 itp_form_inline">
12
-							<div class="form-horizontal fix">
13
-								<div class="col-xs-4 itp_in itp_pr">
14
-									<img src="/oqpo-view/images/naver.png" alt="로고 샘플" id="ITP_BIZPOP_DLV_STTMT_PRN_BRAND_LOGO "style="border:none; border-radius: 0; height:85px; width:85px; position:absolute; padding:0;" class="form-control itp_input" name="" >
15
-								</div>
16
-								<div class="pull-right itp_cicon">
17
-									<button type="button" class="btn btn-success btn-sm" id="ITP_BIZPOP_DLV_STTMT_PRN_BTN_SEARCH" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;출력&nbsp;&nbsp;</button>
18
-									<button type="button" class="btn btn-primary btn-sm" id="ITP_BIZPOP_DLV_STTMT_PRN_BTN_SELECT"><i class="glyphicon"></i>&nbsp;&nbsp;다운로드&nbsp;&nbsp;</button>
5
+				<div id="ITP_POPUP_CONTAINER">
6
+					<div class="modal-header">
7
+						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
8
+						<h5 class="modal-title">가맹점 검색</h5>
9
+					</div>
10
+					<div class="modal-body">
11
+						<div class="itp_form fix">
12
+							<div class="col-xs-12 itp_form_inline">
13
+								<div class="form-horizontal fix">
14
+									<div class="col-xs-4 itp_in itp_pr">
15
+										<img src="/oqpo-view/images/naver.png" alt="로고 샘플" id="ITP_BIZPOP_DLV_STTMT_PRN_BRAND_LOGO "style="border:none; border-radius: 0; height:85px; width:85px; position:absolute; padding:0;" class="form-control itp_input" name="" >
16
+									</div>
17
+									<div class="pull-right itp_cicon">
18
+										<button type="button" class="btn btn-success btn-sm" id="ITP_BIZPOP_DLV_STTMT_PRN_BTN_SEARCH" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;출력&nbsp;&nbsp;</button>
19
+										<button type="button" class="btn btn-primary btn-sm" id="ITP_BIZPOP_DLV_STTMT_PRN_BTN_SELECT"><i class="glyphicon"></i>&nbsp;&nbsp;다운로드&nbsp;&nbsp;</button>
20
+									</div>
19 21
 								</div>
20 22
 							</div>
21
-						</div>
22
-						<div class="col-xs-12 itp_form_inline">
23
-							<div class="col-xs-5"></div>
24
-							<div class="itp_title">
25
-								<label>납품확인서</label>
26
-							</div>
27
-						</div>	
28
-						<div class="col-xs-12 itp_form_inline">
29
-							<div class="col-xs-6" >
30
-								<div>
31
-									<label style="width:100px;">발행일</label>
32
-									<label>:</label>
33
-									<span class="fnDlvRegDt">2022.01.01</span>
23
+							<div class="col-xs-12 itp_form_inline">
24
+								<div class="col-xs-5"></div>
25
+								<div class="itp_title">
26
+									<label>납품확인서</label>
34 27
 								</div>
35
-								<div>
36
-									<label style="width:100px;">납품확인번호</label>
37
-									<label>:</label>
38
-									<span class="fnDlvSttmtUnqNo">2211020000002001</span>
39
-								</div>
40
-								<div>
41
-									<label style="width:100px;">납품일</label>
42
-									<label>:</label>
43
-									<span class="fnDlvRegDt">2022.12.31</span>
44
-								</div>
45
-								<div>
46
-									<label style="width:100px;">납품담당</label>
47
-									<label>:</label>
48
-									<span class="fnDlvMgrNm">홍길동</span>
49
-									(<span class="fnDlvMgrTelNo">010-2525-2525</span>)
50
-								</div>
51
-							</div>
52
-							<div class="col-xs-6">
53
-								<div class="itp_sign">
54
-									<div class="itp_sign_header">
55
-										<label>서    명</label>
28
+							</div>	
29
+							<div class="col-xs-12 itp_form_inline">
30
+								<div class="col-xs-6" >
31
+									<div>
32
+										<label style="width:100px;">발행일</label>
33
+										<label>:</label>
34
+										<span class="fnDlvRegDt">2022.01.01</span>
56 35
 									</div>
57
-									<div class="itp_sign_area"></div>
58
-								</div>
59
-								<div class="itp_sign">
60
-									<div class="itp_sign_header">
61
-										<label>납품확인일</label>
36
+									<div>
37
+										<label style="width:100px;">납품확인번호</label>
38
+										<label>:</label>
39
+										<span class="fnDlvSttmtUnqNo">2211020000002001</span>
62 40
 									</div>
63
-									<div class="itp_sign_area">
64
-										2022.01.01
41
+									<div>
42
+										<label style="width:100px;">납품일</label>
43
+										<label>:</label>
44
+										<span class="fnDlvRegDt">2022.12.31</span>
45
+									</div>
46
+									<div>
47
+										<label style="width:100px;">납품담당</label>
48
+										<label>:</label>
49
+										<span class="fnDlvMgrNm">홍길동</span>
50
+										(<span class="fnDlvMgrTelNo">010-2525-2525</span>)
65 51
 									</div>
66 52
 								</div>
67
-							</div>
68
-						</div>	
69
-						<div class="col-xs-12 itp_form_inline">
70
-							<div class="col-xs-6">
71
-								<div>
72
-									<label style="width:100px;">납품 장소</label>
73
-									<label>:</label>
74
-									(<span style="margin:0px; " class="fnZipNo">12345</span>)
75
-									<span class="fnLoadAddr">서울 송파구 문정동 100 ㅁㄴㄹㅇㅁㄴ</span>
76
-									<span class="fnDtlAddr">디 매장</span>
77
-								</div>
78
-								<div>
79
-									<label style="width:100px;">전화번호</label>
80
-									<label>:</label>
81
-									<span class="fnDlvRegDt">02-1234-1547</span>
53
+								<div class="col-xs-6">
54
+									<div class="itp_sign">
55
+										<div class="itp_sign_header">
56
+											<label>서    명</label>
57
+										</div>
58
+										<div class="itp_sign_area"></div>
59
+									</div>
60
+									<div class="itp_sign">
61
+										<div class="itp_sign_header">
62
+											<label>납품확인일</label>
63
+										</div>
64
+										<div class="itp_sign_area">
65
+											2022.01.01
66
+										</div>
67
+									</div>
82 68
 								</div>
83
-							</div>
84
-						</div>	
85
-						<div class="col-xs-12 itp_form_inline">
86
-							<div class="col-xs-6">
87
-								<label class="itp_company_type">공급사</label>
88
-								<label class="col-xs-2">등록번호</label>
89
-								<div class="col-xs-4">
90
-									<div class="col-xs-12 itp_in fnBrandNm">215-58-584887</div>
69
+							</div>	
70
+							<div class="col-xs-12 itp_form_inline">
71
+								<div class="col-xs-6">
72
+									<div>
73
+										<label style="width:100px;">납품 장소</label>
74
+										<label>:</label>
75
+										(<span style="margin:0px; " class="fnZipNo">12345</span>)
76
+										<span class="fnLoadAddr">서울 송파구 문정동 100 ㅁㄴㄹㅇㅁㄴ</span>
77
+										<span class="fnDtlAddr">디 매장</span>
78
+									</div>
79
+									<div>
80
+										<label style="width:100px;">전화번호</label>
81
+										<label>:</label>
82
+										<span class="fnDlvRegDt">02-1234-1547</span>
83
+									</div>
91 84
 								</div>
92
-								
85
+							</div>	
86
+							<div class="col-xs-12 itp_form_inline">
87
+								<div class="itp_form_info">
88
+									<div class="col-xs-6">
89
+										<label class="itp_company_type">공급처</label>
90
+										<label class="col-xs-2">등록번호</label>
91
+										<div class="col-xs-4">
92
+											<div class="col-xs-12 itp_in fnBrandNm">215-58-584887</div>
93
+										</div>
94
+										
95
+									</div>
96
+									<div class="col-xs-6">
97
+										<label class="itp_company_type">발주처</label>
98
+										<label class="col-xs-2">등록번호</label>
99
+										<div class="col-xs-4">
100
+											<div class="col-xs-12 itp_in fnBrandNm">215-58-584887</div>
101
+										</div>
102
+										
103
+									</div>
104
+								</div>		
93 105
 							</div>
94
-							<div class="col-xs-6">
95
-								<label class="itp_company_type">공급사</label>
96
-								<label class="col-xs-2">등록번호</label>
97
-								<div class="col-xs-4">
98
-									<div class="col-xs-12 itp_in fnBrandNm">215-58-584887</div>
99
-								</div>
100
-								
101
-							</div>		
102 106
 						</div>
103
-					</div>
104
-					
105
-					
106
-					
107
-					
108
-					
109
-					
110
-					<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGrid_list" class="itp_tb_list" data-total-cnt="">
111
-						<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridView" class="itp_views fix"></div>
112
-						<table id="ITP_BIZPOP_DLV_STTMT_PRN_jqGrid"></table>
113
-						<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridPager"></div>
114
-						<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridEmpty" class="itp_no_data"></div>
107
+						
108
+						
109
+						
110
+						
111
+						
112
+						
113
+						<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGrid_list" class="itp_tb_list" data-total-cnt="">
114
+							<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridView" class="itp_views fix"></div>
115
+							<table id="ITP_BIZPOP_DLV_STTMT_PRN_jqGrid"></table>
116
+							<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridPager"></div>
117
+							<div id="ITP_BIZPOP_DLV_STTMT_PRN_jqGridEmpty" class="itp_no_data"></div>
118
+						</div>
115 119
 					</div>
116 120
 				</div>
117 121
 			</form>

+ 6 - 11
src/main/webapp/app/vendinfo/VENDINFO02010.html

@@ -17,13 +17,8 @@
17 17
 								<input type="hidden" id="ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID" name="sspplyId">
18 18
 								<input type="hidden" id="ITP_FORM_VENDINFO02010_SEARCH_BRAND_ID" name="sbrandId">
19 19
 									<div class="form-group">
20
-										<!-- <div class="col-xs-2 itp_ip itp_noMar">
21
-											<select id="ITP_FORM_VENDINFO02010_SERVICE_ST_CD" data-select-code="ST_CD" class="form-control itp_input" name="sitemStCd">
22
-												<option value="N"></option>
23
-											</select>										
24
-										</div> -->
25 20
 										<div class="col-xs-2 itp_ip itp_noMar">
26
-											<input type="text" id="ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" readonly/>
21
+											<input type="text" id="ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM" class="form-control itp_input" name="sspplyNm" placeholder="공급업체 선택" readonly/>
27 22
 										</div>
28 23
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
29 24
 											<button type="button" id="ITP_FORM_VENDINFO02010_SEARCH_STORE_SPPLY" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
@@ -74,13 +69,13 @@
74 69
 										<div class="form-group">
75 70
 											<label class="col-xs-2 itp_lb">품목분류 *</label>
76 71
 											<div class="col-xs-12 itp_ip" style="padding:8px 0 0 15px;">
77
-												<div class="col-xs-a itp_in itp_noMar fnItemClass1"></div>
72
+												<div class="col-xs-a itp_in itp_noMar fnItemClass1Nm"></div>
78 73
 												<label class="col-xs-a itp_in">></label>
79
-												<div class="col-xs-a itp_in itp_noMar fnItemClass2"></div>
74
+												<div class="col-xs-a itp_in itp_noMar fnItemClass2Nm"></div>
80 75
 												<label class="col-xs-a itp_in">></label>
81
-												<div class="col-xs-a itp_in itp_noMar fnItemClass3"></div>
76
+												<div class="col-xs-a itp_in itp_noMar fnItemClass3Nm"></div>
82 77
 												<label class="col-xs-a itp_in">></label>
83
-												<div class="col-xs-a itp_in itp_noMar fnItemClass4"></div>
78
+												<div class="col-xs-a itp_in itp_noMar fnItemClass4Nm"></div>
84 79
 											</div>
85 80
 										</div>
86 81
 									</div>
@@ -247,7 +242,7 @@
247 242
 											<label class="col-xs-2 itp_lb">품목이미지</label>
248 243
 											<div class="col-xs-12 itp_ip colspan">
249 244
 												<div class="col-xs-1 itp_in" style="width:auto;">
250
-													<img src="/oqpo-view/images/item-list.jpg" alt="로고 샘플" id="ITP_FORM_STINFO04010_DETAIL "style="top:12px; left:12px; height:150px; width:412px; " class="form-control itp_input" name="" >
245
+													<img src="/" alt="로고 샘플" id="ITP_FORM_STINFO04010_DETAIL "style="top:12px; left:12px; height:150px; width:412px; " class="form-control itp_input" name="" >
251 246
 												</div>
252 247
 											</div>
253 248
 										</div>

+ 7 - 7
src/main/webapp/css/style.css

@@ -689,10 +689,10 @@ _:-ms-fullscreen, :root .itp_logs {max-width: 1287px}
689 689
 .fnNumericDot {text-align: center;}
690 690
 
691 691
 /* 팝업 추가 */
692
-.modal-body .itp_title label {font-size:3rem; text-decoration:underline; text-underline-position:under;}
693
-.modal-body .itp_title .col-1 {width:100px;}
694
-.modal-body .itp_sign {float: right;}
695
-.modal-body .itp_sign .itp_sign_header {border: 1px solid #000; width: 120px; height: 35px; padding: 8px; text-align: center;}
696
-.modal-body .itp_sign .itp_sign_area {text-align: center; padding: 7px 6px; border: 1px solid #000; border-top:none; height: 110px;}
697
-.modal-body .itp_sign .itp_form_inline .itp_company_type {float:left;} 
698
-.modal-body span{margin-right:7px;}
692
+#ITP_POPUP_CONTAINER .modal-body .itp_title label {font-size:3rem; text-decoration:underline; text-underline-position:under;}
693
+#ITP_POPUP_CONTAINER .modal-body .itp_title .col-1 {width:100px;}
694
+#ITP_POPUP_CONTAINER .modal-body .itp_sign {float: right;}
695
+#ITP_POPUP_CONTAINER .modal-body .itp_sign .itp_sign_header {border: 1px solid #000; width: 120px; height: 35px; padding: 8px; text-align: center;}
696
+#ITP_POPUP_CONTAINER .modal-body .itp_sign .itp_sign_area {text-align: center; padding: 7px 6px; border: 1px solid #000; border-top:none; height: 110px;}
697
+#ITP_POPUP_CONTAINER .modal-body .itp_sign .itp_form_inline .itp_form_info .itp_company_type {float:left;}  
698
+#ITP_POPUP_CONTAINER .modal-body span{margin-right:7px;}

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

@@ -1700,7 +1700,7 @@ function itp_fn_grid_make_not_paging(option) {
1700 1700
 	});
1701 1701
 }
1702 1702
 
1703
-function itp_fn_grid_make_local(option) {
1703
+function itp_fn_grid_make_local(option) { //예를 원격으로 호출하면 됨     처음url 안주던지     빈 그리드 시용
1704 1704
 	var options = $.extend({
1705 1705
 		multiselect: false,
1706 1706
 		rownumbers: false

+ 7 - 5
src/main/webapp/js/app/popup/biz/ITP_BIZPOP_STORE_SPPLY.js

@@ -6,7 +6,9 @@ require(['config'], function() {
6 6
 	});
7 7
 });
8 8
 
9
-let API_POP_GRID_LIST = '/api/spply/pop-grid-list';
9
+//let API_POP_GRID_LIST = '/api/spply/pop-grid-list';
10
+let API_POP_GRID_LIST = '/api/spply/detail-grid-list';
11
+
10 12
 
11 13
 function itp_fn_BIZPOP_STORE_SPPLY(parentPopFn, args, returnType) {
12 14
 	
@@ -84,20 +86,20 @@ function itp_fn_BIZPOP_STORE_SPPLY(parentPopFn, args, returnType) {
84 86
 			{
85 87
 				index: 'SPPLY_ID', name: 'spplyId',
86 88
 				label: '공급업체ID', //
87
-				width: '10', fixed: false, align: 'center',
88
-				sortable: false, hidden: true
89
+				width: '8', fixed: false, align: 'center',
90
+				sortable: false, hidden: false
89 91
 			},
90 92
 			{
91 93
 				index: 'SPPLY_NM', name: 'spplyNm',
92 94
 				label: '공급업체명', //
93
-				width: '12', fixed: false, align: 'center',
95
+				width: '10', fixed: false, align: 'center',
94 96
 				sortable: false, hidden: false
95 97
 			},
96 98
 			{
97 99
 				index: 'ST_CD', name: 'stCd',
98 100
 				label: '상태', //
99 101
 				width: '6', fixed: false, align: 'center',
100
-				sortable: false, hidden: false
102
+				sortable: false, hidden: true
101 103
 			}
102 104
 		],
103 105
 		loadBeforeSend: function(jqXHR) {

+ 49 - 10
src/main/webapp/js/app/vendinfo/ITP_VENDINFO02010.js

@@ -360,15 +360,15 @@ let listObj = {
360 360
 	button: {
361 361
 			search: function() {
362 362
 					listObj.itp_VENDINFO02010_search = true;
363
+					var url = DOMAIN + API_DETAIL_GRID_LIST;
363 364
 					let param = $('#ITP_FORM_VENDINFO02010_SEARCH').serializeObject();
364 365
 					param.gridSize = $.jgrid.defaults.rowNum;
365 366
 					param.gridPage = $.jgrid.defaults.page;
366
-					$(VENDINFO02010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
367
+					$(VENDINFO02010_GRID_ID).setGridParam({'url': url,'data': JSON.stringify(param)}).trigger('reloadGrid');
367 368
 			},
368 369
 			create: function() {
369 370
 					if(!fn_make_user_info.isEmpty()) {
370 371
 						createObj.init();
371
-							
372 372
 					}
373 373
 			}
374 374
 	},
@@ -415,7 +415,41 @@ let listObj = {
415 415
 			search: function() {
416 416
 					pageObj.switchScreen('LIST');
417 417
 					this.unload();
418
-					this.load();
418
+					this.localLoad();
419
+//					this.load();
420
+			},
421
+			localLoad: function() {
422
+				var option = {
423
+					gridId: VENDINFO02010_GRID_ID,
424
+					colModel: gridColModel.list,
425
+					data: [],
426
+					multiselect: true,
427
+					pager: VENDINFO02010_GRID_PAGER,
428
+					onCellSelect: function(rowId, cellIdx, cellValue) {
429
+						var cm = $(this).jqGrid('getGridParam', 'colModel');
430
+						var colNm = cm[cellIdx].name;
431
+						if (colNm == 'itemId') {
432
+								const selectVal = $(this).jqGrid('getCell', rowId, 'itemId');
433
+								const key = {brandId:fn_make_user_info.get('brandId'), itemId: selectVal, viewCd: 'R'};
434
+								var param = $.param(key);
435
+								viewObj.init(param);
436
+						}
437
+					},	
438
+					loadComplete: function(data) {
439
+						console.log(data);
440
+						if(data && data.length > 0) {
441
+							itp_fn_grid_load_complete(data, VENDINFO02010_GRID_ID, true, 'number', 'VENDINFO02010', listObj.itp_VENDINFO02010_search, listObj.empty, true, data.gridRecords, true);
442
+							var ids = $(VENDINFO02010_GRID_ID).getDataIDs();
443
+							$.each(ids, function(idx, rowId) {
444
+									$(VENDINFO02010_GRID_ID).jqGrid('setCell', rowId, 'itemId', '', ITP_GRID_COL_STYLE.link);
445
+							});
446
+						}
447
+					},
448
+					onPaging: function(action) {
449
+						itp_fn_grid_paging(VENDINFO02010_GRID_ID, action, param);
450
+					}
451
+				};
452
+				itp_fn_grid_make_local(option);
419 453
 			},
420 454
 			load: function() {
421 455
 					$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID').val(fn_make_user_info.get('spplyId'));
@@ -485,6 +519,11 @@ let viewObj = {
485 519
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass2').text(result.itemClass2);
486 520
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass3').text(result.itemClass3);
487 521
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass4').text(result.itemClass4);
522
+			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass1Nm').text(result.itemClass1Nm);
523
+			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass2Nm').text(result.itemClass2Nm);
524
+			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass3Nm').text(result.itemClass3Nm);
525
+			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClass4Nm').text(result.itemClass4Nm);
526
+			
488 527
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemClassMgntNo').text(result.itemClassMgntNo);
489 528
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemId').text(result.itemId);
490 529
 			$('#ITP_FORM_VENDINFO02010_VIEW .fnItemTypeNm').text(result.itemTypeNm);
@@ -706,10 +745,10 @@ let storeSpplyObj = {
706 745
 		},
707 746
 		callback: {
708 747
 			list: function(rowDataPop) {
709
-				// console.log(rowDataPop);
710
-				if(rowDataPop.STORE_SPPLY) {
711
-					$('#ITP_FORM_VENDINFO02010_SEARCH_STORE_SPPLY_ID').val(rowDataPop.STORE_SPPLY.afflShopId);
712
-					$('#ITP_FORM_VENDINFO02010_SEARCH_STORE_SPPLY_NM').val(rowDataPop.STORE_SPPLY.afflShopNm);
748
+				 console.log(rowDataPop);
749
+				if(rowDataPop) {
750
+					$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID').val(rowDataPop.spplyId);
751
+					$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_NM').val(rowDataPop.spplyNm);
713 752
 				}
714 753
 				if(rowDataPop.AFFL_BRAND) {
715 754
 					fn_make_select_brand(rowDataPop.AFFL_BRAND, 'ITP_FORM_VENDINFO02010_SEARCH_BRAND_ID', true, '선택');
@@ -717,9 +756,9 @@ let storeSpplyObj = {
717 756
 			},
718 757
 			create: function(rowDataPop) {
719 758
 				console.log(rowDataPop);
720
-				if(rowDataPop.STORE_SPPLY) {
721
-					$('#ITP_FORM_VENDINFO02010_DETAIL_SEARCH_STORE_SPPLY_ID').val(rowDataPop.STORE_SPPLY.afflShopId);
722
-					$('#ITP_FORM_VENDINFO02010_DETAIL_SEARCH_STORE_SPPLY_NM').val(rowDataPop.STORE_SPPLY.afflShopNm);
759
+				if(rowDataPop) {
760
+					$('#ITP_FORM_VENDINFO02010_DETAIL_SEARCH_STORE_SPPLY_ID').val(rowDataPop.spplyId);
761
+					$('#ITP_FORM_VENDINFO02010_DETAIL_SEARCH_STORE_SPPLY_NM').val(rowDataPop.spplyNm);
723 762
 				}
724 763
 				if(rowDataPop.AFFL_BRAND) {
725 764
 					fn_make_select_brand(rowDataPop.AFFL_BRAND, 'ITP_FORM_VENDINFO02010_DETAIL_BRAND_NM', true, '선택');