联行号位数处理

This commit is contained in:
mengxiaolong
2020-11-19 21:26:37 +08:00
parent b9a6d9d21f
commit f3923bb8e4

View File

@@ -475,7 +475,7 @@ export default {
const [province, city] = [...area] const [province, city] = [...area]
this.userInfo.bankAddress = `${province.name}-${city.name}` this.userInfo.bankAddress = `${province.name}-${city.name}`
this.userInfo.bankProvince = province.code this.userInfo.bankProvince = province.code
this.userInfo.bankCity = city.code this.userInfo.bankCity = city.code.slice(0, 4)
this.areaName = this.userInfo.bankAddress this.areaName = this.userInfo.bankAddress
this.areaShow = false this.areaShow = false
this.queryBankJoints() this.queryBankJoints()
@@ -483,7 +483,7 @@ export default {
async queryBankJoints() { async queryBankJoints() {
let param = { let param = {
bankcode: this.code, bankcode: this.code,
citycode: this.userInfo.bankCity.slice(0, 4) citycode: this.userInfo.bankCity
} }
this.bankJointsList.splice(0) this.bankJointsList.splice(0)
let res = await getBankJoints(param) let res = await getBankJoints(param)