Kaynağa Gözat

모바일 결제 수정

juney 2 yıl önce
ebeveyn
işleme
b8f0c7cfca

+ 0 - 1
src/main/webapp/mobile/app/easypay/oqpo/mobile_order_res_submit.jsp

@@ -92,7 +92,6 @@ System.out.println("sp_res_cd ===> " + request.getParameter("sp_res_cd"));
92 92
         for (let i = 0, length = form.elements.length; i < length; i++) {
93 93
             const field = form.elements[i];
94 94
             if (field.name && !field.disabled && "file" !== field.type && "reset" !== field.type && "submit" !== field.type && "button" !== field.type) {
95
-                console.log('field.type : ' + field.type);
96 95
                 if(field.type === 'text' || field.type === 'hidden') {
97 96
                     serialized[field.name] = trim(field.value);
98 97
                 }

+ 2 - 2
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG03010.js

@@ -316,8 +316,8 @@ let mobContentObj = {
316 316
 			popup: function() {
317 317
 				// 결제 팝업 결과
318 318
 				var popFn = function(rowDataPop) {
319
-					console.log(JSON.stringify(rowDataPop));
320
-					listObj.grid.search();
319
+					console.log('rowDataPop : ' + JSON.stringify(rowDataPop));
320
+					mobContentObj.list.search();
321 321
 				};
322 322
 				// 결제 팝업
323 323
 				// 결제타입코드 : 10(선불(충전)), 20(후불(결제)), 30(후불(선결제))

+ 4 - 4
src/main/webapp/mobile/js/app/popup/biz/ITP_BIZPOP_PO_PAYMENT.js

@@ -274,13 +274,13 @@ function f_mobile_cert() {
274 274
     
275 275
     /*  주문정보 확인 */
276 276
     if( !frm_pay.sp_order_no.value ) {
277
-        alert("브랜드그룹주문번호가 존재하지않습니다.");
277
+		itp_fn_modal_alert("브랜드그룹주문번호가 존재하지않습니다.");
278 278
         frm_pay.sp_order_no.focus();
279 279
         return;
280 280
     }
281 281
 
282 282
     if( !frm_pay.sp_product_amt.value ) {
283
-        alert("상품금액이 존재하지않습니다.");
283
+		itp_fn_modal_alert("상품금액이 존재하지않습니다.");
284 284
         frm_pay.sp_product_amt.focus();
285 285
         return;
286 286
     }
@@ -325,13 +325,13 @@ function f_moblie_submit() {
325 325
 		
326 326
 	fn_ajax_call(EASYPAY_PAYMENT_REQUEST, JSON.stringify(param), function(result) {
327 327
 		
328
-		// console.log("RES : " + JSON.stringify(result));
328
+		console.log("RES : " + JSON.stringify(result));
329 329
 		
330 330
 		if(result.res_cd == '0000') {
331 331
 			popPageObj.parentPopFn(result);			
332 332
 			$('#ITP_BIZPOP_PO_PAYMENT').modal('hide'); // 팝업닫기
333 333
 		} else {
334
-			alert(result.res_msg);
334
+			itp_fn_modal_alert(result.res_msg);
335 335
 		}
336 336
 		
337 337
 	}, 'POST');