Browse Source

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

yhl88 2 years ago
parent
commit
2013fc7119

+ 4 - 2
src/main/webapp/mobile/app/main.html

@@ -138,7 +138,7 @@
138 138
 
139 139
 	<div id="ITP_CONTAINER" class="fix">
140 140
 		<div class="itp_mobile_contents"> 
141
-			<div id="ITP_MAIN_CONTAINER" class="itp_main_box" style="display: block;">
141
+			<div id="ITP_MAIN_CONTAINER" class="itp_main_box" style="display: none;">
142 142
 				<div class="itp_note_header">
143 143
 					<h1>> 공지사항</h1>
144 144
 				</div>				
@@ -349,7 +349,9 @@
349 349
 			</div>
350 350
 		</div>
351 351
 	</footer>
352
-	<aside id="ITP_ASIDE"></aside>
352
+	<aside id="ITP_ASIDE">
353
+	
354
+	</aside>
353 355
 	<section>
354 356
 		<div id="ITP_POP_NOTICE" class="popup2 mobile-pop-close" style="display: none;">
355 357
 			<div class="pop" style="height:380px;">

+ 1 - 0
src/main/webapp/mobile/app/mpomng/MPOMNG06010.html

@@ -111,6 +111,7 @@
111 111
 								<label class="">입고수량</label>
112 112
 								<span>:</span>
113 113
 								<div class="auto fnWhsQty"></div>
114
+								<input type="hidden" id="ITP_FORM_MPOMNG06010_WHS_QTY" name="whsQty" />
114 115
 								<button id="ITP_BTN_MPOMNG06010_WHS_QTY" class="btn-m-orange" name="whsQty">입력</button>
115 116
 							</div>
116 117
 						</div>

+ 1 - 1
src/main/webapp/mobile/app/mrtnmng/MRTNMNG05010.html

@@ -112,7 +112,7 @@
112 112
 								<label class="col_6">수거수량</label>
113 113
 								<span>:</span>
114 114
 								<div class="auto fnColQty">1</div>
115
-								<button id="ITP_BTN_MPOMNG06010_WHS_QTY" class="btn-m-orange" name="colQty">입력</button>
115
+								<button id="ITP_BTN_MRTNMNG05010_COL_QTY" class="btn-m-orange" name="colQty">입력</button>
116 116
 							</div>
117 117
 						</div>
118 118
 					</li>

+ 65 - 0
src/main/webapp/mobile/app/popup/biz/BIZPOP_PO_WHS_QTY.html

@@ -0,0 +1,65 @@
1
+<div id="ITP_BIZPOP_PO_WHS_QTY" class="modal itp_modal">
2
+	<div class="modal-dialog">
3
+		<div class="modal-content">
4
+			<div class="modal-header">
5
+				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6
+				<h5 class="modal-title">입고처리</h5>
7
+			</div>
8
+			<div class="modal-body">
9
+				<div class="itp_form itp_type1 fix">
10
+					<div class="col-xs-12">
11
+						<div class="form-horizontal">
12
+							<form id="ITP_FORM_PO_WHS_QTY_POPUP" target="_PAYMENT_FRAME" action="">
13
+								<input type="hidden" id="ITP_FORM_PO_WHS_QTY_POPUP_PAY_TP_CD" name="payTpCd" value="" />
14
+								<input type="hidden" id="ITP_FORM_PO_WHS_QTY_POPUP_BRAND_ID" name="brandId" value="" />
15
+								<input type="hidden" id="ITP_FORM_PO_WHS_QTY_POPUP_BRAND_NM" name="brandNm" value="" />
16
+								<div class="line shot">
17
+									<div class="label_box">
18
+										<label class="shot">품목번호</label>
19
+									</div>
20
+									<div class="info_box">
21
+										<div class="fnItemNo"></div>
22
+									</div>
23
+								</div>
24
+								<div class="line shot">
25
+									<div class="label_box">
26
+										<label class="shot">품목명</label>
27
+									</div>
28
+									<div class="info_box">
29
+										<div class="fnItemNm"></div>
30
+									</div>
31
+								</div>
32
+								<div class="line shot">
33
+									<div class="label_box">
34
+										<label class="itp_lb shot">납품수량</label>
35
+									</div>
36
+									<div class="info_box">
37
+										<div class="fnDlvQty"></div>
38
+									</div>
39
+								</div>
40
+								<div class="line border">
41
+									<div class="label_box">
42
+										<label class="itp_lb">입고수량</label>
43
+									</div>
44
+									<div class="info_box">
45
+			              				<button id="ITP_BTN_PO_WHS_QTY_POPUP_ITEM_MINUS">-</button>
46
+										<input type="text" id="ITP_FORM_PO_WHS_QTY_POPUP" class="itp_input" name="whsQty" />
47
+										<button id="ITP_BTN_PO_WHS_QTY_POPUP_ITEM_PLUS">+</button>
48
+									</div>
49
+								</div>
50
+							</form>
51
+						</div>
52
+					</div>
53
+				</div>
54
+			</div>
55
+			<div class="modal-footer">
56
+				<div class="pop_btn_bar">
57
+					<button type="button" id="ITP_BTN_PO_WHS_QTY_CONFIRM_POP" class="btn btn-primary btn-sm SAB" style="display: inline-block;">&nbsp;&nbsp;확인&nbsp;&nbsp;</button>
58
+					<button type="button" id="ITP_BTN_PO_WHS_QTY_CLOSE_POP" class="btn btn-danger btn-sm CLB">&nbsp;&nbsp;취소&nbsp;&nbsp;</button>
59
+				</div>
60
+			</div>
61
+		</div>
62
+	</div>
63
+	<div id="ITP_POPUP_KICC_JS"></div>
64
+	<div id="ITP_POPUP_JS"></div>
65
+</div>

+ 65 - 0
src/main/webapp/mobile/app/popup/biz/BIZPOP_RT_COL_QTY.html

@@ -0,0 +1,65 @@
1
+<div id="ITP_BIZPOP_PO_COL_QTY" class="modal itp_modal">
2
+	<div class="modal-dialog">
3
+		<div class="modal-content">
4
+			<div class="modal-header">
5
+				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6
+				<h5 class="modal-title">반품처리</h5>
7
+			</div>
8
+			<div class="modal-body">
9
+				<div class="itp_form itp_type1 fix">
10
+					<div class="col-xs-12">
11
+						<div class="form-horizontal">
12
+							<form id="ITP_FORM_PO_COL_QTY_POPUP" target="_PAYMENT_FRAME" action="">
13
+								<input type="hidden" id="ITP_FORM_PO_COL_QTY_POPUP_PAY_TP_CD" name="payTpCd" value="" />
14
+								<input type="hidden" id="ITP_FORM_PO_COL_QTY_POPUP_BRAND_ID" name="brandId" value="" />
15
+								<input type="hidden" id="ITP_FORM_PO_COL_QTY_POPUP_BRAND_NM" name="brandNm" value="" />
16
+								<div class="line shot">
17
+									<div class="label_box">
18
+										<label class="shot">품목번호</label>
19
+									</div>
20
+									<div class="info_box">
21
+										<div class="fnItemNo"></div>
22
+									</div>
23
+								</div>
24
+								<div class="line shot">
25
+									<div class="label_box">
26
+										<label class="shot">품목명</label>
27
+									</div>
28
+									<div class="info_box">
29
+										<div class="fnItemNm"></div>
30
+									</div>
31
+								</div>
32
+								<div class="line shot">
33
+									<div class="label_box">
34
+										<label class="itp_lb shot">수거요청수량</label>
35
+									</div>
36
+									<div class="info_box">
37
+										<div class="fnColReqQty"></div>
38
+									</div>
39
+								</div>
40
+								<div class="line border">
41
+									<div class="label_box">
42
+										<label class="itp_lb">수거수량</label>
43
+									</div>
44
+									<div class="info_box">
45
+			              				<button id="ITP_BTN_PO_COL_QTY_POPUP_ITEM_MINUS">-</button>
46
+										<input type="text" id="ITP_FORM_PO_COL_QTY_POPUP" class="itp_input" name="colQty" />
47
+										<button id="ITP_BTN_PO_COL_QTY_POPUP_ITEM_PLUS">+</button>
48
+									</div>
49
+								</div>
50
+							</form>
51
+						</div>
52
+					</div>
53
+				</div>
54
+			</div>
55
+			<div class="modal-footer">
56
+				<div class="pop_btn_bar">
57
+					<button type="button" id="ITP_BTN_PO_COL_QTY_CONFIRM_POP" class="btn btn-primary btn-sm SAB" style="display: inline-block;">&nbsp;&nbsp;확인&nbsp;&nbsp;</button>
58
+					<button type="button" id="ITP_BTN_PO_COL_QTY_CLOSE_POP" class="btn btn-danger btn-sm CLB">&nbsp;&nbsp;취소&nbsp;&nbsp;</button>
59
+				</div>
60
+			</div>
61
+		</div>
62
+	</div>
63
+	<div id="ITP_POPUP_KICC_JS"></div>
64
+	<div id="ITP_POPUP_JS"></div>
65
+</div>

+ 1 - 0
src/main/webapp/mobile/css/style.css

@@ -655,6 +655,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
655 655
 .modal-dialog .line .label_box label {font-size:14px; font-weight:100;}
656 656
 .modal-dialog .line .info_box {width: calc(100% - 100px); padding:10px; display:flex;}
657 657
 .modal-dialog .line .info_box .email {width:30%;}
658
+.modal-dialog .line .info_box button {position:relative; padding:0; height:27px; width:40px; top:-4px; font-size:14pt; border:1px solid #aaa; border-radius:4px; margin:0 3px;}
658 659
 .modal-dialog .line .info_box input{position:relative; top:-4px; width:100%; height:27px; margin:0;}
659 660
 .modal-dialog .line .info_box select{position:relative; top:-4px; width:100%; height:27px;}
660 661
 .modal-dialog .line .info_box div{text-overflow:ellipsis; overflow:hidden; white-space:nowrap; width:100%; text-align:left; font-size:14px; font-weight:100;}

+ 4 - 0
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG06010.js

@@ -130,6 +130,7 @@ let mobContObj = {
130 130
 					$li.find('.fnWhsAmt').text(CommonObj.currency.add(item.whsAmt));
131 131
 					$li.find('.fnDlvQty').text(CommonObj.comma.set(item.dlvQty));
132 132
 					$li.find('.fnWhsQty').val(item.whsQty);
133
+					$('button[id="ITP_BTN_MPOMNG06010_WHS_QTY"]')[$li.index()].addEventListener('click', function() { _this.inputQty(this); });
133 134
 					mobContObj.list.rows.push(item);
134 135
 				});
135 136
 			};
@@ -137,6 +138,9 @@ let mobContObj = {
137 138
 			param.gridPage = mobContObj.list.listPage;
138 139
 			param.gridSize = mobile_list_size;
139 140
 			fn_ajax_call(API_MOBILE_GRID_LIST, JSON.stringify(param), callbackFn, 'POST');
141
+		},
142
+		inputQty: function() {
143
+
140 144
 		},
141 145
 		save: function() {
142 146
 			var _this = this;

+ 23 - 0
src/main/webapp/mobile/js/app/popup/biz/ITP_BIZPOP_PO_WHS_QTY.js

@@ -0,0 +1,23 @@
1
+require(['config'], function() {
2
+	require([
3
+		'jquery'
4
+	], function($) {
5
+
6
+	});
7
+});
8
+
9
+const API_MOBILE_SAVE 		= '/api/pomng/inoutmng/save-warehouse';				// 저장
10
+
11
+var popPageObj = {
12
+	init: function () {
13
+		this.button();
14
+		this.change();
15
+		this.view();
16
+	},
17
+	button: function() {
18
+	}, 
19
+	change: function() {
20
+	}, 	
21
+	view: function() {
22
+	}
23
+};