diff --git a/boss/views/bank_card.html b/boss/views/bank_card.html index d2c2e5e..dcbf8c2 100644 --- a/boss/views/bank_card.html +++ b/boss/views/bank_card.html @@ -77,7 +77,7 @@ 序列号 - 用户名称 + 商户名称(UID) 银行名称 银行编码 对账卡类型 @@ -121,8 +121,9 @@ - 用户名称: - + 商户名称: + + 银行编码: @@ -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 = '' + "请选择" + ''; + for (let i = 0; i < res.AccountList.length; i ++) { + let account = res.AccountList[i]; + str = str + '' + account.AccountName + ''; + } + $("#select-self-name").html(str); + } + } + }); + } + $(function () { + setAccount(); + });