diff --git a/src/views/index/supplierAdd.vue b/src/views/index/supplierAdd.vue index 668151c9..a8741a4c 100644 --- a/src/views/index/supplierAdd.vue +++ b/src/views/index/supplierAdd.vue @@ -219,13 +219,14 @@ this.$toast('服务区域不能为空') return } - if( !this.id ) { + if(!this.wechatId) { await this.QrCodeResult(); if( !this.wechatId ) { this.$toast('请先添加企微再申请') return } } + if( this.$refs.tree.getCheckedKeys().length > 0 ) { await this.saveHandler() } else {