From 652432f917520006478f6b9d25ffa191cc59dedb Mon Sep 17 00:00:00 2001 From: shjang Date: Wed, 3 Aug 2022 09:57:20 +0000 Subject: [PATCH] --- FO/Views/Course/ApplyPay.cshtml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/FO/Views/Course/ApplyPay.cshtml b/FO/Views/Course/ApplyPay.cshtml index 955c4c4..5b53ffb 100644 --- a/FO/Views/Course/ApplyPay.cshtml +++ b/FO/Views/Course/ApplyPay.cshtml @@ -177,7 +177,6 @@ }); function save() { - if ($("#becmisno").val() == '') { return;} var isCompanyInfo = true; $.each(model.pplog, function (key, value) { if (!value && key != "address2") { @@ -206,12 +205,11 @@ /*20220803 수강인원체크*/ function CheckQtyScdResult() { - if (capResult.code == 1000) { + if (capResult.code == 1000) { cap("/fcommon/paystart", "mform", "cbsave"); } else if (capResult.code == 0) { - $("#historyForm").attr("action", "/Course/SmartSearch"); - $("#historyForm").submit(); + msg(capResult.msg, null, null, null, '$("#historyForm").attr("action", "/Course/SmartSearch").submit()'); } else { msgadmin(); @@ -219,7 +217,6 @@ } function cbsave() { - return; if (capResult.code == 1000) { if (capResult.obj == 0) { var resultmsg = capResult.msg; @@ -233,6 +230,8 @@ else { if (capResult.obj.ptype == 6 || capResult.obj.ptype == 7) { location.href = "@Model.viewname4?payno=" + capResult.obj.payno + "&absptype=" + capResult.obj.ptype; + alert(location.href); + return; } else { setv("LGD_OID", capResult.obj.oid2 + capResult.obj.payno);