Browse Source

모바일 입고처리 수량 등록 수

juney 2 years ago
parent
commit
62ba5f9766

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

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

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

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