Browse Source

Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view

yhl88 2 years ago
parent
commit
93b40829e5

+ 16 - 12
src/main/webapp/app/inoutmng/INOUTMNG01010.html

@@ -5,6 +5,7 @@
5 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_INOUTMNG01010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon "></i>&nbsp;&nbsp;조회&nbsp;&nbsp;</button>
8
+					<button type="button" id="ITP_BTN_INOUTMNG01010_OUC" class="btn btn-success btn-sm OUC" style="display: inline-block;"><i class="glyphicon "></i>&nbsp;&nbsp;출하생성&nbsp;&nbsp;</button>
8 9
 					<button type="button" id="ITP_BTN_INOUTMNG01010_OUT" class="btn btn-success btn-sm OUD" style="display: inline-block;"><i class="glyphicon "></i>&nbsp;&nbsp;출하지시&nbsp;&nbsp;</button>
9 10
 					<button type="button" id="ITP_BTN_INOUTMNG01010_CANCELLIST" class="btn btn-warning btn-sm PRB"><i class="glyphicon "></i>&nbsp;&nbsp;취소/목록&nbsp;&nbsp;</button>
10 11
 				</div>
@@ -15,6 +16,8 @@
15 16
 						<div class="itp_srh_border fix">
16 17
 							<div class="col-xs-12">
17 18
 								<form id="ITP_FORM_INOUTMNG01010_SEARCH" class="form-horizontal">
19
+								   <input type="hidden" id="ITP_FORM_INOUTMNG01010_DETAIL_SBRAND_ID" class="form-control itp_input" name="sbrandId" />
20
+								
18 21
 									<div class="form-group">
19 22
 										<div class="col-xs-2 itp_ip itp_noMar">
20 23
 											<select id="ITP_FORM_INOUTMNG01010_SEARCH_DLV_REQ_DT" class="form-control itp_input" name="serviceDlvReqDt">
@@ -64,11 +67,12 @@
64 67
 						</div>
65 68
 					</div>
66 69
 				</div>
67
-				<div id="ITP_AJAX_INOUTMNG01010_VIEW_CONTAINER" >
70
+				<div id="ITP_AJAX_INOUTMNG01010_DETAIL_CONTAINER" >
68 71
 					<div class="itp_form itp_type1 fix">
69 72
 						<div class="col-xs-12">
70
-							<form id="ITP_FORM_INOUTMNG01010_VIEW" class="form-horizontal">
71
-								<input type="hidden" id="ITP_FORM_INOUTMNG01010_VIEW_" name="" value="">
73
+							<form id="ITP_FORM_INOUTMNG01010_DETAIL" class="form-horizontal">
74
+								<input type="hidden" id="ITP_FORM_INOUTMNG01010_DETAIL_" name="" value="">
75
+								<input type="hidden" id="ITP_FORM_INOUTMNG01010_DETAIL_BRAND_ID" class="form-control itp_input" name="brandId" />
72 76
 								<section class="itp_form_sec">
73 77
 									<h4 class="itp_form_tit">출하지시 기본정보</h4>
74 78
 									<div class="itp_form_in">
@@ -81,8 +85,8 @@
81 85
 											</div>
82 86
 											<label class="col-xs-2 itp_lb">납품일자 *</label>
83 87
 											<div class="col-xs-4 itp_ip">
84
-												<div class="col-xs-7 itp_in">
85
-													<input type="date" id="ITP_FORM_INOUTMNG01010_VIEW_DLV_DT" data-check-required="empty" class="form-control itp_input" name="dlvDt" value="">
88
+												<div class="input-daterange input-group date">
89
+													<input type="text" id="ITP_FORM_INOUTMNG01010_DETAIL_DLV_SCH_DT" class="form-control itp_input" name="dlvSchDt" value="">
86 90
 												</div>
87 91
 											</div>
88 92
 										</div>
@@ -90,13 +94,13 @@
90 94
 											<label class="col-xs-2 itp_lb">납품담당자 *</label>
91 95
 											<div class="col-xs-4 itp_ip">
92 96
 												<div class="col-xs-7 itp_in">
93
-													<input type="text" id="ITP_FORM_INOUTMNG01010_VIEW_DLV_MGR_NM" data-check-required="empty" class="form-control itp_input" name="dlvMgrNm" value="">
97
+													<input type="text" id="ITP_FORM_INOUTMNG01010_DETAIL_DLV_MGR_NM" data-check-required="empty" class="form-control itp_input" name="dlvMgrNm" value="">
94 98
 												</div>
95 99
 											</div>
96 100
 											<label class="col-xs-2 itp_lb">납품담당자 전화번호*</label>
97 101
 											<div class="col-xs-4 itp_ip">
98 102
 												<div class="col-xs-7 itp_in">
99
-													<input type="text" id="ITP_FORM_INOUTMNG01010_VIEW_DLV_MGR_TEL_NO" data-check-required="empty" class="form-control itp_input" name="dlvMgrTelNo" value="">
103
+													<input type="text" id="ITP_FORM_INOUTMNG01010_DETAIL_DLV_MGR_TEL_NO" data-check-required="empty" class="form-control itp_input" name="dlvMgrTelNo" value="">
100 104
 												</div>
101 105
 											</div>
102 106
 										</div>
@@ -109,11 +113,11 @@
109 113
 						<div class="itp_table_head fix" style="background:#f5f5f5;">
110 114
 							<h4 class="itp_table_tit">출하지시 품목</h4>
111 115
 						</div>
112
-						<div id="ITP_INOUTMNG01010_VIEW_jqGrid_list" class="itp_tb_list">
113
-							<div id="ITP_INOUTMNG01010_VIEW_jqGridView" class="itp_views fix"></div>
114
-							<table id="ITP_INOUTMNG01010_VIEW_jqGrid"></table>
115
-							<div id="ITP_INOUTMNG01010_VIEW_jqGridPager"></div>
116
-							<div id="ITP_INOUTMNG01010_VIEW_jqGridEmpty" class="itp_no_data"></div>
116
+						<div id="ITP_INOUTMNG01010_DETAIL_jqGrid_list" class="itp_tb_list">
117
+							<div id="ITP_INOUTMNG01010_DETAIL_jqGridView" class="itp_views fix"></div>
118
+							<table id="ITP_INOUTMNG01010_DETAIL_jqGrid"></table>
119
+							<div id="ITP_INOUTMNG01010_DETAIL_jqGridPager"></div>
120
+							<div id="ITP_INOUTMNG01010_DETAIL_jqGridEmpty" class="itp_no_data"></div>
117 121
 						</div>
118 122
 					</div>
119 123
 				</div>

+ 3 - 1
src/main/webapp/app/inoutmng/INOUTMNG03010.html

@@ -81,7 +81,9 @@
81 81
 											<label class="col-xs-2 itp_lb">수거지시일 *</label>
82 82
 											<div class="col-xs-4 itp_ip">
83 83
 												<div class="col-xs-7 itp_in">
84
-													<input type="date" id="ITP_FORM_INOUTMNG03010_VIEW_COL_DT" data-check-required="empty" class="form-control itp_input" name="colDt" value="">
84
+													<div class="input-daterange input-group date">
85
+														<input type="text" id="ITP_FORM_INOUTMNG03010_VIEW_COL_CMD_DT" data-check-required="empty" class="form-control itp_input" name="colDt" value="">
86
+													</div>
85 87
 												</div>
86 88
 											</div>
87 89
 										</div>

+ 6 - 7
src/main/webapp/app/oper/OPER01010.html

@@ -4,12 +4,12 @@
4 4
 			<div class="itp_det_head fix">
5 5
 				<h2 class="pull-left itp_det_tit"><i class="glyphicon glyphicon-chevron-right"></i><i class="glyphicon glyphicon-chevron-right"></i> <strong>사용자관리</strong></h2>
6 6
 				<div class="pull-right itp_cicon">
7
-					<button type="button" id="ITP_BTN_OPER01010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i>조회</button>
8
-					<button type="button" id="ITP_BTN_OPER01010_MODIFY" class="btn btn-success btn-sm UPB" style="display: inline-block;"><i class="glyphicon "></i>&nbsp;&nbsp;수정&nbsp;&nbsp;</button>
9
-					<button type="button" id="ITP_BTN_OPER01010_NEWREG" class="btn btn-primary btn-sm NEB" style="display: inline-block;"><i class="glyphicon "></i>신규등록</button>
10
-					<button type="button" id="ITP_BTN_OPER01010_DELETE" class="btn btn-danger btn-sm DEB"><i class="glyphicon "></i>&nbsp;&nbsp;삭제&nbsp;&nbsp;</button>
11
-					<button type="button" id="ITP_BTN_OPER01010_SAVE" class="btn btn-success btn-sm SAB"><i class="glyphicon "></i>&nbsp;&nbsp;저장&nbsp;&nbsp;</button>
12
-					<button type="button" id="ITP_BTN_OPER01010_CANCELLIST" class="btn btn-warning btn-sm PRB"><i class="glyphicon "></i>&nbsp;&nbsp;취소/목록&nbsp;&nbsp;</button>
7
+					<button type="button" id="ITP_BTN_OPER01010_SRH" class="btn btn-success btn-md SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i>조회</button>
8
+					<button type="button" id="ITP_BTN_OPER01010_MODIFY" class="btn btn-success btn-md UPB" style="display: inline-block;"><i class="glyphicon "></i>수정</button>
9
+					<button type="button" id="ITP_BTN_OPER01010_NEWREG" class="btn btn-primary btn-md NEB" style="display: inline-block;"><i class="glyphicon "></i>신규등록</button>
10
+					<button type="button" id="ITP_BTN_OPER01010_DELETE" class="btn btn-danger btn-md DEB"><i class="glyphicon "></i>삭제</button>
11
+					<button type="button" id="ITP_BTN_OPER01010_SAVE" class="btn btn-success btn-md SAB"><i class="glyphicon "></i>저장</button>
12
+					<button type="button" id="ITP_BTN_OPER01010_CANCELLIST" class="btn btn-warning btn-md PRB"><i class="glyphicon "></i>취소/목록</button>
13 13
 				</div>
14 14
 			</div>
15 15
 			<div class="itp_det_in">
@@ -349,7 +349,6 @@
349 349
 								<button type="button" id="ITP_BTN_OPER01010_NEW_DELROW" class="btn btn-danger btn-sm DEB"><i class="glyphicon"></i>&nbsp;&nbsp;삭제&nbsp;&nbsp;</button>
350 350
 							</div>
351 351
 						</div>
352
-
353 352
 						<div id="ITP_OPER01010_NEW_jqGrid_list" class="itp_tb_list">
354 353
 							<div id="ITP_OPER01010_NEW_jqGridView" class="itp_views fix"></div>
355 354
 							<table id="ITP_OPER01010_NEW_jqGrid"></table>

+ 1 - 1
src/main/webapp/app/oper/OPER02010.html

@@ -25,7 +25,7 @@
25 25
 										</div>
26 26
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
27 27
 											<button type="button" id="ITP_FORM_OPER02010_SEARCH_AFFL_SHOP_BTN" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
28
-											<button type="button" id="ITP_FORM_OPER02010_DELETE_AFFL_SHOP_BTN" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
28
+											<button type="button" id="ITP_FORM_OPER02010_DELETE_AFFL_SHOP_BTN" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
29 29
 										</div>
30 30
 										<div class="col-xs-2 itp_ip itp_noMar">
31 31
 											<select id="ITP_FORM_OPER02010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId"></select>

+ 1 - 1
src/main/webapp/app/oper/OPER06010.html

@@ -24,7 +24,7 @@
24 24
 										</div>
25 25
 										<div class="col-xs-1 itp_in" style="width:8%; padding:0px;">
26 26
 											<button type="button" id="ITP_BTN_OPER06010_SEARCH_AFFL_SHOP" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
27
-											<button type="button" id="ITP_BTN_OPER06010_DELETE_AFFL_SHOP" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
27
+											<button type="button" id="ITP_BTN_OPER06010_DELETE_AFFL_SHOP" class="btn btn-warning btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
28 28
 										</div>
29 29
 										<div class="col-xs-2 itp_ip itp_noMar">
30 30
 											<select id="ITP_FORM_OPER06010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId"></select>

File diff suppressed because it is too large
+ 5 - 3
src/main/webapp/bootstrap/dist/css/bootstrap.min.css


+ 20 - 13
src/main/webapp/css/style.css

@@ -91,7 +91,7 @@ a, button {outline:none !important; text-decoration:none !important;}
91 91
 
92 92
 /* ITP_WRAPPER */
93 93
 #ITP_WRAPPER {width:100%; height:100%; min-width:1400px;}
94
-#ITP_CONTENT_WRAPPER {width:100%;}
94
+#ITP_CONTENT_WRAPPER {width:100%; height:96%;}
95 95
 #ITP_OVERLAY {position:fixed; display:none; width:100%; height:100%; top:0; left:0; right:0; bottom:0; background:rgba(250,250,250,.8); z-index:1060;}
96 96
 
97 97
 /* ITP_LOGIN */
@@ -150,22 +150,28 @@ a, button {outline:none !important; text-decoration:none !important;}
150 150
 #ITP_HEADER .itp_menu a {color:#000; font-size:13px; text-decoration:none;}
151 151
 #ITP_HEADER .itp_out {width:70px; height:30px;  float:left; border:1px solid #333; line-height: 28px; background:#fff; margin-top:10px; border-radius: 10px; padding:0 4px;}
152 152
 #ITP_HEADER .itp_out a {padding:8.4px; color:#000; font-size:11px; text-decoration:none;}
153
-#ITP_HEADER .itp_tabs {position:relative; z-index:100; transition:all .25s ease; float:right; width:calc(100% - 240px);}
154
-#ITP_HEADER .itp_tabs .nav-tabs {padding:4px 4px 0 4px; background:#fff;}
155
-#ITP_HEADER .itp_tabs .nav-tabs > li a {border:1px solid #ddd; background:#f5f5f5; font-size:12px; color:#666; padding:5px 13px 5px 15px; margin-right:4px; outline:none;}
153
+
154
+#ITP_HEADER #ITP_TAB_BAR.itp_open_tab {width:99.9%;}
155
+/* #ITP_HEADER.itp_open_tab .itp_nav {visibility:visible;}
156
+#ITP_HEADER.itp_open_tab .itp_nav::-webkit-scrollbar{display:none;} */
157
+#ITP_HEADER .itp_tabs {position:relative; z-index:100; transition:all .25s ease; float:right; width:calc(100% - 238px);}
158
+#ITP_HEADER .itp_tabs .nav-tabs {padding:15px 4px 0 15px; background:#fff;}
159
+#ITP_HEADER .itp_tabs .nav-tabs > li a {border:1px solid #ddd; background:#f5f5f5; font-size:12px; color:#666; padding:10px 13px 7px 15px; margin-right:6px; outline:none;}
156 160
 #ITP_HEADER .itp_tabs .nav-tabs > li a i.glyphicon-remove {font-size:10px; margin-left:4px; cursor:pointer;}
157 161
 #ITP_HEADER .itp_tabs .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {background:#fff; color:#666; border:1px solid #ccc; border-bottom-color:transparent; font-weight:700;}
158 162
 #ITP_HEADER .itp_tabs .nav-tabs > li > a:hover {background:#D6E6F3 !important; border:1px solid #1A3E5E; border-bottom-color:transparent; color:#000;}
159 163
 
160 164
 /* ITP_SIDEBAR */
161 165
 #ITP_SIDEBAR {width:0px; float:left; margin-left:-2px; height:calc(100vh - 68px); background:#ddd; transition:all .25s ease; border-style:solid; border-color:#ddd; border-width:0 1px 1px 1px;}
162
-#ITP_SIDEBAR.itp_open_nav {width:240px;}
166
+#ITP_SIDEBAR.itp_open_nav {width:240px; height:100%;}
163 167
 #ITP_SIDEBAR .itp_nav {list-style:none; margin:0; padding:0; height:100%; overflow-y:scroll; overflow-x:hidden; visibility:hidden;}
164 168
 #ITP_SIDEBAR.itp_open_nav .itp_nav {visibility:visible;}
169
+#ITP_SIDEBAR.itp_open_nav .itp_nav::-webkit-scrollbar{display:none;}
165 170
 #ITP_SIDEBAR .itp_nav.panel-group .panel+.panel {margin-top:0;}
166 171
 #ITP_SIDEBAR .itp_nav .panel-heading {padding:0;}
167 172
 #ITP_SIDEBAR .itp_nav .panel-title {line-height:1.1; border-bottom:1px solid #ddd;}
168
-#ITP_SIDEBAR .itp_nav .panel-title a {font-size:14px; display:block; padding:13px 15px; color:#333;}
173
+#ITP_SIDEBAR .itp_nav .panel-title a {font-size:16px; display:block; padding:13px 15px; color:#333;}
174
+#ITP_SIDEBAR .itp_nav .panel-title a:hover{background:#bbb; color:#fff;}
169 175
 #ITP_SIDEBAR .itp_nav .panel-title a .glyphicon {font-size:12px;}
170 176
 #ITP_SIDEBAR .itp_nav .panel-default {margin-bottom:0; border:none;}
171 177
 #ITP_SIDEBAR .itp_nav * {border-radius:0; border-width:1px 0 1px 0;}
@@ -182,8 +188,8 @@ a, button {outline:none !important; text-decoration:none !important;}
182 188
 #ITP_SIDEBAR .itp_nav .itp_svgs li a .itp_tt {float:left;}
183 189
 
184 190
 /* ITP_CONTAINER */
185
-#ITP_CONTAINER {height:calc(100vh - 69px); padding:8px; transition:all .25s ease; float:left; width:calc(100% - 240px);background:#fff;}
186
-#ITP_CONTAINER.itp_open_conts {padding-left:8px; width:100%;}
191
+#ITP_CONTAINER {height:calc(100vh - 100px); padding:8px; transition:all .25s ease; float:left; width:calc(100% - 240px);background:#fff;}
192
+#ITP_CONTAINER.itp_open_conts {padding-left:8px; width:99.9%;}
187 193
 #ITP_CONTAINER .itp_contents {background:#fff; height:100%;}
188 194
 #ITP_CONTAINER .itp_contents .itp_sec {height:100%;}
189 195
 #ITP_CONTAINER .itp_contents .itp_cont {display:table; width:100%; height:100%;}
@@ -237,13 +243,14 @@ a, button {outline:none !important; text-decoration:none !important;}
237 243
 #ITP_CONTAINER .itp_adv_srh .form-group .date .form-control:last-child {border-top-left-radius:0px; border-bottom-left-radius:0px;}
238 244
 #ITP_CONTAINER .itp_adv_srh .form-group .itp_adv_chk {margin-top:5px;}
239 245
 #ITP_CONTAINER .itp_adv_srh .form-group .itp_adv_chk .itp_check {float:right; margin-left:10px;}
240
-#ITP_CONTAINER .itp_detail {display:table-cell; vertical-align:top; height:100%;}
246
+#ITP_CONTAINER .itp_detail {display:table-cell; vertical-align:top; height:100%; padding-top:10px;}
241 247
 
242
-#ITP_CONTAINER .itp_detail .itp_det_head {padding:0 4px 0 4px; height:42px; background:#fff;}
243
-#ITP_CONTAINER .itp_detail .itp_det_head .itp_det_tit {font-size:15px; margin:0; padding:0; line-height:42px;}
248
+#ITP_CONTAINER .itp_detail .itp_det_head {padding:0 50px 0 35px; height:42px; background:#fff;}
249
+#ITP_CONTAINER .itp_detail .itp_det_head .itp_det_tit {font-size:20px; margin:0; padding:0; line-height:42px;}
244 250
 #ITP_CONTAINER .itp_detail .itp_det_head .itp_det_tit .glyphicon {color:#F0831E; margin-right:4px;}
245 251
 
246
-#ITP_CONTAINER .itp_detail .itp_det_in {padding:15px 20px 15px 20px; height:calc(100vh - 127px); overflow-y:scroll;}
252
+#ITP_CONTAINER .itp_detail .itp_det_in {padding:0px 20px 15px 20px; height:calc(100vh - 180px); overflow-y:scroll;}
253
+#ITP_CONTAINER .itp_detail .itp_det_in::-webkit-scrollbar{display:none;}
247 254
 #ITP_CONTAINER .itp_detail .itp_cicon {line-height:32px; height:32px;}
248 255
 #ITP_CONTAINER .itp_detail .itp_cicon .btn-default {color:#fff; background-color:rgb(109, 110, 114); border-color:rgb(109, 110, 114);}
249 256
 #ITP_CONTAINER .itp_detail .itp_cicon .itp_store {display:inline-block; vertical-align:middle; font-size:13px; margin-right:10px;}
@@ -301,7 +308,7 @@ html:lang(en) #ITP_CONTAINER .itp_detail .itp_form .itp_thumb_inline .itp_thumb_
301 308
 
302 309
 #ITP_CONTAINER .itp_detail .itp_lg_form {padding-top:10px;}
303 310
 #ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 {padding-left:15px; padding-right:15px; padding-bottom:15px; }
304
-#ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 .itp_srh_border {border:1px solid #ddd; background:#fff; padding:15px 15px 5px 10px; border-radius:4px;box-shadow: 0px 0px 6px #ddd;}
311
+#ITP_CONTAINER .itp_detail .itp_lg_form.itp_type1 .itp_srh_border {border:1px solid #ddd; background:#fff; padding:20px 20px 10px 20px; border-radius:4px;box-shadow: 0px 0px 6px #ddd;}
305 312
 #ITP_CONTAINER .itp_detail .itp_lg_form .form-group {margin-bottom:10px;}
306 313
 #ITP_CONTAINER .itp_detail .itp_lg_form .form-control {font-size:13px; color:#333;}
307 314
 #ITP_CONTAINER .itp_detail .itp_lg_form .itp_lb {font-size:13px; padding-top:5px; padding-right:0; color:#333; position:relative;}

+ 5 - 6
src/main/webapp/css/ui.jqgrid-bootstrap.css

@@ -180,6 +180,7 @@ div.tablediv > .table-bordered {
180 180
 	margin: 0;
181 181
 	padding:0;
182 182
 	text-align:left;
183
+	overflow-x:auto !important;
183 184
 }
184 185
 .ui-jqgrid .ui-jqgrid-btable {
185 186
 	table-layout: fixed;
@@ -195,7 +196,7 @@ div.tablediv > .table-bordered {
195 196
 }
196 197
 @media all and (-ms-high-contrast: none) {
197 198
 	.ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td {
198
-		overflow: hidden;
199
+		overflow: auto;
199 200
 		padding-right: 2px;
200 201
 	}
201 202
 }
@@ -1029,8 +1030,6 @@ td.menu_text {
1029 1030
 }
1030 1031
 .ui-jqgrid input[type=checkbox] {width:15px; height:15px;}
1031 1032
 
1032
-.ui-jqgrid .jqgrid-rownum {background:#fff !important;}
1033
-.ui-jqgrid .jqgrid-rownum:nth-child(even) {background:#f5f5f5 !important;}
1034
-.table>tbody>tr.success .jqgrid-rownum {background:#dff0d8 !important;}
1035
-.table>tbody>tr.success .jqgrid-rownum:checked {background:#dff0d8 !important;}
1036
-.table>tbody>tr.active .jqgrid-rownum {background:#e8e8e8 !important;}
1033
+.ui-jqgrid .jqgrid-rownum {background-color: transparent !important;}
1034
+.table>tbody>tr.active .jqgrid-rownum {background:#e8e8e8 !important; z-index:1}
1035
+.table>tbody>tr.success .jqgrid-rownum {background:#dff0d8 !important;}

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

@@ -160,6 +160,7 @@ require([
160 160
 		//$('#ITP_OVERLAY').toggle();
161 161
 		$('#ITP_SIDEBAR').toggleClass('itp_open_nav');
162 162
 		$('#ITP_CONTAINER').toggleClass('itp_open_conts');
163
+		$('#ITP_TAB_BAR').toggleClass('itp_open_tab');
163 164
 		itp_fn_fire_window_resize();
164 165
 
165 166
 		/*
@@ -1644,6 +1645,7 @@ function itp_fn_grid_make_remote(option) {
1644 1645
 		mtype: 'POST',
1645 1646
 		multiselect: false,
1646 1647
 		rownumbers: true,
1648
+		
1647 1649
 		ondblClickRow: null,
1648 1650
 		loadBeforeSend: function(jqXHR) {
1649 1651
 			jqXHR.setRequestHeader('X-AUTH-TOKEN', CONN_KEY);
@@ -1796,7 +1798,7 @@ function itp_fn_grid_load_complete(data, gridId, paging, rn, menuId, isSrh, empt
1796 1798
 		}
1797 1799
 
1798 1800
 		if (shrinkToFit) {
1799
-			$(gridId + '_list').find('.ui-jqgrid .ui-jqgrid-bdiv').css('overflow-x', 'hidden');
1801
+			$(gridId + '_list').find('.ui-jqgrid .ui-jqgrid-bdiv').css('overflow-x', 'auto');
1800 1802
 		} else {
1801 1803
 			$(gridId + '_list').find('.ui-jqgrid .ui-jqgrid-bdiv').css('overflow-x', 'auto');
1802 1804
 		}

+ 396 - 87
src/main/webapp/js/app/inoutmng/ITP_INOUTMNG01010.js

@@ -1,6 +1,6 @@
1 1
 require(['config'], function() {
2 2
 	require([], function($) {
3
-		listObj.init();
3
+		pageObj.init();
4 4
 	});
5 5
 });
6 6
 
@@ -11,9 +11,8 @@ require(['config'], function() {
11 11
  * const gridColModel = {}	: 화면 Grid Object			*
12 12
  * let pageObj = {}			: 화면공통 Object			*
13 13
  * let listObj = {}			: 목록화면 Object			*
14
- * let viewObj = {}			: 상세화면 Object			*
15 14
  * let modifyObj = {}		: 수정화면 Object			*
16
- * let createObj = {}		: 신규화면 Object			*
15
+ 
17 16
  *******************************************************/
18 17
 
19 18
 /*화면 변수*/
@@ -22,17 +21,158 @@ const INOUTMNG01010_GRID_LIST = '#ITP_INOUTMNG01010_jqGrid_list';
22 21
 const INOUTMNG01010_GRID_PAGER = '#ITP_INOUTMNG01010_jqGridPager';
23 22
 const INOUTMNG01010_GRID_EMPTY = '#ITP_INOUTMNG01010_jqGridEmpty';
24 23
 
25
-let ITP_FORM_INOUTMNG01010_DETAIL_IS_WRITING = false;
26
-let INOUTMNG01010_LAST_ROW_ID;
24
+const INOUTMNG01010_DETAIL_GRID_ID = '#ITP_INOUTMNG01010_DETAIL_jqGrid';
25
+const INOUTMNG01010_DETAIL_GRID_LIST = '#ITP_INOUTMNG01010_DETAIL_jqGrid_list';
26
+const INOUTMNG01010_DETAIL_GRID_PAGER = '#ITP_INOUTMNG01010_DETAIL_jqGridPager';
27
+const INOUTMNG01010_DETAIL_GRID_EMPTY = '#ITP_INOUTMNG01010_DETAIL_jqGridEmpty';
28
+
29
+
30
+//let ITP_FORM_INOUTMNG01010_DETAIL_IS_WRITING = false;
31
+let INOUTMNG01010_GRID_LAST_ROW_ID;
27 32
 
28 33
 
29 34
 /*API URL*/
30 35
 let API_DETAIL_GRID_LIST = '/api/pomng/inoutmng/target-grid-list';	// 목록
31
-
36
+let API_DETAIL_SAVE 	 = '/api/pomng/inoutmng/save-inst-shmt';			// 출하지시
32 37
 
33 38
 /*화면 Grid ColModel*/
34 39
 const gridColModel = {
35 40
 	list: [
41
+		{
42
+			index: 'BRAND_ID', name: 'brandId',
43
+			label: ITP_MSG_LOCALE.label.brandId, //브랜드아이디
44
+			width: '13', fixed: false, align: 'center',
45
+			sortable: false, hidden: true
46
+		},
47
+		{
48
+			index: 'BRAND_NM', name: 'brandNm',
49
+			label: ITP_MSG_LOCALE.label.brandNm, //브랜드명
50
+			width: '10', fixed: false, align: 'center',
51
+			sortable: false, hidden: false
52
+		},
53
+		{
54
+			index: 'PCH_PODR_UNQ_NO', name: 'pchPodrUnqNo',
55
+			label: ITP_MSG_LOCALE.label.pchPodrUnqNo, //구매발주번호
56
+			width: '10', fixed: false, align: 'center',
57
+			sortable: false, hidden: false
58
+		},
59
+		{
60
+			index: 'PCH_PODR_DTL_NO', name: 'pchPodrDtlNo',
61
+			label: ITP_MSG_LOCALE.label.pchPodrDtlNo, //구매발주항번
62
+			width: '10', fixed: false, align: 'center',
63
+			sortable: false, hidden: false
64
+		},
65
+		{
66
+			index: 'ITEM_ID', name: 'itemId',
67
+			label: ITP_MSG_LOCALE.label.itemId, //품목아이디
68
+			width: '10', fixed: false, align: 'center',
69
+			sortable: false, hidden: false
70
+		},
71
+		{
72
+			index: 'ITEM_NM', name: 'itemNm',
73
+			label: ITP_MSG_LOCALE.label.itemNm, //품목명
74
+			width: '10', fixed: false, align: 'left',
75
+			sortable: false, hidden: false
76
+		},
77
+		{
78
+			index: 'WHS_ID', name: 'whsId',
79
+			label: ITP_MSG_LOCALE.label.whsId, //납품창고아이디
80
+			width: '13', fixed: false, align: 'center',
81
+			sortable: false, hidden: true
82
+		},
83
+		{
84
+			index: 'WHS_NM', name: 'whsNm',
85
+			label: ITP_MSG_LOCALE.label.whsNm, //납품창고명
86
+			width: '15', fixed: false, align: 'left',
87
+			sortable: false, hidden: false
88
+		},
89
+		{
90
+			index: 'LOCATION', name: 'location',
91
+			label: ITP_MSG_LOCALE.label.location, //납품LOCATION
92
+			width: '15', fixed: false, align: 'center',
93
+			sortable: false, hidden: true
94
+		},
95
+		{
96
+			index: 'UNIT_AMT', name: 'unitAmt',
97
+			label: ITP_MSG_LOCALE.label.unitAmt, //단가
98
+			width: '6', fixed: false, align: 'right',
99
+			sortable: false, hidden: false,
100
+			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
101
+		},
102
+		{
103
+			index: 'PODR_QTY', name: 'podrQty',
104
+			label: ITP_MSG_LOCALE.label.podrQty, //발주수량
105
+			width: '10', fixed: false, align: 'right',
106
+			sortable: false, hidden: false,
107
+			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
108
+		},
109
+		{
110
+			index: 'SHMT_QTY', name: 'shmtQty',
111
+			label: ITP_MSG_LOCALE.label.shmtQty, //출고수량
112
+			width: '10', fixed: false, align: 'right',
113
+			sortable: true, editable: false, edittype: 'text',
114
+			hidden: true
115
+		},
116
+		{
117
+			index: 'STCK_QTY', name: 'stckQty',
118
+			label: ITP_MSG_LOCALE.label.stckQty, //현 재고
119
+			width: '10', fixed: false, align: 'right',
120
+			sortable: false, hidden: false,
121
+			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
122
+		},
123
+		{
124
+			index: 'EXPRY_YN', name: 'expryYn',
125
+			label: ITP_MSG_LOCALE.label.expryYn, //유통기한여부
126
+			width: '10', fixed: false, align: 'center',
127
+			sortable: false, hidden: false
128
+		},
129
+		{
130
+			index: 'EXPRY_PERIOD', name: 'expryPeriod',
131
+			label: ITP_MSG_LOCALE.label.expryPeriod, //유통기한기간
132
+			width: '10', fixed: false, align: 'center',
133
+			sortable: false, hidden: true
134
+		},
135
+		{
136
+			index: 'EXPRY_DATE', name: 'expryDate',
137
+			label: ITP_MSG_LOCALE.label.expryDate, //유통일자
138
+			width: '20', fixed: false, align: 'center',
139
+			sortable: false, hidden: true,
140
+			editable: false, sorttype: "date",
141
+			editoptions: { dataInit: function(e) { $(e).datepicker(ITP_DATE_LANGUAGE); } }
142
+		},
143
+		{
144
+			index: 'PODR_AMT', name: 'podrAmt',
145
+			label: ITP_MSG_LOCALE.label.podrAmt, //발주금액
146
+			width: '10', fixed: false, align: 'right',
147
+			sortable: false, hidden: false,
148
+			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
149
+		},
150
+		{
151
+			index: 'DLV_REQ_DT', name: 'dlvReqDt',
152
+			label: ITP_MSG_LOCALE.label.dlvReqDt, //납품요청일
153
+			width: '10', fixed: false, align: 'center',
154
+			sortable: false, hidden: false
155
+		},
156
+		{
157
+			index: 'SHMT_WHS_ID', name: 'shmtWhsId',
158
+			label: ITP_MSG_LOCALE.label.shmtWhsId, //출고창고아이디
159
+			width: '10', fixed: false, align: 'right',
160
+			sortable: false, hidden: true
161
+		},
162
+		{
163
+			index: 'SHMT_LOCATION', name: 'shmtLocation',
164
+			label: ITP_MSG_LOCALE.label.shmtLocation, //출고LOCATION
165
+			width: '10', fixed: false, align: 'center',
166
+			sortable: false, hidden: true
167
+		},
168
+		{
169
+			index: 'SHMT_WHS_NM', name: 'shmtWhsNm',
170
+			label: ITP_MSG_LOCALE.label.shmtWhsNm, //출고창고명
171
+			width: '10', fixed: false, align: 'center',
172
+			sortable: false, hidden: false
173
+		}
174
+	],
175
+	detail: [
36 176
 		{
37 177
 			index: 'BRAND_ID', name: 'brandId',
38 178
 			label: ITP_MSG_LOCALE.label.brandId, //브랜드아이디
@@ -170,68 +310,53 @@ const gridColModel = {
170 310
 	]
171 311
 };
172 312
 
173
-
174
-
175
-/*목록화면 Object*/
176
-let listObj = {
177
-	init: function() {
178
-		this.view();
179
-		this.action();
313
+/*화면공통 Object*/
314
+let pageObj = {
315
+	init: function () {
316
+		this.ui.init();
180 317
 		this.event.init();
181
-		this.grid.init();
182
-	},
183
-	view: function() {
184
-		// 버튼 권한설정
185
-		fn_proc_btn_auth('INOUTMNG01010');
186
-
187
-		// 공통코드 표시
188
-		$('select').each(function() {
189
-			if ($(this).data('select-code')) {
190
-				fn_make_select(CODE_LIST, $(this).data('select-code'), $(this).attr('id'));
191
-			}
192
-		});
193
-
194
-		var now = new Date();
195
-		$('#ITP_TAB_INOUTMNG01010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
196
-		$('#ITP_FORM_INOUTMNG01010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setDate(now.getDate())));
197
-		$('#ITP_FORM_INOUTMNG01010_SEARCH_TO_DT').datepicker('setDate', new Date(now.setDate(now.getDate() + 30)));
198
-
199
-
318
+		this.action();
200 319
 	},
201
-	itp_INOUTMNG01010_search: false,
202
-	button: {
203
-		search: function() {
204
-			console.log("search event");
205
-			listObj.itp_INOUTMNG01010_search = true;
206
-			let param = $('#ITP_FORM_INOUTMNG01010_SEARCH').serializeObject();
207
-			param.gridSize = $.jgrid.defaults.rowNum;
208
-			param.gridPage = $.jgrid.defaults.page;
209
-			param.sbrandId = fn_make_user_info.get('brandId');
210
-			$(INOUTMNG01010_GRID_ID).setGridParam({ 'postData': JSON.stringify(param) }).trigger('reloadGrid');
320
+	ui: {
321
+		init: function () {
322
+			this.view();
323
+			this.grid();
324
+			this.ready();
211 325
 		},
212
-		shmtout: function() {
213
-
214
-			console.log("search event");
215
-			listObj.itp_INOUTMNG01010_search = true;
216
-			let param = $('#ITP_FORM_INOUTMNG01010_SEARCH').serializeObject();
217
-			param.gridSize = $.jgrid.defaults.rowNum;
218
-			param.gridPage = $.jgrid.defaults.page;
219
-			param.sbrandId = fn_make_user_info.get('brandId');
220
-			$(INOUTMNG01010_GRID_ID).setGridParam({ 'postData': JSON.stringify(param) }).trigger('reloadGrid');
221
-
326
+		view: function() {
327
+			// 버튼 권한설정
328
+			fn_proc_btn_auth('INOUTMNG01010');
329
+
330
+			// 공통코드 표시
331
+			$('select').each(function() {
332
+				if($(this).data('select-code')) {
333
+					fn_make_select(CODE_LIST, $(this).data('select-code'), $(this).attr('id'));
334
+				}
335
+			});
222 336
 
337
+			// 조회일자 지정
338
+			var now = new Date();
339
+			$('#ITP_TAB_INOUTMNG01010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
340
+			$('#ITP_FORM_INOUTMNG01010_SEARCH_FROM_DT').datepicker('setDate', new Date(now.setDate(now.getDate())));
341
+			$('#ITP_FORM_INOUTMNG01010_SEARCH_TO_DT').datepicker('setDate', new Date(now.setDate(now.getDate() + 30)));
342
+		},
343
+		grid: function() {
344
+			itp_fn_jqgrid_resize(INOUTMNG01010_GRID_ID, INOUTMNG01010_GRID_LIST, 'lg');
345
+			listObj.empty.init();
346
+			itp_fn_fire_window_resize();
347
+		},
348
+		ready: function() {
349
+			listObj.init();
223 350
 		}
224 351
 	},
225
-	action: function() {
352
+	action: function () {
226 353
 		var _this = this;
227 354
 		// 출하창고 조회 버튼 클릭
228 355
 		$('#ITP_FORM_INOUTMNG01010_SEARCH_SHMT_WHS_NM').on('click', function() {
229
-			console.log("=================================");
230 356
 			_this.popup('S');
231 357
 		});
232 358
 		// 출하창고 텍스트 삭제 버튼 클릭
233 359
 		$('#ITP_FORM_INOUTMNG01010_DELETE_SHMT_WHS_NM').on('click', function() {
234
-			console.log("=================================");
235 360
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SSHMT_WHS_NM').val('');
236 361
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SSHMTWHS_ID').val('');
237 362
 
@@ -239,18 +364,15 @@ let listObj = {
239 364
 
240 365
 		// 납품장소 조회 버튼 클릭
241 366
 		$('#ITP_FORM_INOUTMNG01010_SEARCH_WHS_NM').on('click', function() {
242
-			console.log("=================================");
243 367
 			_this.popup('W');
244 368
 		});
245 369
 		// 납품장소 텍스트 삭제 버튼 클릭
246 370
 		$('#ITP_FORM_INOUTMNG01010_DELETE_WHS_NM').on('click', function() {
247
-			console.log("=================================");
248 371
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_NM').val('');
249 372
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_ID').val('');
250 373
 		});
251
-
252 374
 	},
253
-	popup: function(arg) {
375
+	popup: function (arg) {
254 376
 		var popFn;
255 377
 		// 팝업
256 378
 		if (arg == "S") {
@@ -272,11 +394,11 @@ let listObj = {
272 394
 
273 395
 
274 396
 		fn_call_popup('biz', 'BIZPOP_WHS_LOCATION', '#ITP_ASIDE', popFn, key, 'S');
275
-
397
+		
398
+		
276 399
 	},
277 400
 	callback: {
278 401
 		shmtwhs: function(rowDataPop) {
279
-			console.log(rowDataPop);
280 402
 			if (rowDataPop) {
281 403
 				$('#ITP_FORM_INOUTMNG01010_SEARCH_SSHMT_WHS_NM').val(rowDataPop.whsNm);
282 404
 				$('#ITP_FORM_INOUTMNG01010_SEARCH_SSHMTWHS_ID').val(rowDataPop.whsId);
@@ -284,7 +406,6 @@ let listObj = {
284 406
 
285 407
 		},
286 408
 		whs: function(rowDataPop) {
287
-			console.log(rowDataPop);
288 409
 			if (rowDataPop) {
289 410
 				$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_NM').val(rowDataPop.whsNm);
290 411
 				$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_ID').val(rowDataPop.whsId);
@@ -293,33 +414,145 @@ let listObj = {
293 414
 		}
294 415
 	},
295 416
 	event: {
296
-		init: function() {
417
+		init: function () {
297 418
 			this.button();
298 419
 		},
299
-		button: function() {
420
+		button: function () {
300 421
 			// 버튼 클릭 이벤트
301 422
 			$('button').each(function() {
302 423
 				var id = $(this).attr('id');
303 424
 				$(this).on('click', function() {
304
-					console.log("button");
305
-					console.log(id);
306 425
 					switch (id) {
307
-						case 'ITP_BTN_INOUTMNG01010_SRH': listObj.button.search(); break;	// 조회 버튼 클릭
308
-						case 'ITP_BTN_INOUTMNG01010_OUT': listObj.button.shmtout(); break;	// 출하지시 버튼
309
-
426
+						case 'ITP_BTN_INOUTMNG01010_SRH'				: listObj.button.search();			break;	// 조회 버튼 클릭
427
+						case 'ITP_BTN_INOUTMNG01010_OUC'				: listObj.button.shmtcreat();		break;	// 출하생성 버튼
428
+						case 'ITP_BTN_INOUTMNG01010_OUT'				: modifyObj.button.save(); 			break;	// 출하지시 버튼
429
+						case 'ITP_BTN_INOUTMNG01010_CANCELLIST'			: modifyObj.button.cancel(); 		break;	// 취소/목록 버튼
310 430
 					}
311 431
 				});
312 432
 			});
313
-
433
+			
314 434
 			$('body').on('click', function(e) {
315
-				var gridId = INOUTMNG01010_GRID_ID.replace('#', '');
316
-				var rids = $(INOUTMNG01010_GRID_ID).jqGrid('getDataIDs');
435
+				
436
+				var gridId = (INOUTMNG01010_DETAIL_GRID_ID).replace('#', '');
437
+				var rids = $(INOUTMNG01010_DETAIL_GRID_ID).jqGrid('getDataIDs');
317 438
 				var last_row_id = rids[rids.length - 1];
318
-
319
-				itp_fn_grid_reset_selection(e, last_row_id, gridId, 'INOUTMNG01010');
439
+				
440
+				itp_fn_grid_reset_selection(e, last_row_id, gridId, 'INOUTMNG01010_DETAIL');	
320 441
 			});
321 442
 
443
+		}
444
+	},
445
+	switchScreen: function(mode) {
446
+		$('.itp_det_head').find('button[id^="ITP_BTN_INOUTMNG01010_"]').each(function(i) {
447
+			$(this).hide();
448
+		});
449
+		$('#ITP_TAB_INOUTMNG01010').find('div[id$="_CONTAINER"]').each(function(i) {
450
+			$(this).hide();
451
+		});
452
+		if(mode == 'LIST') { // 목록
453
+			$('#ITP_AJAX_INOUTMNG01010_LIST_CONTAINER').show();
454
+			fn_show_btn_auth_array(['#ITP_BTN_INOUTMNG01010_SRH', '#ITP_BTN_INOUTMNG01010_OUC']);
455
+			$('#ITP_FORM_INOUTMNG01010_DETAIL_SBRAND_ID').val(fn_make_user_info.get('brandId'));
456
+		} else if(mode == 'DETAIL') { // 출하지시 상세
457
+			$('#ITP_AJAX_INOUTMNG01010_DETAIL_CONTAINER').show();
458
+			fn_show_btn_auth_array(['#ITP_BTN_INOUTMNG01010_OUT', '#ITP_BTN_INOUTMNG01010_CANCELLIST']);
459
+			$('#ITP_FORM_INOUTMNG01010_DETAIL_BRAND_ID').val(fn_make_user_info.get('brandId'));
460
+			
461
+			//pageObj.grid.init(param);
462
+		} 
463
+	},
464
+	grid: {
465
+		init: function(param) {
466
+			this.gridId = INOUTMNG01010_DETAIL_GRID_ID;
467
+			this.gridList = INOUTMNG01010_DETAIL_GRID_LIST;
468
+			this.gridEmpty = INOUTMNG01010_DETAIL_GRID_EMPTY;
469
+			var now = new Date();
470
+			$('#ITP_TAB_INOUTMNG01010 .input-group.date').datepicker(ITP_DATE_LANGUAGE);
471
+			$('#ITP_FORM_INOUTMNG01010_DETAIL_DLV_SCH_DT').datepicker('setDate', new Date(param.dlvSchDt));
472
+			$('#ITP_FORM_INOUTMNG01010_DETAIL .fnBrandNm').text(param.brandNm);
473
+			
474
+			this.gridRows = param.recordData;
475
+			this.unload();
476
+			this.load(param.recordData);
477
+			
478
+		},
479
+		gridId: '',
480
+		button: {},
481
+		gridList: '',
482
+		gridEmpty: '',
483
+		gridRows: '',
484
+		load: function(gridRows) {
485
+			
486
+			var _this = this;
487
+			var option = {
488
+				gridId: _this.gridId,
489
+				colModel: gridColModel.detail,
490
+				data: gridRows,
491
+				loadComplete: function(data) {
492
+					$(INOUTMNG01010_DETAIL_GRID_LIST).find('.ui-jqgrid .ui-jqgrid-bdiv').css('overflow-x', 'hidden');
493
+					data.records === 0 ? _this.clearData(mode) : $(INOUTMNG01010_DETAIL_GRID_EMPTY).hide();
494
+					
495
+				},
496
+				onCellSelect: function(rowid, cellIdx, cellValue) {
497
+					INOUTMNG01010_GRID_LAST_ROW_ID = itp_fn_set_data_editable(rowid, cellIdx, INOUTMNG01010_GRID_LAST_ROW_ID, _this.gridId, ['pchReqDtlNo']);
498
+				}
499
+			};
500
+			itp_fn_grid_make_local(option);
501
+		},
502
+		clearData : function(mode) {
503
+			$(INOUTMNG01010_DETAIL_GRID_ID).jqGrid('clearGridData', true);
504
+			$(INOUTMNG01010_DETAIL_GRID_LIST).find('.ui-jqgrid-bdiv').css('min-height', '100px');
505
+			$(INOUTMNG01010_DETAIL_GRID_EMPTY).html(ITP_MSG_LOCALE.message.grid.noData);
506
+			$(INOUTMNG01010_DETAIL_GRID_EMPTY).show();
507
+		},
508
+		unload : function() {
509
+			$.jgrid.gridUnload(this.gridId);
510
+		}
511
+	}
512
+};
322 513
 
514
+/*목록화면 Object*/
515
+let listObj = {
516
+	init: function () {
517
+		this.grid.init();
518
+	},
519
+	itp_INOUTMNG01010_search: false,
520
+	button: {
521
+		search: function() {
522
+			listObj.itp_INOUTMNG01010_search = true;
523
+			let param = $('#ITP_FORM_INOUTMNG01010_SEARCH').serializeObject();
524
+			param.gridSize = $.jgrid.defaults.rowNum;
525
+			param.gridPage = $.jgrid.defaults.page;
526
+			$(INOUTMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
527
+		},
528
+		shmtcreat: function() {
529
+			//선택되어진 row 값 전송할예정
530
+			let gridUpdateData = [];
531
+			const rowKey = $(INOUTMNG01010_GRID_ID).getGridParam('selrow');
532
+			if (!rowKey) {
533
+				return;
534
+		    }
535
+
536
+			var selectedIds = $(INOUTMNG01010_GRID_ID).getGridParam('selarrrow');
537
+			
538
+			var brandNm = "";
539
+			var maxDlvSchDt = "";
540
+			
541
+			for (var i=selectedIds.length-1; i>=0; i--) {
542
+				var rowData = $(INOUTMNG01010_GRID_ID).jqGrid('getRowData', selectedIds[i]);
543
+				
544
+				gridUpdateData.push(rowData);	
545
+				if (rowData.dlvReqDt > maxDlvSchDt) {
546
+					maxDlvSchDt = rowData.dlvReqDt;
547
+				}
548
+				sbrandNm =rowData.brandNm;
549
+			}
550
+			
551
+			let param = {brandNm: sbrandNm, dlvSchDt: maxDlvSchDt };
552
+			param.recordData = gridUpdateData;
553
+			pageObj.switchScreen('DETAIL');
554
+			itp_fn_form_clear_validate(null, '#ITP_FORM_INOUTMNG01010_DETAIL');
555
+			pageObj.grid.init(param);
323 556
 		}
324 557
 	},
325 558
 	empty: {
@@ -329,7 +562,7 @@ let listObj = {
329 562
 			$(INOUTMNG01010_GRID_EMPTY).on('click', function() {
330 563
 				_this.back();
331 564
 				_this.itp_INOUTMNG01010_param.gridSize = $.jgrid.defaults.rowNum;
332
-				$(INOUTMNG01010_GRID_ID).setGridParam({ 'postData': JSON.stringify(_this.itp_INOUTMNG01010_param) }).trigger('reloadGrid');
565
+				$(INOUTMNG01010_GRID_ID).setGridParam({'postData': JSON.stringify(_this.itp_INOUTMNG01010_param)}).trigger('reloadGrid');
333 566
 			});
334 567
 		},
335 568
 		itp_INOUTMNG01010_param: {},
@@ -341,43 +574,39 @@ let listObj = {
341 574
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_FROM_DT').val(this.itp_INOUTMNG01010_param.fromDt);
342 575
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_TO_DT').val(this.itp_INOUTMNG01010_param.toDt);
343 576
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SSHMTWHS_ID').val(this.itp_INOUTMNG01010_param.sshmtWhsId);
577
+			$('#ITP_FORM_INOUTMNG01010_SEARCH_SSHMT_WHS_NM').val(this.itp_INOUTMNG01010_param.sshmtWhsNm);
578
+			$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_NM').val(this.itp_INOUTMNG01010_param.swhsNm);
344 579
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_SWHS_ID').val(this.itp_INOUTMNG01010_param.swhsId);
345 580
 			$('#ITP_FORM_INOUTMNG01010_SEARCH_ITEM_NM').val(this.itp_INOUTMNG01010_param.sItemNm);
346 581
 		}
347 582
 	},
348 583
 	grid: {
349
-		init: function() {
584
+		init: function () {
350 585
 			// 데이터 없을때
351 586
 			listObj.empty.push();
352 587
 			itp_fn_jqgrid_resize(INOUTMNG01010_GRID_ID, INOUTMNG01010_GRID_LIST, 'lg');
353 588
 			itp_fn_fire_window_resize();
354 589
 			this.search();
355
-
590
+			
356 591
 		},
357 592
 		colModel: gridColModel.list,
358 593
 		search: function() {
594
+			pageObj.switchScreen('LIST');
359 595
 			this.unload();
360 596
 			this.load();
361 597
 		},
362 598
 		load: function() {
363 599
 			let param = $('#ITP_FORM_INOUTMNG01010_SEARCH').serializeObject();
364 600
 			param.gridSize = $.jgrid.defaults.rowNum;
365
-			param.sbrandId = fn_make_user_info.get('brandId');
366
-
601
+			
367 602
 			var option = {
368 603
 				multiselect: true,
369 604
 				autowidth: true,
370
-				//cellEdit: true,
371 605
 				gridId: INOUTMNG01010_GRID_ID,
372 606
 				colModel: gridColModel.list,
373
-				//viewrecords:false,
374 607
 				param: param,
375 608
 				url: DOMAIN + API_DETAIL_GRID_LIST,
376 609
 				pager: INOUTMNG01010_GRID_PAGER,
377
-
378
-				onCellSelect: function(rowid, cellIdx, cellValue) {
379
-					INOUTMNG01010_LAST_ROW_ID = itp_fn_set_data_editable(rowid, cellIdx, INOUTMNG01010_LAST_ROW_ID, INOUTMNG01010_GRID_ID, ['pchPodrUnqNo']);
380
-				},
381 610
 				loadComplete: function(data) {
382 611
 					itp_fn_grid_load_complete(data, INOUTMNG01010_GRID_ID, true, 'number', 'INOUTMNG01010', listObj.itp_INOUTMNG01010_search, listObj.empty, true, data.gridRecords, true);
383 612
 				},
@@ -389,10 +618,10 @@ let listObj = {
389 618
 		},
390 619
 		button: {
391 620
 		},
392
-		unload: function() {
621
+		unload : function() {
393 622
 			$.jgrid.gridUnload(INOUTMNG01010_GRID_ID);
394 623
 		},
395
-		clearData: function() {
624
+		clearData : function() {
396 625
 			$(INOUTMNG01010_GRID_ID).jqGrid('clearGridData', true);
397 626
 			$(INOUTMNG01010_GRID_LIST).find('.ui-jqgrid-bdiv').css('min-height', '100px');
398 627
 			$(INOUTMNG01010_GRID_EMPTY).html(ITP_MSG_LOCALE.message.grid.noData);
@@ -401,4 +630,84 @@ let listObj = {
401 630
 	}
402 631
 };
403 632
 
633
+/*수정화면 Object*/
634
+let modifyObj = {
635
+	init: function (param) {
636
+		this.load(param);
637
+	},
638
+	button: {
639
+		modify: function (param) {
640
+			itp_fn_form_clear_validate(null, '#ITP_FORM_INOUTMNG01010_DETAIL');
641
+			//const selectVal = $('#ITP_FORM_INOUTMNG01010_VIEW_STORE_ID').val();
642
+			//const key = {brandId:fn_make_user_info.get('brandId'), storeId: selectVal, viewCd: 'R'};
643
+			//var param = $.param(key);
644
+			//modifyObj.load(param);
645
+		},
646
+		cancel: function() {
647
+			document.getElementById('ITP_FORM_INOUTMNG01010_DETAIL').reset();
648
+			listObj.grid.search();
649
+		},
650
+		save: function() {
651
+			$('body').trigger('click');
652
+			const formId = ('#ITP_FORM_INOUTMNG01010_DETAIL');
653
+			itp_fn_form_clear_validate(null, formId);
654
+
655
+			if (itp_fn_form_event.isValid(formId)) {
656
+				
657
+				var modalFn = {
658
+					callBack: () => {
659
+						itp_fn_form_event.removeChar('#ITP_FORM_OPER03010_DETAIL');
660
+						var chkQtyYn = "N";
661
+						let gridInsertData = [];
662
+						const rowData = $(INOUTMNG01010_DETAIL_GRID_ID).getRowData();
663
+						
664
+						$.each(rowData, function(key, value) {
665
+							
666
+							if (value.shmtQty == '' || value.shmtQty < 1 ) {
667
+								alert("출고수량을 입력해주세요!");
668
+								chkQtyYn = "Y";
669
+								return false;
670
+							}
671
+							
672
+							if (value.stckQty < valus.shmtQty) {
673
+								alert("출고지시할 수량이 부족합니다.");
674
+								chkQtyYn = "Y";
675
+								return false;
676
+							}
677
+							
678
+							
679
+							if (value.podrQty > value.shmtQty ) {
680
+								 alert("출고수량이 발주수량보다 클수 없습니다!");
681
+								chkQtyYn = "Y";
682
+								return false;
683
+							}
684
+							
685
+							gridInsertData.push(value);
686
+						});
687
+						
688
+						if (chkQtyYn == "Y") return;
689
+						
690
+						let param = $(formId).serializeObject();
691
+						param.viewCd = "C";
692
+						param.gridInsertData = gridInsertData;
693
+						console.log(JSON.stringify(param));
694
+						var searhFn = function () {
695
+							//ITP_FORM_INOUTMNG01010_DETAIL_IS_WRITING = false;
696
+							pageObj.grid.clearData();
697
+							modifyObj.button.cancel();
698
+						}
699
+						fn_ajax_call(API_DETAIL_SAVE, JSON.stringify(param), searhFn, 'POST');
700
+					}
701
+				};
702
+				itp_fn_modal_confirm('출하지시 하시겠습니까?', modalFn);
703
+			}
704
+		}
705
+	},
706
+	
707
+	load: function(param) {
708
+		//console.log(param);
709
+		//pageObj.grid.load("DETAIL",param);
710
+	}
711
+};
712
+
404 713
 

+ 7 - 1
src/main/webapp/js/app/oper/ITP_OPER01010.js

@@ -342,6 +342,8 @@ let pageObj = {
342 342
 				gridId: gridId,
343 343
 				colModel: gridColModel.detail,
344 344
 				param: param,
345
+				autowidth: true,
346
+				shrinkToFit :false,
345 347
 				url: DOMAIN + API_USERAUTH_GRID_LIST,
346 348
 				multiselect: (this.mode !== 'VIEW'),
347 349
 				loadComplete: function(data) {
@@ -416,6 +418,8 @@ let listObj = {
416 418
 				param: param,
417 419
 				url: DOMAIN + API_DETAIL_GRID_LIST,
418 420
 				pager: OPER01010_GRID_PAGER,
421
+				autowidth: true,
422
+				shrinkToFit :false,
419 423
 				onCellSelect: function(rowId, cellIdx, cellValue) {
420 424
 					var cm = $(this).jqGrid('getGridParam', 'colModel');
421 425
 					var colNm = cm[cellIdx].name;
@@ -427,7 +431,7 @@ let listObj = {
427 431
 					}
428 432
 				},
429 433
 				loadComplete: function(data) {
430
-					$("tr.jqgrow:odd").css("background", "#f5f5f5");
434
+					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
431 435
 					console.log(data);
432 436
 					itp_fn_grid_load_complete(data, OPER01010_GRID_ID, true, 'number', 'OPER01010', listObj.itp_OPER01010_search, _this.itp_fn_OPER01010_empty, true, data.gridRecords, true);
433 437
 					var ids = $(OPER01010_GRID_ID).getDataIDs();
@@ -665,6 +669,8 @@ let createObj = {
665 669
 			var option = {
666 670
 				gridId: this.gridId,
667 671
 				colModel: gridColModel.detail,
672
+				autowidth: true,
673
+				shrinkToFit :false,
668 674
 				data: gridData,
669 675
 				multiselect: true,
670 676
 				loadComplete: function(data) {

+ 3 - 0
src/main/webapp/js/app/oper/ITP_OPER02010.js

@@ -429,6 +429,8 @@ let listObj = {
429 429
 				gridId: OPER02010_GRID_ID,
430 430
 				colModel: this.colModel,
431 431
 				param: param,
432
+			    autowidth:true,    
433
+		        shrinkToFit:false,
432 434
 				url: DOMAIN + NTICE_DETAIL_GRID_LIST,
433 435
 				pager: OPER02010_GRID_PAGER,
434 436
 				onCellSelect: function(rowId, cellIdx, cellValue) {
@@ -442,6 +444,7 @@ let listObj = {
442 444
 					}
443 445
 				},
444 446
 				loadComplete: function(data) {
447
+					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
445 448
 					console.log(data);
446 449
 					itp_fn_grid_load_complete(data, OPER02010_GRID_ID, true, 'number', 'OPER02010', listObj.grid.itp_OPER02010_search, _this.itp_fn_OPER02010_empty, true, data.gridRecords, true);
447 450
 					var ids = $(OPER02010_GRID_ID).getDataIDs();

+ 1 - 0
src/main/webapp/js/app/oper/ITP_OPER03010.js

@@ -428,6 +428,7 @@ let listObj = {
428 428
 					}
429 429
 				},
430 430
 				loadComplete: function(data) {
431
+					$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
431 432
 					console.log(data);
432 433
 					itp_fn_grid_load_complete(data, OPER03010_GRID_ID, true, 'number', 'OPER03010', pageObj.itp_OPER03010_search, listObj.empty, true, data.gridRecords, true);
433 434
 					var ids = $(OPER03010_GRID_ID).getDataIDs();

+ 1 - 0
src/main/webapp/js/app/oper/ITP_OPER04010.js

@@ -247,6 +247,7 @@ let listObj = {
247 247
                     }
248 248
                 },
249 249
                 loadComplete: function(data) {
250
+                	$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경
250 251
                     // console.log(data);
251 252
                     itp_fn_grid_load_complete(data, OPER04010_GRID_ID, true, 'number', 'OPER04010', listObj.itp_OPER04010_search, listObj.empty, true, data.gridRecords, true);
252 253
                     var ids = $(OPER04010_GRID_ID).getDataIDs();

+ 1 - 0
src/main/webapp/js/app/oper/ITP_OPER06010.js

@@ -337,6 +337,7 @@ let listObj = {
337 337
                     }
338 338
                 },
339 339
                 loadComplete: function(data) {
340
+                	$("tr.jqgrow:odd").css("background", "#f5f5f5"); //2번째 마다 색변경ㄴ
340 341
                     console.log(data);
341 342
                     itp_fn_grid_load_complete(data, OPER06010_GRID_ID, true, 'number', 'OPER06010', listObj.itp_OPER06010_search, listObj.empty, true, data.gridRecords, true);
342 343
                     var ids = $(OPER06010_GRID_ID).getDataIDs();

+ 1 - 1
src/main/webapp/main.html

@@ -67,7 +67,7 @@
67 67
 				</div>
68 68
 			</div>
69 69
 			<!-- 상단 탭 부분 -->
70
-			<div class="itp_tabs">
70
+			<div id="ITP_TAB_BAR" class="itp_tabs">
71 71
 				<ul class="nav nav-tabs itp_tab_list" role="tablist">
72 72
 					<li class="active"><a href="#ITP_TAB_SUMMARY" role="tab" data-toggle="tab" class="itp_tab_open">메뉴안내</a></li>
73 73
 				</ul>

+ 3 - 3
src/main/webapp/mobile/app/login.html

@@ -26,7 +26,7 @@
26 26
         </div>
27 27
         <div class="num_area">
28 28
           <div class="input_area">
29
-            <input type="text" name="bsnsRegNo" id="ITP_FORM_LOGIN_BSNS_REG_NO" required>
29
+            <input type="text" name="bsnsRegNo" id="ITP_FORM_LOGIN_BSNS_REG_NO" required value="1">
30 30
             <label for="ITP_FORM_LOGIN_BSNS_REG_NO">사업자번호</label>
31 31
             <button type="button" id="ITP_BTN_LOGIN_BSNS_REG_NO">연결</button>
32 32
           </div>
@@ -38,11 +38,11 @@
38 38
         </div>
39 39
         <div class="login_page">
40 40
           <div class="input_area">
41
-            <input type="text" id="ITP_FORM_LOGIN_USER_ID" required>
41
+            <input type="text" id="ITP_FORM_LOGIN_USER_ID" required value="BRD221100002">
42 42
             <label for="ITP_FORM_LOGIN_USER_ID">아이디</label>
43 43
           </div>
44 44
           <div class="input_area">
45
-            <input type="password" id="ITP_FORM_LOGIN_USER_PW"  required>
45
+            <input type="password" id="ITP_FORM_LOGIN_USER_PW"  required value="1">
46 46
             <label for="ITP_FORM_LOGIN_USER_PW">비밀번호</label>
47 47
           </div>
48 48
         </div>

+ 2 - 2
src/main/webapp/mobile/app/popup/biz/BIZPOP_PO_PAYMENT.html

@@ -103,7 +103,7 @@
103 103
 							<!--------------------------->
104 104
 							<!-- ::: 공통 인증 요청 값 -->
105 105
 							<!--------------------------->
106
-							
106
+
107 107
 							<input type="hidden" id="EP_mall_nm"        name="EP_mall_nm"           value="">         <!-- 가맹점명-->
108 108
 							<input type="hidden" id="EP_currency"       name="EP_currency"          value="00">       <!-- 통화코드 // 00 : 원화-->
109 109
 							<input type="hidden" id="EP_return_url"     name="EP_return_url"        value="">         <!-- 가맹점 CALLBACK URL // -->
@@ -187,7 +187,7 @@
187 187
 							<!--------------------------------->
188 188
 							
189 189
 							<input type="hidden" id="EP_pay_type"           name="EP_pay_type"           value="">      	<!--  결제수단 // -->
190
-							<input type="hidden" id="EP_window_type"        name="EP_window_type"        value="iframe">    <!--  윈도우타입 (iframe[default], popup) // -->
190
+							<input type="hidden" id="EP_window_type"        name="EP_window_type"        value="popup">    <!--  윈도우타입 (iframe[default], popup) // -->
191 191
 							<input type="hidden" id="EP_cert_type"          name="EP_cert_type"          value="">      	<!--  인증타입 (일반-"", 인증-"21", 비인증-"22") // -->
192 192
 							
193 193
 							<!--------------------------------->

+ 8 - 2
src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG02010.js

@@ -193,12 +193,14 @@ let mobContentObj = {
193 193
 	},
194 194
 	barcode: {
195 195
 		callApp: function() {
196
+			location.replace('app:scan');
197
+			return;
196 198
 			var formId = '#ITP_FORM_MSTOCKMNG02010_LIST_SEARCH';
197 199
 			itp_fn_form_clear_validate(null, formId);
198 200
 			if (itp_fn_form_event.isValid(formId)) {
199 201
 				// this.callbackApp('BRD2211000022211100000003005');
200
-				location.replace('app:barcode');
201
-				// location.href = 'app:barcode';
202
+				location.replace('app:scan');
203
+				// location.href = 'app:scan';
202 204
 			}
203 205
 		},
204 206
 		callbackApp: function(barcode) {
@@ -384,3 +386,7 @@ let mobPopObj = {
384 386
 		$('#' + popId).closest('.mobile-pop-close').hide();
385 387
 	}
386 388
 };
389
+
390
+function jsBarcodeFn(barcode) {
391
+	mobContentObj.barcode.callbackApp(barcode);
392
+}

+ 37 - 37
src/main/webapp/mobile/js/app/popup/biz/ITP_BIZPOP_PO_PAYMENT.js

@@ -114,13 +114,13 @@ var popPageObj = {
114 114
 			
115 115
 			var frm_pay = document.frm_pay;
116 116
 
117
-			/*-- 결제--*/
117
+			/*--모바일 결제--*/
118 118
 		    /*--공통--*/        
119 119
 		    frm_pay.kiccActionWebUrl.value  	= KICC_ACTION_WEB_URL;       						  
120 120
 		    frm_pay.kiccActionMobileUrl.value  	= KICC_ACTION_MOBILE_URL;       						  
121 121
 		    frm_pay.EP_mall_id.value        = MALL_ID;       						   //가맹점 ID
122 122
 		    frm_pay.EP_mall_nm.value        = fn_make_user_info.get('brandNm');		   //가맹점명
123
-		    frm_pay.EP_order_no.value       = result.poOrdNo;   					   //가맹점 주문번호    
123
+		    frm_pay.EP_order_no.value       = result.poOrdNo;   					   //가맹점 주문번호
124 124
 		                                                                               //결제수단(select)
125 125
 		    frm_pay.EP_currency.value       = "00";                                    //통화코드 : 00-원
126 126
 		    frm_pay.EP_product_nm.value     = result.goodsNm;				   		   //상품명
@@ -138,28 +138,28 @@ var popPageObj = {
138 138
 		    frm_pay.EP_product_type.value   = "0";                                     //상품정보구분 : 0-실물, 1-서비스
139 139
 		    frm_pay.EP_product_expr.value   = "";             				           //서비스기간 : YYYYMMDD
140 140
 		    frm_pay.EP_return_url.value     = WEB_RETURN_URL;  							   // Return 받을 URL (HTTP부터 입력)
141
-		                                    
142
-		    /*--신용카드--*/                    
141
+
142
+		    /*--신용카드--*/
143 143
 		    frm_pay.EP_usedcard_code.value  = "";                                      //사용가능한 카드 LIST
144 144
 		    frm_pay.EP_quota.value          = "";                                      //할부개월
145
-		
146
-		                                                                               //무이자 여부(Y/N) (select)   
145
+
146
+		                                                                               //무이자 여부(Y/N) (select)
147 147
 		    frm_pay.EP_noinst_term.value    = "";		                               //무이자기간
148
-		                                                                               //카드사포인트 사용여부(select) 
148
+		                                                                               //카드사포인트 사용여부(select)
149 149
 		    frm_pay.EP_point_card.value     = "";	                                   //포인트카드 LIST
150 150
 		                                                                               //조인코드(select)
151
-		                                                                               //국민 앱카드 사용(select)                                                                                  
152
-		                                                                                                               
151
+		                                                                               //국민 앱카드 사용(select)
152
+
153 153
 		    /*--가상계좌--*/
154
-		    frm_pay.EP_vacct_bank.value     = "";                                      //가상계좌 사용가능한 은행 LIST 
154
+		    frm_pay.EP_vacct_bank.value     = "";                                      //가상계좌 사용가능한 은행 LIST
155 155
 		    frm_pay.EP_vacct_end_date.value = "";		                               //입금 만료 날짜
156 156
 		    frm_pay.EP_vacct_end_time.value = "";        	                           //입금 만료 시간
157
-		    
157
+
158 158
 			/*--모바일 결제--*/
159
-		    /*--공통--*/        
159
+		    /*--공통--*/
160 160
 		    frm_pay.sp_mall_id.value        = MALL_ID;    							   //가맹점 ID
161 161
 		    frm_pay.sp_mall_nm.value        = fn_make_user_info.get('brandNm');		   //가맹점명
162
-		    frm_pay.sp_order_no.value       = result.poOrdNo;  						   //가맹점 주문번호    
162
+		    frm_pay.sp_order_no.value       = result.poOrdNo;  						   //가맹점 주문번호
163 163
 		                                                                               //결제수단(select)
164 164
 		    frm_pay.sp_currency.value       = "00";                                    //통화코드 : 00-원
165 165
 		    frm_pay.sp_product_nm.value     = result.goodsNm;               	   	   //상품명
@@ -177,50 +177,50 @@ var popPageObj = {
177 177
 		    frm_pay.sp_product_type.value   = "0";                                     //상품정보구분 : 0-실물, 1-서비스
178 178
 		    frm_pay.sp_product_expr.value   = "";									   //서비스기간 : YYYYMMDD
179 179
 		    frm_pay.sp_app_scheme.value     = "";                                      //가맹점 app scheme : 모바일app으로 서비스시 필수
180
-		                                    
181
-		    /*--신용카드--*/                    
180
+
181
+		    /*--신용카드--*/
182 182
 		    frm_pay.sp_usedcard_code.value  = "";                                      //사용가능한 카드 LIST
183 183
 		    frm_pay.sp_quota.value          = "";                                      //할부개월
184
-		                                                                               //무이자 여부(Y/N) (select)   
184
+		                                                                               //무이자 여부(Y/N) (select)
185 185
 		    frm_pay.sp_noinst_term.value    = "";		                               //무이자기간
186
-		                                                                               //카드사포인트 사용여부(select) 
186
+		                                                                               //카드사포인트 사용여부(select)
187 187
 		    frm_pay.sp_point_card.value     = "";         		                       //포인트카드 LIST
188 188
 		                                                                               //조인코드(select)
189
-		    /*--가상계좌--*/                        
190
-		    frm_pay.sp_vacct_bank.value     = "";                                      //가상계좌 사용가능한 은행 LIST 
189
+		    /*--가상계좌--*/
190
+		    frm_pay.sp_vacct_bank.value     = "";                                      //가상계좌 사용가능한 은행 LIST
191 191
 		    frm_pay.sp_vacct_end_date.value = "";               		               //입금 만료 날짜
192 192
 		    frm_pay.sp_vacct_end_time.value = "";                       	           //입금 만료 시간
193
-			
193
+
194 194
 		}, 'POST');
195
-	}, 
195
+	},
196 196
 	fnPaymentReq: function() {
197 197
 		const formId = '#ITP_FORM_PO_PAYMENT_POPUP';
198 198
 		itp_fn_form_clear_validate(null, formId);
199
-		
199
+
200 200
 		var vali_goodsAmt = itp_fn_form_validate(formId, formId + '_GOODS_AMT', ['empty'], undefined);
201 201
 		var vali_ordTel = itp_fn_form_validate(formId, formId + '_ORD_TEL', ['empty'], undefined);
202 202
 		var vali_ordEmail = itp_fn_form_validate(formId, formId + '_ORD_EMAIL', ['email'], undefined);
203
-		
204
-		if (vali_goodsAmt && vali_ordTel && vali_ordEmail) {		
205
-			// var sttlRjctRsn = $('#ITP_FORM_PO_PAYMENT_POPUP_STTL_RJCT_RSN').val();	
206
-			
203
+
204
+		if (vali_goodsAmt && vali_ordTel && vali_ordEmail) {
205
+			// var sttlRjctRsn = $('#ITP_FORM_PO_PAYMENT_POPUP_STTL_RJCT_RSN').val();
206
+
207 207
 			// popPageObj.parentPopFn(sttlRjctRsn);
208 208
 			// $('#ITP_BIZPOP_PO_PAYMENT').modal('hide'); // 팝업닫기
209
-			
209
+
210 210
 			// $(formId).attr('action', '/oqpo-view/easypay/oqpo/oqpo_order.jsp');
211 211
 			// $(formId).submit();
212
-			
212
+
213 213
 			var frm_pay = document.frm_pay;
214 214
 			frm_pay.EP_pay_type.value       = $('#ITP_FORM_PO_PAYMENT_POPUP_PAY_METHOD').val();  	// 결제방법
215
-			frm_pay.EP_product_amt.value    = $('#ITP_FORM_PO_PAYMENT_POPUP_GOODS_AMT').val();  	// 결제금액			
215
+			frm_pay.EP_product_amt.value    = $('#ITP_FORM_PO_PAYMENT_POPUP_GOODS_AMT').val();  	// 결제금액
216 216
 			frm_pay.EP_user_phone1.value    = $('#ITP_FORM_PO_PAYMENT_POPUP_ORD_TEL').val();  		// 휴대폰
217 217
 			frm_pay.EP_user_mail.value      = $('#ITP_FORM_PO_PAYMENT_POPUP_ORD_EMAIL').val();  	// 이메일
218
-			
218
+
219 219
 			frm_pay.sp_pay_type.value       = $('#ITP_FORM_PO_PAYMENT_POPUP_PAY_METHOD').val();  	// 결제방법
220
-			frm_pay.sp_product_amt.value    = $('#ITP_FORM_PO_PAYMENT_POPUP_GOODS_AMT').val();  	// 결제금액			
220
+			frm_pay.sp_product_amt.value    = $('#ITP_FORM_PO_PAYMENT_POPUP_GOODS_AMT').val();  	// 결제금액
221 221
 			frm_pay.sp_user_phone1.value    = $('#ITP_FORM_PO_PAYMENT_POPUP_ORD_TEL').val();  		// 휴대폰
222 222
 			frm_pay.sp_user_mail.value      = $('#ITP_FORM_PO_PAYMENT_POPUP_ORD_EMAIL').val();  	// 이메일
223
-			
223
+
224 224
 			if (isMobile() || window.innerWidth < 1201 ) {
225 225
 				f_mobile_cert();
226 226
 			} else {
@@ -228,13 +228,13 @@ var popPageObj = {
228 228
 				// f_mobile_cert();
229 229
 			}
230 230
 		}
231
-	} 
231
+	}
232 232
 };
233 233
 
234 234
 /* 인증창 호출, 인증 요청 */
235 235
 function f_cert() {
236 236
     var frm_pay = document.frm_pay;
237
-    
237
+
238 238
     /*  주문정보 확인 */
239 239
     if( !frm_pay.EP_order_no.value ) {
240 240
         alert("가맹점주문번호가 존재하지않습니다.");
@@ -246,7 +246,7 @@ function f_cert() {
246 246
         alert("상품금액이 존재하지않습니다.");
247 247
         frm_pay.EP_product_amt.focus();
248 248
         return;
249
-    } 
249
+    }
250 250
 
251 251
     /* UTF-8 사용가맹점의 경우 EP_charset 값 셋팅 필수 */
252 252
     if( frm_pay.EP_charset.value == "UTF-8" ) {
@@ -259,7 +259,7 @@ function f_cert() {
259 259
 
260 260
     /* 가맹점에서 원하는 인증창 호출 방법을 선택 */
261 261
     if( frm_pay.EP_window_type.value == "iframe" ) {
262
-	
262
+
263 263
     	easypay_webpay(frm_pay,"/oqpo-view/easypay/oqpo/oqpo_iframe_req.jsp","hiddenifr","0","0","iframe",30);
264 264
 
265 265
         if( frm_pay.EP_charset.value == "UTF-8" ) {
@@ -270,7 +270,7 @@ function f_cert() {
270 270
             frm_pay.EP_user_addr.value      = decodeURIComponent( frm_pay.EP_user_addr.value );
271 271
         }
272 272
     } else if( frm_pay.EP_window_type.value == "popup" ) {
273
-    	
273
+
274 274
         easypay_webpay(frm_pay,"/oqpo-view/easypay/oqpo/oqpo_popup_req.jsp","hiddenifr","","","popup",30);
275 275
 
276 276
         if( frm_pay.EP_charset.value == "UTF-8" ) {