添加游戏充值商户后台代码

This commit is contained in:
kongyuebin
2021-05-16 15:21:52 +08:00
parent a56fa52493
commit 8bd7067c2f
35 changed files with 1921 additions and 246 deletions

View File

@@ -77,7 +77,7 @@
<thead class="thead-dark">
<tr>
<th>序列号</th>
<th>户名称</th>
<th>户名称(UID)</th>
<th>银行名称</th>
<th>银行编码</th>
<th>对账卡类型</th>
@@ -121,8 +121,9 @@
<div class="col-md-4">
<input type="hidden" value="" class="bank-card-uid">
<div>
<span>户名称</span>
<input type="text" value="" class="user-name">
<span>户名称</span>
<select name="" class="user-name" id="select-self-name">
</select>
</div>
<div>
<span>银行编码</span>
@@ -442,6 +443,27 @@
}
});
});
function setAccount() {
$.ajax({
url: "/get/all/account",
success: function (res) {
if (res.Code == 404) {
window.parent.location = "/login.html";
} else {
let str = '<option value="' + "" + '">' + "请选择" + '</option>';
for (let i = 0; i < res.AccountList.length; i ++) {
let account = res.AccountList[i];
str = str + '<option value="' + account.AccountUid + '">' + account.AccountName + '</option>';
}
$("#select-self-name").html(str);
}
}
});
}
$(function () {
setAccount();
});
</script>
</body>
</html>