This commit is contained in:
shjang 2022-08-03 09:57:20 +00:00
parent 2b497989b4
commit 652432f917
1 changed files with 4 additions and 5 deletions

View File

@ -177,7 +177,6 @@
});
function save() {
if ($("#becmisno").val() == '') { return;}
var isCompanyInfo = true;
$.each(model.pplog, function (key, value) {
if (!value && key != "address2") {
@ -210,8 +209,7 @@
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);