|
|
@@ -40,13 +40,13 @@
|
|
|
@blur.native.capture="validateSpaceName"></mt-field>
|
|
|
</div>
|
|
|
<div class="page-part">
|
|
|
- <mt-field placeholder="营业护照号"
|
|
|
+ <mt-field placeholder="营业执照号"
|
|
|
v-model="step2.businessCode"
|
|
|
:state="state.businessCode"
|
|
|
@blur.native.capture="validateBusinessCode"></mt-field>
|
|
|
</div>
|
|
|
<div class="page-part" v-if="!hasRegister">
|
|
|
- <mt-field placeholder="管理员号码"
|
|
|
+ <mt-field placeholder="管理员姓名"
|
|
|
v-model="step2.vipName"
|
|
|
:state="state.vipName"
|
|
|
@blur.native.capture="validateVipName"></mt-field>
|
|
|
@@ -413,30 +413,30 @@
|
|
|
// 企业注册
|
|
|
sureRegister () {
|
|
|
if (!this.hasRegister) {
|
|
|
- if (!this.state.spaceName === 'success' &&
|
|
|
- !this.state.businessCode === 'success' &&
|
|
|
- !this.state.vipName === 'success' &&
|
|
|
- !this.state.password === 'success' &&
|
|
|
- !this.state.confirm === 'success' &&
|
|
|
- !this.state.email === 'success') {
|
|
|
+ if (this.state.spaceName !== 'success' &&
|
|
|
+ this.state.businessCode !== 'success' &&
|
|
|
+ this.state.vipName !== 'success' &&
|
|
|
+ this.state.password !== 'success' &&
|
|
|
+ this.state.confirm !== 'success' &&
|
|
|
+ this.state.email !== 'success') {
|
|
|
this.downToast('请确认填写部分是否有误')
|
|
|
} else {
|
|
|
this.sbmitRegister()
|
|
|
}
|
|
|
} else {
|
|
|
if (!this.hasEmail) {
|
|
|
- if (!this.state.spaceName === 'success' &&
|
|
|
- !this.state.businessCode === 'success' &&
|
|
|
- !this.state.password === 'success' &&
|
|
|
- !this.state.email === 'success') {
|
|
|
+ if (this.state.spaceName !== 'success' &&
|
|
|
+ this.state.businessCode !== 'success' &&
|
|
|
+ this.state.password !== 'success' &&
|
|
|
+ this.state.email !== 'success') {
|
|
|
this.downToast('请确认填写部分是否有误')
|
|
|
} else {
|
|
|
this.sbmitRegister()
|
|
|
}
|
|
|
} else {
|
|
|
- if (!this.state.spaceName === 'success' &&
|
|
|
- !this.state.businessCode === 'success' &&
|
|
|
- !this.state.password === 'success') {
|
|
|
+ if (this.state.spaceName !== 'success' &&
|
|
|
+ this.state.businessCode !== 'success' &&
|
|
|
+ this.state.password !== 'success') {
|
|
|
this.downToast('请确认填写部分是否有误')
|
|
|
} else {
|
|
|
this.sbmitRegister()
|