mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 17:40:13 +08:00
修改
This commit is contained in:
@@ -850,12 +850,16 @@ export default {
|
||||
submitDialogForm(dialogForm){
|
||||
this.$refs[dialogForm].validate((valid) =>{
|
||||
if (valid) {
|
||||
if(!this.idCardList[0] || !this.sideCardList[0] || !this.depositBankList[0] ||!this.businessList[0]){
|
||||
return this.$message.warning('请上传图片')
|
||||
} else{
|
||||
this.dialogForm.imgList = [this.idCardList[0].url,this.sideCardList[0].url,this.depositBankList[0].url,this.businessList[0].url]
|
||||
console.log(this.dialogForm,'this.dialogForm')
|
||||
console.log(valid,dialogForm)
|
||||
if (this.dialogForm.bankAcctType === '1'){
|
||||
if(!this.idCardList[0] || !this.sideCardList[0] || !this.depositBankList[0] ||!this.businessList[0]){
|
||||
return this.$message.warning('请上传图片')
|
||||
} else{
|
||||
this.dialogForm.imgList = [this.idCardList[0].url,this.sideCardList[0].url,this.depositBankList[0].url,this.businessList[0].url]
|
||||
}
|
||||
console.log(this.dialogForm.imgList.length,'this.dialogForm.imgList')
|
||||
}
|
||||
console.log(this.dialogForm.imgList.length,'this.dialogForm.imgList')
|
||||
createSettleAccount(this.dialogForm).then((response) =>{
|
||||
console.log('新增',response);
|
||||
this.$message.success('新增成功')
|
||||
|
||||
Reference in New Issue
Block a user