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