:coding:完成加减款设置

This commit is contained in:
sunxiaolong
2023-11-22 10:39:10 +08:00
parent afb2486cad
commit 14e6caf959
2 changed files with 10 additions and 4 deletions

View File

@@ -132,7 +132,7 @@
</label>
</div>
<div>
<p class="error-msg"></p>
<p class="error-msg" style="color: red"></p>
</div>
</div>
<div class="modal-footer">
@@ -285,8 +285,8 @@
const amount = $("#account-edit-operator-amount").val();
const totpCode = $("#order-info-totp").val();
if (accountUid === "" || accountOperator === "" || amount === "" || totpCode === "") {
$(".error-msg").val("信息填写不完全,请重新填写");
if (accountUid === "" || accountOperator === "" || amount === "") {
$(".error-msg").text("信息填写不完全,请重新填写");
return
}
@@ -303,7 +303,10 @@
window.parent.location = "/login.html";
} else {
alert(res.Msg);
ajaxAccountList({});
if (res.Code === 200) {
$(".cancel-order-solve").click();
ajaxAccountList({});
}
}
}
});