diff --git a/jsowell-ui/src/views/pile/merchant/components/adapayMember.vue b/jsowell-ui/src/views/pile/merchant/components/adapayMember.vue index 72eafb752..77c709f14 100644 --- a/jsowell-ui/src/views/pile/merchant/components/adapayMember.vue +++ b/jsowell-ui/src/views/pile/merchant/components/adapayMember.vue @@ -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('新增成功')