mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 15:26:45 +08:00
联行号字段名称修改
This commit is contained in:
@@ -139,7 +139,7 @@
|
|||||||
v-validate="'required'"
|
v-validate="'required'"
|
||||||
@click="areaShow = true"
|
@click="areaShow = true"
|
||||||
/>
|
/>
|
||||||
<van-field v-model="bankNum" readonly label="联行号" name="联行号" right-icon="arrow" placeholder="请选择" @click="isBankListShow = true" />
|
<van-field v-model="bankJoint" readonly label="联行号" name="联行号" right-icon="arrow" placeholder="请选择" @click="isBankListShow = true" />
|
||||||
<van-field v-model="userInfo.accountName" label="开户姓名" name="开户姓名" placeholder="请输入" v-validate="'required'" required clearable />
|
<van-field v-model="userInfo.accountName" label="开户姓名" name="开户姓名" placeholder="请输入" v-validate="'required'" required clearable />
|
||||||
<van-field
|
<van-field
|
||||||
v-model="userInfo.bankCode"
|
v-model="userInfo.bankCode"
|
||||||
@@ -354,7 +354,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
bankNum: '',
|
bankJoint: '',
|
||||||
bankChild: [],
|
bankChild: [],
|
||||||
computedBankList: [],
|
computedBankList: [],
|
||||||
isBankListShow: false,
|
isBankListShow: false,
|
||||||
@@ -408,7 +408,7 @@ export default {
|
|||||||
sessionId: '', //后台返回的 id
|
sessionId: '', //后台返回的 id
|
||||||
effectiveDateTypeAble: false, //长期按钮是否禁用
|
effectiveDateTypeAble: false, //长期按钮是否禁用
|
||||||
userInfo: {
|
userInfo: {
|
||||||
bankNum: '',
|
bankJoint: '',
|
||||||
name: '', //姓名
|
name: '', //姓名
|
||||||
sex: '0', //性别
|
sex: '0', //性别
|
||||||
age: '', // 年龄
|
age: '', // 年龄
|
||||||
@@ -474,7 +474,7 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
code: {
|
code: {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
this.bankNum = ''
|
this.bankJoint = ''
|
||||||
let bank = this.bankListJson.find(item => {
|
let bank = this.bankListJson.find(item => {
|
||||||
return item.code === this.code.trim()
|
return item.code === this.code.trim()
|
||||||
})
|
})
|
||||||
@@ -492,11 +492,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setBankNum(bankNum) {
|
setBankNum(bankJoint) {
|
||||||
this.bankNum = bankNum
|
this.bankJoint = bankJoint
|
||||||
for (let name of this.bankChild) {
|
for (let name of this.bankChild) {
|
||||||
if (name.name === bankNum) {
|
if (name.name === bankJoint) {
|
||||||
this.userInfo.bankNum = name.code
|
this.userInfo.bankJoint = name.code
|
||||||
this.isBankListShow = false
|
this.isBankListShow = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -556,10 +556,10 @@ export default {
|
|||||||
this.bankName = getBankName(this.userInfo.bankName)
|
this.bankName = getBankName(this.userInfo.bankName)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.userInfo.bankNum) {
|
if (this.userInfo.bankJoint) {
|
||||||
let bank = getChildBank(this.userInfo.bankName, this.userInfo.bankNum)
|
let bank = getChildBank(this.userInfo.bankName, this.userInfo.bankJoint)
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.bankNum = bank.name
|
this.bankJoint = bank.name
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user