Переглянути джерело

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

juney 2 роки тому
батько
коміт
62ba5f9766

+ 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>

+ 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
+};