瀏覽代碼

모바일 디자인 적용

juney 2 年之前
父節點
當前提交
acb52d986a

+ 2 - 1
src/main/webapp/mobile/app/mloanmng/MLOANMNG01011.html

@@ -3,6 +3,7 @@
3 3
 		<form id="ITP_FORM_MLOANMNG01011_VIEW_SEARCH" class="form-horizontal" onsubmit="return false;">
4 4
 		  <input type="hidden" id="ITP_FORM_MLOANMNG01011_VIEW__SEARCH_BRAND_ID" name="sbrandId" value="">
5 5
 		  <input type="hidden" id="ITP_FORM_MLOANMNG01011_VIEW__SEARCH_STORE_ID" name="sstoreId" value="">
6
+			<input type="hidden" id="ITP_FORM_MLOANMNG01011_VIEW_SEARCH_LOAN_MGNT_UNQ_NO" name="sloanMgntUnqNo" value="">
6 7
 		  <div class="content">
7 8
 		  
8 9
 		  	  <div class="content_fix">
@@ -79,7 +80,7 @@
79 80
 					  </div>
80 81
 					  <div class="detail_right">
81 82
 						<div class="detail_info">
82
-						  <div class="fnDstpAmt"></div>
83
+						  <div class="fnTrscAmt"></div>
83 84
 						</div>
84 85
 					  </div>
85 86
 					</div>

+ 3 - 4
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG01011.js

@@ -125,11 +125,10 @@ let mobContentObj = {
125 125
 					$.each(result.gridRows, function (i, item) {
126 126
 						$('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_ROWCOPY').html());
127 127
 						var $li = $('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_AREA .panel-group > .item-row:last');
128
-						$li.find('.fnLoanRegDt').text(item.loanRegDt);
128
+						$li.find('.fnLoanRegDt').text(item.loanRegDt + ' ' + item.loanRegTm);
129 129
 						$li.find('.fnDpstPayDvsnNm').text(item.dpstPayDvsnNm);
130
-						$li.find('.fnDstpAmt').text(item.dstpAmt);
131
-						$li.find('.fnTrscAfBal').text(item.trscAfBal);
132
-						$li.find('.fnUse').text(item.use);
130
+						$li.find('.fnTrscAmt').text(CommonObj.currency.add(item.trscAmt));
131
+						$li.find('.fnTrscAfBal').text(CommonObj.currency.add(item.trscAfBal));
133 132
 						_this.rows.push(item);
134 133
 					});
135 134
 				};

+ 1 - 21
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG06010.js

@@ -77,26 +77,10 @@ let mobPageObj = {
77 77
 		});
78 78
 		if(mode === PAGE_MODE_LIST) {
79 79
 			$('#ITP_AJAX_MPOMNG06010_LIST_CONTAINER').show();
80
-			this.moreView(true);
81 80
 		}
81
+		CommonObj.moreView('#ITP_LIST_MPOMNG06010_LIST_ITEM_AREA', mode === PAGE_MODE_LIST, mobContentObj.list.load);
82 82
 		this.viewMode = mode;
83 83
 	},
84
-	moreView: function(isScroll) {
85
-		var _this = this;
86
-		if(isScroll) {
87
-			$('#ITP_LIST_MPOMNG06010_LIST_ITEM_AREA').on('scroll', function () {
88
-				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
89
-					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
90
-						if(!mobContentObj.list.isSearch) {
91
-							mobContentObj.list.load();
92
-						}
93
-					}
94
-				}
95
-			});
96
-		} else {
97
-			$('#ITP_LIST_MPOMNG06010_LIST_AREA').off('scroll');
98
-		}
99
-	},
100 84
 	ready: function() {
101 85
 		mobContentObj.list.init();
102 86
 	}
@@ -104,10 +88,7 @@ let mobPageObj = {
104 88
 
105 89
 let mobContentObj = {
106 90
 	list: {
107
-		listSize: 10,
108 91
 		listPage: 0,
109
-		totPage: 0,
110
-		isSearch: false,
111 92
 		rows: [],
112 93
 		init: function() {
113 94
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
@@ -118,7 +99,6 @@ let mobContentObj = {
118 99
 			itp_fn_form_clear_validate(null, formId);
119 100
 			if (itp_fn_form_event.isValid(formId)) {
120 101
 				this.listPage = 0;
121
-				this.totPage = 0;
122 102
 				this.rows.length = 0;
123 103
 				$('#ITP_LIST_MPOMNG06010_LIST_ITEM_ROWS').empty();
124 104
 				this.load();

+ 1 - 21
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG07010.js

@@ -81,26 +81,10 @@ let mobPageObj = {
81 81
 		});
82 82
 		if(mode === PAGE_MODE_LIST) {
83 83
 			$('#ITP_AJAX_MPOMNG07010_LIST_CONTAINER').show();
84
-			this.moreView(true);
85 84
 		}
85
+		CommonObj.moreView('#ITP_LIST_MPOMNG07010_LIST_ITEM_AREA', mode === PAGE_MODE_LIST, mobContentObj.list.load);
86 86
 		this.viewMode = mode;
87 87
 	},
88
-	moreView: function(isScroll) {
89
-		var _this = this;
90
-		if(isScroll) {
91
-			$('#ITP_LIST_MPOMNG07010_LIST_ITEM_AREA').on('scroll', function () {
92
-				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
93
-					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
94
-						if(!mobContentObj.list.isSearch) {
95
-							mobContentObj.list.load();
96
-						}
97
-					}
98
-				}
99
-			});
100
-		} else {
101
-			$('#ITP_LIST_MPOMNG07010_LIST_AREA').off('scroll');
102
-		}
103
-	},
104 88
 	ready: function() {
105 89
 		mobContentObj.list.init();
106 90
 	}
@@ -108,10 +92,7 @@ let mobPageObj = {
108 92
 
109 93
 let mobContentObj = {
110 94
 	list: {
111
-		listSize: 10,
112 95
 		listPage: 0,
113
-		totPage: 0,
114
-		isSearch: false,
115 96
 		rows: [],
116 97
 		init: function() {
117 98
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
@@ -119,7 +100,6 @@ let mobContentObj = {
119 100
 		},
120 101
 		search: function() {
121 102
 			this.listPage = 0;
122
-			this.totPage = 0;
123 103
 			this.rows.length = 0;
124 104
 			$('#ITP_LIST_MPOMNG07010_LIST_ITEM_ROWS').empty();
125 105
 			this.load();