【津贴模块,津贴申请和我的资料增加开户银行支行字段】开户银行支行模糊搜索功能

This commit is contained in:
li.yuetong
2022-08-16 16:24:16 +08:00
parent 7df9f3b4d9
commit 2f8b59b220
3 changed files with 12 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ export default {
inputvalue(val) { inputvalue(val) {
if (val) { if (val) {
this.bankList = this.bankList.filter(item => { this.bankList = this.bankList.filter(item => {
return item.bankName.indexOf(val) != -1 return item.bankBranchName.indexOf(val) != -1
}) })
} else { } else {
this.bankList = this.bankList1 this.bankList = this.bankList1

View File

@@ -48,6 +48,7 @@
<van-collapse-item title="账户信息" class="main-title" name="accountInfo"> <van-collapse-item title="账户信息" class="main-title" name="accountInfo">
<van-cell title="开户银行省市" :value="areaStr" :border="border" /> <van-cell title="开户银行省市" :value="areaStr" :border="border" />
<van-cell title="开户银行" :value="allowanceBankDTO.bankName" :border="border" /> <van-cell title="开户银行" :value="allowanceBankDTO.bankName" :border="border" />
<van-cell title="开户银行支行" :value="allowanceBankDTO.bankBranchName" :border="border" />
<van-cell title="银行卡号" :value="allowanceBankDTO.bankCardNo" :border="border" /> <van-cell title="银行卡号" :value="allowanceBankDTO.bankCardNo" :border="border" />
<van-cell title="手机号码" :value="allowanceBankDTO.mobile" :border="border" /> <van-cell title="手机号码" :value="allowanceBankDTO.mobile" :border="border" />
</van-collapse-item> </van-collapse-item>

View File

@@ -375,16 +375,16 @@ export default {
//不符合条件时阻断toast提示触发按钮包括“津贴申请列表-未审批”【编辑】、“津贴申请列表-审批通过”【再次申请】、【点击申请】 //不符合条件时阻断toast提示触发按钮包括“津贴申请列表-未审批”【编辑】、“津贴申请列表-审批通过”【再次申请】、【点击申请】
async isConditionsFunc(type, order) { async isConditionsFunc(type, order) {
// type 0点击申请 1编辑 2再次申请 // type 0点击申请 1编辑 2再次申请
const res = await allowanceCheck({}) // const res = await allowanceCheck({})
if (res.result == '1') { // if (res.result == '1') {
Toast({ // Toast({
className: 'textLeft', // className: 'textLeft',
duration: 3000, // 持续展示 toast // duration: 3000, // 持续展示 toast
forbidClick: true, // forbidClick: true,
message: res.resultMessage // message: res.resultMessage
}) // })
return // return
} // }
if (type == 0) { if (type == 0) {
this.applicationFunc() this.applicationFunc()