浏览代码

모바일 팝업 html 수정

whakdo963 2 年之前
父节点
当前提交
ecabf7d889

+ 1 - 212
src/main/webapp/mobile/app/main.html

@@ -105,218 +105,7 @@
105 105
 
106 106
 	<div id="ITP_CONTAINER" class="fix">
107 107
 		<div class="itp_mobile_contents">
108
-<section id="ITP_MOBILE_MPOMNG01010">
109
-  <div id="ITP_AJAX_MPOMNG01010_VIEW_CONTAINER">
110
-    <form id="ITP_FORM_MPOMNG01010_DETAIL" class="form-horizontal" onsubmit="return false;">
111
-      <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_VIEW_CD" name="viewCd" value="C">
112
-      <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_BRAND_ID" name="brandId" value="">
113
-      <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_STORE_ID" name="storeId" value="">
114
-      <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_LOAN_DVSN" name="loanDvsn" value="">
115
-      <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_LOAN_MGNT_UNQ_NO" name="loanMgntUnqNo" value="">
116
-      <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_PCH_REQ_DVSN" name="pchReqDvsn" value="">
117
-      <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_PCH_REQ_ST_CD" name="pchReqStCd" value="">
118
-      <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_MALL_ID" name="mallId" value="">
119
-      <div class="content">
120
-      	<div class="line header">
121
-			<div class="itp_search_header fnMenuNm">구매요청생성</div>
122
-      	</div>
123
-        <div class="line">
124
-          <label>납기요청일</label>
125
-          <input id="ITP_FORM_MPOMNG01010_DETAIL_DLV_REQ_DT" name="dlvReqDt" class="date" data-check-required="empty" type="date" placeholder="">
126
-        </div>
127
-        <div class="line">
128
-          <label>구매요청금액</label>
129
-          <div class="line_right">
130
-            <div class="fnPchReqAmtTot">0원</div>
131
-          </div>
132
-        </div>
133
-        <div class="line">
134
-          <label>구매가능금액</label>
135
-          <div class="line_right">
136
-            <div class="fnOrdUseAmt">0원</div>
137
-          </div>
138
-        </div>
139
-        <div class="line">
140
-          <label>납품장소</label>
141
-            <div class="float_left">
142
-                <input type="text" id="ITP_FORM_MPOMNG01010_DETAIL_WHS_NM" class="" name="whsNm" data-check-required="empty" placeholder="매장명" readonly />
143
-                <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_WHS_ID" class="form-control itp_input" name="whsId" value="" />
144
-                <input type="hidden" id="ITP_FORM_MPOMNG01010_DETAIL_LOCATION" class="form-control itp_input" name="location" value="" />
145
-             	<button id="ITP_BTN_MPOMNG01010_DETAIL_SEARCH_WHS_NM" data-call-popup="ITP_POP_MPOMNG01010_WHS_AREA"><img src="../img/search.png" alt=""></button>
146
-            </div>
147
-            <div class="float_right_btn">
148
-              <!-- <button id="ITP_BTN_MPOMNG01010_DETAIL_SEARCH_WHS_NM" data-call-popup="ITP_POP_MPOMNG01010_WHS_AREA"><img src="../img/search.png" alt=""></button> -->
149
-              <button id="ITP_BTN_MPOMNG01010_DETAIL_DELETE_WHS_NM"><img src="../img/delete.png" alt=""></button>
150
-            </div>
151
-        </div>
152
-        <div class="header line">
153
-          <div class="table_header">
154
-            <h1><구매품목></h1>
155
-            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_DELROW" class="btn-primary btn-sm ADB">품목삭제</button>
156
-            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_ADDROW" class="btn-primary btn-sm ADB" data-call-popup="ITP_POP_MPOMNG01010_ITEM_AREA">품목추가</button>
157
-          </div>
158
-        </div>
159
-      </div>
160
-      <div id="ITP_LIST_MPOMNG01010_ITEM_AREA" class="scroll_area row-3">
161
-        <ul id="ITP_LIST_MPOMNG01010_DETAIL_ROWS" class="mb_0"></ul>
162
-        <div id="ITP_LIST_MPOMNG01010_DETAIL_ROWCOPY" style="display: block;">
163
-      <!--   검색된 데이터가 없습니다  -->
164
-      	<div class="itp_non_data" style="display:none;">
165
-      		<div>검색된 데이터가 없습니다.</div>
166
-      	</div>
167
-          <li class="list-row">
168
-            <div class="left_info">
169
-              <div class="check_box">
170
-                <div style="display:none;"><input type="checkbox" name="brandUnitUnqNo" class="fnBrandUnitUnqNo" /></div>
171
-              </div>
172
-              <div class="thick">
173
-                <div class="itp_item fnItemNm">품목명</div>
174
-                <div class="itp_item fnUnit">EA</div>
175
-              </div>
176
-              <div class="thick">
177
-                <div class="itp_gram fnUnitAmt">700g</div>
178
-              </div>
179
-              <div class="thick">
180
-                <div class="itp_amt fnUnitAmt">1,120,000원</div>
181
-              </div>
182
-            </div>
183
-            <div class="md_info">
184
-            	<div class="thick">
185
-            		<div>2022.12.15</div>
186
-            	</div>
187
-            	<div class="thick">
188
-            		<div>브랜드 창고A</div>
189
-            	</div>
190
-            </div>
191
-            <div class="right">
192
-              <button id="ITP_BTN_MPOMNG01010_DETAIL_MINUS">-</button>
193
-              <div class="num fnPchReqQty">1</div>
194
-              <button id="ITP_BTN_MPOMNG01010_DETAIL_PLUS">+</button>
195
-            </div>
196
-          </li>
197
-          
198
-        </div>
199
-      </div>
200
-      <div class="button_bar">
201
-        <button id="ITP_BTN_MPOMNG01010_DETAIL_REQ_ORDER" data-call-popup="ITP_POP_MPOMNG01010_REQ_AREA" class="col_3 btn-primary REQ">구매요청</button>
202
-        <button id="ITP_BTN_MPOMNG01010_DETAIL_TEMP_SAVE" data-call-popup="ITP_POP_MPOMNG01010_REQ_AREA" class="col_3 btn-gray TSA">임시저장</button>
203
-        <button id="ITP_BTN_MPOMNG01010_DETAIL_CANCEL" class="col_3 btn-gray CLB">취소</button>
204
-      </div>
205
-    </form>
206
-  </div>
207
-  <div id="ITP_MOBILE_JS"></div>
208
-    <div id="ITP_POP_MPOMNG01010_REQ_AREA" class="popup mobile-pop-close" style="display: none;">
209
-        <div class="pop">
210
-            <div class="pop_line">
211
-                <label>납품요청일 &nbsp;&nbsp;:</label>
212
-                <div class="fnPopDlvReqDt"></div>
213
-            </div>
214
-            <div class="pop_line">
215
-                <label>품목수&nbsp;&nbsp; :</label>
216
-                <div class="fnItemQty">개</div>
217
-            </div>
218
-            <div class="pop_line">
219
-                <label>구매금액 &nbsp;&nbsp;:</label>
220
-                <div class="fnOrdAmt">원</div>
221
-            </div>
222
-            <!--<label class="pop_label msg_save">구매요청 하시겠습니까?</label>-->
223
-            <div class="pop_msg">구매요청 하시겠습니까?</div>
224
-            <div class="popup_btn">
225
-                <button id="ITP_BTN_MPOMNG01010_POP_REQ_CLOSE" class="cancel btn-gray CLB btn-pop-close">취소</button>
226
-                <button id="ITP_BTN_MPOMNG01010_POP_REQ_CONFIRM" class="ok btn-primary COK">확인</button>
227
-            </div>
228
-        </div>
229
-    </div>
230
-    <div id="ITP_POP_MPOMNG01010_WHS_AREA" class="popup2 mobile-pop-close" style="display: block;">
231
-        <div class="pop">
232
-            <div class="header">
233
-                <div class="header_left">
234
-                    <label>납품장소</label>
235
-                </div>
236
-                <div class="header_right">
237
-                    <button type="button" id="ITP_BTN_MPOMNG01010_POP_WHS_CLOSE" class="btn-pop-close"><img src="../img/close.png"></button>
238
-                </div>
239
-            </div>
240
-            <div class="search_bar">
241
-                <form id="ITP_FORM_MPOMNG01010_POP_WHS" class="form-horizontal" onsubmit="return false;">
242
-                    <input type="hidden" id="ITP_FORM_MPOMNG01010_WHS_ITEM_BRAND_ID" name="sbrandId" value="">
243
-                    <input type="hidden" id="ITP_FORM_MPOMNG01010_WHS_ITEM_STORE_ID" name="sstoreId" value="">
244
-                    <input id="ITP_FORM_MPOMNG01010_POP_WHS_KEYWORD" type="text" name="swhsNm" placeholder="납품장소명">
245
-                    <button id="ITP_BTN_MPOMNG01010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
246
-                </form>
247
-            </div>
248
-            <div class="select_btn">
249
-                <button id="ITP_BTN_MPOMNG01010_POP_WHS_NM" class="btn_blue">납품장소▼</button>
250
-            </div>    
251
-            <div id="ITP_LIST_MPOMNG01010_POP_WHS_AREA" class="popup_scroll">
252
-                <ul id="ITP_LIST_MPOMNG01010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
253
-                <div id="ITP_LIST_MPOMNG01010_POP_WHS_ROWCOPY" style="display: block;">
254
-                    <li class="row_2">
255
-                        <div class="scroll_left">
256
-                            <div class="fnWhsNm">브랜드 창고 명A</div>
257
-                            <div class="fnLocationNm">(상세위치내용)</div>
258
-                        </div>
259
-                        <div class="scroll_right">
260
-                            <button id="ITP_BTN_MPOMNG01010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
261
-                        </div>
262
-                    </li>
263
-                </div>
264
-            </div>
265
-        </div>
266
-    </div>
267
-    <div id="ITP_POP_MPOMNG01010_ITEM_AREA" class="popup2 mobile-pop-close" style="display: none;">
268
-        <div class="pop">
269
-            <div class="header">
270
-                <div class="header_left">
271
-                    <label>> 품목 검색</label>
272
-                </div>
273
-                <div class="header_right">
274
-                    <button type="button" id="ITP_BTN_MPOMNG01010_POP_ITEM_CLOSE" class="btn-pop-close"><img src="../img/close.png"></button>
275
-                </div>
276
-            </div>
277
-            <form id="ITP_FORM_MPOMNG01010_POPUP_ITEM" class="form-horizontal" onsubmit="return false;">
278
-                <input type="hidden" id="ITP_FORM_MPOMNG01010_POPUP_ITEM_BRAND_ID" name="sbrandId" value="">
279
-                <input type="hidden" id="ITP_FORM_MPOMNG01010_POPUP_ITEM_STORE_ID" name="sstoreId" value="">
280
-                <div class="search_bar">
281
-                    <input id="ITP_FORM_MPOMNG01010_POP_ITEM_KEYWORD" name="sitemNm" type="text" placeholder="품목명/품목번호" />
282
-                    <button id="ITP_BTN_MPOMNG01010_POP_ITEM_SEARCH"><img src="../img/search.png"></button>
283
-                </div>
284
-                <div class="search_bar">
285
-                    <button id="ITP_BTN_MPOMNG01010_POP_ITEM_NM" class="btn_blue">품목명▼</button>
286
-                </div>
287
-            </form>
288
-            <div id="ITP_LIST_MPOMNG01010_POP_ITEM_AREA" class="popup_scroll">
289
-                <ul id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWS" class="panel-group"></ul>
290
-                <div id="ITP_LIST_MPOMNG01010_POP_ITEM_ROWCOPY" style="display:none;">
291
-                    <li class="row_2">
292
-                        <div class="left" style="width:180px;">
293
-                            <!--<div class="check_box">
294
-                                <input type="checkbox" id="ITP_FORM_MPOMNG01010_POP_ITEM_CHECKBOX" name="itemId" />
295
-                            </div>-->
296
-                            <div class="thick">
297
-                                <div class="fnItemNm">품목명</div>
298
-                                <div>-</div>
299
-                                <div class="fnUnit">EA</div>
300
-                            </div>
301
-                            <div class="thick" style="font-weight:100;">
302
-                                <div class="space">구매가 :</div>
303
-                                <div class="fnUnitAmt">0</div>
304
-                            </div>
305
-                        </div>
306
-                        <div class="right">
307
-                            <button id="ITP_BTN_MPOMNG01010_POP_ITEM_MINUS" class="POP_ITEM_MINUS">-</button>
308
-                            <div class="num fnPchReqQty">1</div>
309
-                            <button id="ITP_BTN_MPOMNG01010_POP_ITEM_PLUS" class="POP_ITEM_PLUS">+</button>
310
-                        </div>
311
-                        <div class="add">
312
-                            <button id="ITP_BTN_MPOMNG01010_POP_ITEM_ADD" class="POP_ITEM_ADD">추가</button>
313
-                        </div>
314
-                    </li>
315
-                </div>
316
-            </div>
317
-        </div>
318
-    </div>
319
-</section>
108
+
320 109
 		</div>
321 110
 	</div>
322 111
 	<footer id="ITP_FOOTER">

+ 17 - 6
src/main/webapp/mobile/app/mpomng/MPOMNG01010.html

@@ -124,7 +124,7 @@
124 124
         <div class="pop">
125 125
             <div class="header">
126 126
                 <div class="header_left">
127
-                    <label>> 납품장소</label>
127
+                    <label>납품장소</label>
128 128
                 </div>
129 129
                 <div class="header_right">
130 130
                     <button type="button" id="ITP_BTN_MPOMNG01010_POP_WHS_CLOSE" class="btn-pop-close"><img src="../img/close.png"></button>
@@ -138,16 +138,27 @@
138 138
                     <button id="ITP_BTN_MPOMNG01010_POP_WHS_SEARCH"><img src="../img/search.png"></button>
139 139
                 </form>
140 140
             </div>
141
-            <div class="search_bar">
142
-                <button id="ITP_BTN_MPOMNG01010_POP_WHS_NM" class="btn_blue">납품장소</button>
143
-            </div>
141
+            <div class="select_btn">
142
+                <button id="ITP_BTN_MPOMNG01010_POP_WHS_NM" class="btn_blue">납품장소 V</button>
143
+            </div>    
144 144
             <div id="ITP_LIST_MPOMNG01010_POP_WHS_AREA" class="popup_scroll">
145
-                <ul id="ITP_LIST_MPOMNG01010_POP_WHS_ROWS" class="panel-group itp_nav"></ul>
145
+                <ul id="ITP_LIST_MPOMNG01010_POP_WHS_ROWS" class="mb_0 itp_nav"></ul>
146 146
                 <div id="ITP_LIST_MPOMNG01010_POP_WHS_ROWCOPY" style="display: block;">
147 147
                     <li class="row_2">
148 148
                         <div class="scroll_left">
149 149
                             <div class="fnWhsNm">브랜드 창고 명A</div>
150
-                            <div class="fnLocationNm">(상세위치내용)</div>
150
+                            <div class="sub fnLocationNm">서울특별시 동대문구 서울 시립대로 12길</div>
151
+                            <div class="sub fnLocationNm">누리자 B/D</div>
152
+                        </div>
153
+                        <div class="scroll_right">
154
+                            <button id="ITP_BTN_MPOMNG01010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>
155
+                        </div>
156
+                    </li>
157
+                     <li class="row_2">
158
+                        <div class="scroll_left">
159
+                            <div class="fnWhsNm">브랜드 창고 명A</div>
160
+                            <div class="sub fnLocationNm">서울특별시 동대문구 서울 시립대로 12길</div>
161
+                            <div class="sub fnLocationNm">누리자 B/D</div>
151 162
                         </div>
152 163
                         <div class="scroll_right">
153 164
                             <button id="ITP_BTN_MPOMNG01010_POP_WHS_CHOICE" class="fnWhsId" data-whs-id="">선택</button>

+ 14 - 12
src/main/webapp/mobile/css/style.css

@@ -29,17 +29,17 @@ section .popup2 .barcode_area {width: 300px; height: 300px; margin: auto; backgr
29 29
 section .popup2 .barcode h1{text-align: left; width: 85%; font-size: 1.1rem; margin:auto; margin-top: 20%;}
30 30
 section .popup2 .btn_barcode {margin-top: 20%;}
31 31
 section .popup2 .btn_barcode button {width: 35%; height: 50px; font-size: 1rem;}
32
-section .popup2 .pop { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 95%; height: 85%; background: #fff; border: 2px solid #000;}
33
-section .popup2 .pop .header {position: relative; height: 50px; background: #f0831e; color:#eee; border-bottom: 1px solid #000;}
32
+section .popup2 .pop { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 95%; height: 85%; background: #fff; border: 1px solid #000; border-radius:10px;}
33
+section .popup2 .pop .header {position: relative; height: 50px; background: #f0831e; color:#eee; border-bottom: 1px solid #000; border-top-right-radius: 10px; border-top-left-radius: 10px;}
34 34
 section .popup2 .pop .header .header_left {padding-top: 12px;}
35 35
 section .popup2 .pop .header .header_left label {font-size: 18px; font-weight:100;} 
36 36
 section .popup2 .pop .header .header_right {float: right; padding-right: 10px; position:relative; top:-44px;}
37 37
 section .popup2 .pop .header .header_right button {border: none; background: transparent;}
38 38
 section .popup2 .pop .header .header_right button img {width:30px; height:30px;}
39
-section .popup2 .pop .select_btn button.btn_blue {float: right; width: 100px; height: 35px; background:#d9baaf; color: #fff; font-size: 13px; padding: 0; border: 1px solid #000;}
40
-section .popup2 .pop .select_btn {width:100%; height: 20px;}
39
+section .popup2 .pop .select_btn button.btn_blue {float: right; width: 100px; height: 30px; background:#d9baaf; color: #fff; font-size: 13px; padding-top:6px; border: 1px solid #cca597;}
40
+section .popup2 .pop .select_btn {position:relative; top:-25px; left:55px; width:100%; height: 20px;}
41 41
 section .popup2 .pop .search_bar {width: 100%; height: 60px; padding:10px;}
42
-section .popup2 .pop .search_bar input {width: 90%; margin:0 5%; height: 40px; position:relative; top:-37px;}
42
+section .popup2 .pop .search_bar input {width: 90%; margin:0 5%; height: 40px; position:relative; top:-37px; font-size:14px;}
43 43
 section .popup2 .pop .search_bar button {position:relative; top:-74px; background:transparent; margin-right:5%; float: right; border: none; padding-top:3px;}
44 44
 section .popup2 .pop .search_bar button img {width: 22px;}
45 45
 section .popup2 .pop .search_bar button.search {float: none; width: 50%; height: 35px; background:rgb(46, 46, 248); color: #fff; font-size: 1rem; padding: 0; border: 1px solid #000; margin: 0 auto;}
@@ -53,9 +53,10 @@ section .popup2 .pop .search_btn_bar .btn_right button {height:35px; padding:5px
53 53
 section .popup2 .pop table{width:98%; margin:0 1%;}
54 54
 section .popup2 .pop table tbody th {height:50px; font-size:16px;}
55 55
 section .popup2 .pop table tbody input{width:15px;}
56
-section .popup2 .pop .popup_scroll {position: relative; width: 100%;height: 720px; overflow: auto;}
57
-section .popup2 .pop .popup_scroll li {list-style: none; width: 99%; height: 50px; border: 1px solid #000; margin: 0 auto;}
58
-section .popup2 .pop .popup_scroll li.row_2 {height: 80px;}
56
+section .popup2 .pop .popup_scroll ul.mb_0 {margin-bottom:0 !important;}
57
+section .popup2 .pop .popup_scroll {position: relative; top:-25px; width: 100%;height: 540px; overflow: auto; border-top:1px solid #E0B8AB;}
58
+section .popup2 .pop .popup_scroll li {list-style: none; width: 100%; height: 50px; border-bottom: 1px solid #E0B8AB;}
59
+section .popup2 .pop .popup_scroll li.row_2 {height: 90px;}
59 60
 
60 61
 section .popup2 .pop .popup_scroll li .left {position: relative; float: left;}
61 62
 section .popup2 .pop .popup_scroll li .left .check_box {width:30px; float:left; height:80px; padding-left:5px; padding-top:20px;}
@@ -65,10 +66,11 @@ section .popup2 .pop .popup_scroll li .left .thick {float: left; margin: 12px 0
65 66
 section .popup2 .pop .popup_scroll li .left .nomal {float: left; margin: 15px 0px 0px 15px; font-size: 1.2rem; text-align: left; width: 100%;}
66 67
 section .popup2 .pop .popup_scroll li .left .history {font-weight: 700; font-size: 2.4rem; margin-left: 20px;}
67 68
 section .popup2 .pop .popup_scroll li .left .history input{width: 150px;}
68
-section .popup2 .pop .popup_scroll li .scroll_left {float: left;}
69
-section .popup2 .pop .popup_scroll li .scroll_left div {float: left; font-size: 0.8rem; font-weight: 700; width: auto; margin: 15px 10px;}
69
+section .popup2 .pop .popup_scroll li .scroll_left {float: left; display:grid;}
70
+section .popup2 .pop .popup_scroll li .scroll_left div {text-align:left; float: left; font-size: 18px; font-weight: 100; width: auto; margin:9px 6px -6px 10px;}
71
+section .popup2 .pop .popup_scroll li .scroll_left .sub{font-size:14px; color:gray;}
70 72
 section .popup2 .pop .popup_scroll li .scroll_right {float: right;}
71
-section .popup2 .pop .popup_scroll li .scroll_right button {width: 60px; height: 40px; padding: 0; background: rgb(198, 170, 250); border-radius: 10px; font-size: 0.8rem; margin:4px 10px;}
73
+section .popup2 .pop .popup_scroll li .scroll_right button {width: 50px; height: 38px; padding: 0; background:#8f9fc6; border:1px solid #cacfe3; color:#eee; border-radius: 10px; font-size: 14px; margin:25px 10px;}
72 74
 section .popup2 .pop .popup_scroll li .right {position: relative; display: flex; font-size: 1.6rem; font-weight: 700; float: left; top:20px;}
73 75
 section .popup2 .pop .popup_scroll li .right .num {margin: 0 20px; width: auto;}
74 76
 section .popup2 .pop .popup_scroll li .right button {padding: 5px; font-size: 1rem; border-radius: 0px;}
@@ -365,7 +367,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
365 367
 .col-4{width:40% !important;}
366 368
 .col-6{width:60% !important;}
367 369
 
368
-.scroll_area ul.mb_0 {margin-bottom:0;}
370
+.scroll_area ul.mb_0 {margin-bottom:0 !important;}
369 371
 .scroll_area .itp_non_data {margin:35% auto;}
370 372
 .scroll_area li {margin:0; list-style: none; width: 100%; height: 85px; border: 1px solid #ccc; background-color: #fff;}
371 373
 .scroll_area li.list-row {height:110px;}