|
@@ -123,17 +123,17 @@
|
|
|
watch: {},
|
|
|
data() {
|
|
|
return {
|
|
|
- imageUrl1: "",
|
|
|
- imageUrl2: "",
|
|
|
- imageUrl3: "",
|
|
|
- imageUrl4: "",
|
|
|
+ imageUrl1: '',
|
|
|
+ imageUrl2: '',
|
|
|
+ imageUrl3: '',
|
|
|
+ imageUrl4: '',
|
|
|
dialogImageUrl: '',
|
|
|
dialogVisible: false,
|
|
|
customerList: {
|
|
|
- customerName: "",
|
|
|
- customerNumberCard: "",
|
|
|
- bankCard: "",
|
|
|
- bankDeposit: "",
|
|
|
+ customerName: '',
|
|
|
+ customerNumberCard: '',
|
|
|
+ bankCard: '',
|
|
|
+ bankDeposit: '',
|
|
|
},
|
|
|
disabledFlag: true,
|
|
|
disabled: false,
|
|
@@ -159,20 +159,20 @@
|
|
|
bankLows: 'bankLow',
|
|
|
sendText: '60S后重发',
|
|
|
sendDisabled: false,
|
|
|
- verifyCode: "",
|
|
|
+ verifyCode: '',
|
|
|
bankList:[],
|
|
|
bankInput:false,
|
|
|
- bankText:"手动填写"
|
|
|
+ bankText:'手动填写'
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
|
this.switchType = this.$route.query.types
|
|
|
if (this.$route.query.types == null) {
|
|
|
this.switchType = 1
|
|
|
- this.imageUrl1 = ""
|
|
|
- this.imageUrl2 = ""
|
|
|
- this.imageUrl3 = ""
|
|
|
- this.imageUrl4 = ""
|
|
|
+ this.imageUrl1 = ''
|
|
|
+ this.imageUrl2 = ''
|
|
|
+ this.imageUrl3 = ''
|
|
|
+ this.imageUrl4 = ''
|
|
|
this.customerList = {}
|
|
|
}
|
|
|
let id = this.$route.query.id
|
|
@@ -190,10 +190,10 @@
|
|
|
bankInputChange(){
|
|
|
this.bankInput = !this.bankInput
|
|
|
if(this.bankInput){
|
|
|
- this.bankText = "自动识别"
|
|
|
+ this.bankText = '自动识别'
|
|
|
}
|
|
|
else{
|
|
|
- this.bankText = "手动填写"
|
|
|
+ this.bankText = '手动填写'
|
|
|
}
|
|
|
},
|
|
|
handleRemove(file, index) {
|
|
@@ -257,7 +257,7 @@
|
|
|
that.sendText = sec + 'S后重发'
|
|
|
if (sec <= 0) {
|
|
|
that.sendDisabled = false
|
|
|
- that.sendText = "获取验证码"
|
|
|
+ that.sendText = '获取验证码'
|
|
|
clearInterval(interval)
|
|
|
}
|
|
|
}, 1000)
|
|
@@ -269,7 +269,7 @@
|
|
|
},
|
|
|
cancel() {
|
|
|
this.customerList = {}
|
|
|
- this.verifyCode = ""
|
|
|
+ this.verifyCode = ''
|
|
|
this.$router.push({
|
|
|
path: 'customerManagement'
|
|
|
})
|
|
@@ -291,6 +291,9 @@
|
|
|
this.$set( this.customerList,'customerNumberCard',response.recPersonNo)
|
|
|
this.$set( this.customerList,'payeeNumberCard',response.recPersonNo)
|
|
|
}
|
|
|
+ if (response.recPersonAddr ) {
|
|
|
+ this.$set( this.customerList,'compAddress',response.recPersonAddr)
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
upLoadSuccess2(e) {
|
|
@@ -312,6 +315,9 @@
|
|
|
this.$set( this.customerList,'payeeNumberCard',response.recPersonNo)
|
|
|
}
|
|
|
|
|
|
+ if (response.recPersonAddr ) {
|
|
|
+ this.$set( this.customerList,'compAddress',response.recPersonAddr)
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
bankSuccess1(e) {
|
|
@@ -442,7 +448,7 @@
|
|
|
.then((response) => {
|
|
|
this.$message.success('添加成功')
|
|
|
this.customerList = {}
|
|
|
- this.verifyCode = ""
|
|
|
+ this.verifyCode = ''
|
|
|
this.$router.go(-1)
|
|
|
})
|
|
|
})
|
|
@@ -461,7 +467,7 @@
|
|
|
.then((response) => {
|
|
|
this.$message.success('修改成功')
|
|
|
this.customerList = {}
|
|
|
- this.verifyCode = ""
|
|
|
+ this.verifyCode = ''
|
|
|
this.$router.push({
|
|
|
path: 'customerManagement'
|
|
|
})
|