|
@@ -93,7 +93,7 @@
|
|
|
<el-input :disabled="!canEdit" v-model="enterpriseForm.legalPersonName"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="性别" prop="gender" required>
|
|
|
+ <el-form-item label="性别" prop="gender">
|
|
|
<el-radio-group v-model="enterpriseForm.gender" :disabled="!canEdit">
|
|
|
<el-radio label="男"></el-radio>
|
|
|
<el-radio label="女"></el-radio>
|
|
@@ -182,7 +182,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="enterprise-btn-wrapper">
|
|
|
- <button class="enterprise-btn previousBtn" style="cursor: pointer" @click="active--" v-if="active>0">上一步</button>
|
|
|
+ <button class="enterprise-btn previousBtn" style="cursor: pointer" @click="preStep" v-if="active>0">上一步</button>
|
|
|
<button class="enterprise-btn nextBtn" style="cursor: pointer" @click="nextStep" v-if="active===0">下一步</button>
|
|
|
<button class="enterprise-btn nextBtn" style="cursor: pointer" @click="submitEnterpriseAuth"
|
|
|
v-if="active===1 && authType === 0">提交审核
|
|
@@ -261,6 +261,10 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ preStep() {
|
|
|
+ this.$refs['enterpriseForm'].clearValidate();
|
|
|
+ this.active --;
|
|
|
+ },
|
|
|
nextStep() {
|
|
|
this.$refs['enterpriseForm1'].validate(valid => {
|
|
|
if (!valid) {
|