|  |  |  | 
|---|
|  |  |  | <el-form-item label="认证邮箱" prop="email" > | 
|---|
|  |  |  | <el-input v-model="form.email" placeholder="请输入" v-trim/> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="纳税人识别号" prop="taxCode"> | 
|---|
|  |  |  | <!--            <el-form-item label="纳税人识别号" prop="taxCode"> | 
|---|
|  |  |  | <el-input v-model="form.taxCode" placeholder="请输入" v-trim/> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="银行账号" prop="taxAccount"> | 
|---|
|  |  |  | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="纸质发票接收地址" prop="invoiceAddr"> | 
|---|
|  |  |  | <el-input v-model="form.invoiceAddr" placeholder="请输入" v-trim/> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | </el-form-item>--> | 
|---|
|  |  |  | <el-form-item label="营业执照" prop="businessImg"> | 
|---|
|  |  |  | <div style="width: 100%; height: 100px; display: flex; align-items: center;"> | 
|---|
|  |  |  | <UploadAvatarImage :uploadData="{ folder: 'company' }" :file="form.file" @uploadSuccess="result" /> | 
|---|
|  |  |  | 
|---|
|  |  |  | fileurl: '', | 
|---|
|  |  |  | name: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | idcardImgList: [], | 
|---|
|  |  |  | idcardImgList: [{},{}], | 
|---|
|  |  |  | signImg: { | 
|---|
|  |  |  | fileurl: '', | 
|---|
|  |  |  | name: '' | 
|---|
|  |  |  | 
|---|
|  |  |  | open (title, target, type) { | 
|---|
|  |  |  | this.title = title | 
|---|
|  |  |  | this.visible = true | 
|---|
|  |  |  | this.form = this.initParam | 
|---|
|  |  |  | this.clearFrom() | 
|---|
|  |  |  | console.log(this.form) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | this.getAll() | 
|---|
|  |  |  | // 新建 | 
|---|
|  |  |  | if (target == null) { | 
|---|
|  |  |  | this.$nextTick(() => { | 
|---|
|  |  |  | this.$refs.form.resetFields() | 
|---|
|  |  |  | // this.$refs.form.resetFields() | 
|---|
|  |  |  | this.form[this.configData['field.id']] = null | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | return | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | clearFrom(){ | 
|---|
|  |  |  | this.form ={ | 
|---|
|  |  |  | id: null, | 
|---|
|  |  |  | name: '', | 
|---|
|  |  |  | code: '', | 
|---|
|  |  |  | legalName: '', | 
|---|
|  |  |  | taxCode: '', | 
|---|
|  |  |  | taxAccount: '', | 
|---|
|  |  |  | username: '', | 
|---|
|  |  |  | taxBank: '', | 
|---|
|  |  |  | taxAddr: '', | 
|---|
|  |  |  | invoiceEmail: '', | 
|---|
|  |  |  | invoiceAddr: '', | 
|---|
|  |  |  | phone: '', | 
|---|
|  |  |  | email: '', | 
|---|
|  |  |  | type: 1, | 
|---|
|  |  |  | actionType: 0, | 
|---|
|  |  |  | captche: '', | 
|---|
|  |  |  | businessImg: { | 
|---|
|  |  |  | fileurl: '', | 
|---|
|  |  |  | name: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | idcardImgList: [{},{}], | 
|---|
|  |  |  | signImg: { | 
|---|
|  |  |  | fileurl: '', | 
|---|
|  |  |  | name: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | solutionList: [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | solution: null, | 
|---|
|  |  |  | canAdd: 0, | 
|---|
|  |  |  | canReduce: 0 | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | file: { | 
|---|
|  |  |  | imgurl: '', | 
|---|
|  |  |  | imgurlfull: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | file1: { | 
|---|
|  |  |  | imgurl: '', | 
|---|
|  |  |  | imgurlfull: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | file2: { | 
|---|
|  |  |  | imgurl: '', | 
|---|
|  |  |  | imgurlfull: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | file3: { | 
|---|
|  |  |  | imgurl: '', | 
|---|
|  |  |  | imgurlfull: '' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 获取全部方案 | 
|---|
|  |  |  | getAll () { | 
|---|
|  |  |  | all({}) | 
|---|