Bläddra i källkod

키보드 입력 스크롤 처리 변경

isna 2 år sedan
förälder
incheckning
ec04d35143

+ 2 - 2
src/main/webapp/mobile/app/mordmng/MORDMNG02010.html

@@ -205,7 +205,7 @@
205 205
 					  <div class="nomal">
206 206
 						<label class="col_4">납품수량</label>
207 207
 						<span>:</span>
208
-					    <input id="ITP_FORM_MORDMNG02010_VIEW_SHMT_QTY" name="shmtQty" type="number">
208
+					    <input id="ITP_FORM_MORDMNG02010_VIEW_SHMT_QTY" class="input-key" name="shmtQty" type="number">
209 209
 					    <label>유통기한</label>
210 210
 					    <span>:</span>
211 211
 						<input type="text" id="ITP_FORM_MORDMNG02010_VIEW_EXPRY_DATE" name="expryDate" readonly class="itp_input date col_9 year">
@@ -215,7 +215,7 @@
215 215
 					  <div class="nomal">
216 216
 						<label class="col_4">비고</label>
217 217
 						<span>:</span>
218
-					    <input id="ITP_FORM_MORDMNG02010_VIEW_DELI_DESC" class="full" type="text" name="deliDesc">
218
+					    <input id="ITP_FORM_MORDMNG02010_VIEW_DELI_DESC" class="input-key full" type="text" name="deliDesc">
219 219
 					  </div>
220 220
 					</div>
221 221
 			  	</li>

+ 10 - 0
src/main/webapp/mobile/js/app/mordmng/ITP_MORDMNG02010.js

@@ -212,6 +212,16 @@ let mobContObj = {
212 212
 				$li.find('#ITP_FORM_MORDMNG02010_VIEW_EXPRY_DATE').datepicker('setDate', item.expryDate);
213 213
 				_this.rows.push(item);
214 214
 			});
215
+			$("#ITP_AJAX_MORDMNG02010_VIEW_CONTAINER .input-key").each(function() {
216
+				$(this).focus(function() {
217
+					console.log("focus start")
218
+					if(CommonObj.isApp) $("#ITP_FORM_MORDMNG02010_VIEW .content_fix").hide();
219
+				})
220
+				$(this).blur(function(){
221
+					console.log("focus end")
222
+					if(CommonObj.isApp) $("#ITP_FORM_MORDMNG02010_VIEW .content_fix").show();
223
+				})
224
+			});
215 225
 		},
216 226
 		add: function() {
217 227
 			var _this = this;