| | |
| | | <image class="agree-icon" :src="agreed ? '/static/icon/ic_accept_sel@2x.png' : '/static/icon/ic_accept@2x.png'" mode="aspectFit" @tap="agreed = !agreed"></image> |
| | | <view class="agreement-text-wrap"> |
| | | <text class="agreement-text">我已阅读并同意</text> |
| | | <text class="agreement-link" @click="goToService(5)">《风险承诺》</text> |
| | | <text class="agreement-link" @click="goToService(6)">《风险承诺》</text> |
| | | <text class="agreement-text">、</text> |
| | | <text class="agreement-link" @click="goToService(6)">《行李寄存须知》</text> |
| | | <text class="agreement-link" @click="goToService(7)">《行李寄存须知》</text> |
| | | <text class="agreement-text">及</text> |
| | | <text class="agreement-link" @click="goToService(7)">《代理点合作协议》</text> |
| | | <text class="agreement-link" @click="goToService(8)">《代理点合作协议》</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | uni.showToast({ title: '请输入联系人电话', icon: 'none' }) |
| | | return |
| | | } |
| | | const mobileRegex = /^1\d{10}$/ |
| | | if (!mobileRegex.test(this.form.linkPhone)) { |
| | | uni.showToast({ title: '请输入正确的手机号', icon: 'none' }) |
| | | return |
| | | } |
| | | if (!this.form.idcard) { |
| | | uni.showToast({ title: '请输入联系人身份证号', icon: 'none' }) |
| | | return |
| | | } |
| | | if (!/^\d{18}$/.test(this.form.idcard)) { |
| | | uni.showToast({ title: '请输入18位身份证号', icon: 'none' }) |
| | | return |
| | | } |
| | | if (!this.form.storeFrontImgs || this.form.storeFrontImgs.length === 0) { |
| | |
| | | uni.showToast({ title: '请输入法人手机号', icon: 'none' }) |
| | | return |
| | | } |
| | | const mobileRegex = /^1\d{10}$/ |
| | | const landlineRegex = /^\d{3,4}-?\d{7,8}$/ |
| | | if (!mobileRegex.test(this.form.legalPersonPhone) && !landlineRegex.test(this.form.legalPersonPhone)) { |
| | | uni.showToast({ title: '请输入正确的手机号或固定电话', icon: 'none' }) |
| | | return |
| | | } |
| | | if (!this.form.aliAccount) { |
| | | uni.showToast({ title: '请输入企业支付宝账号', icon: 'none' }) |
| | | return |
| | |
| | | uni.showToast({ title: '请输入法人身份证号', icon: 'none' }) |
| | | return |
| | | } |
| | | if (!/^\d{18}$/.test(this.form.legalPersonCard)) { |
| | | uni.showToast({ title: '请输入18位身份证号', icon: 'none' }) |
| | | return |
| | | } |
| | | if (!this.form.idcardImg) { |
| | | uni.showToast({ title: '请上传法人身份证人像面', icon: 'none' }) |
| | | return |