Feat:入驻新增营业执照名称
This commit is contained in:
@@ -36,6 +36,21 @@
|
||||
</template>
|
||||
</u-cell>
|
||||
</u-form-item>
|
||||
<u-form-item prop="businessLicense">
|
||||
<u-cell title="营业执照名称" :border="false">
|
||||
<template #icon>
|
||||
<text class="required">*</text>
|
||||
</template>
|
||||
<template #value>
|
||||
<u-input
|
||||
v-model="formSupplier.businessLicense"
|
||||
:disabled="reviewing"
|
||||
border="none"
|
||||
placeholder="请填写营业执照名称"
|
||||
/>
|
||||
</template>
|
||||
</u-cell>
|
||||
</u-form-item>
|
||||
<u-form-item prop="avatar">
|
||||
<u-cell title="头像" :border="false">
|
||||
<template #label>
|
||||
@@ -769,6 +784,7 @@ export default {
|
||||
}
|
||||
this.formSupplier = !this.reviewing && local || {
|
||||
name: '',
|
||||
businessLicense: '',
|
||||
avatar: '',
|
||||
contact: '',
|
||||
phone: '',
|
||||
|
||||
@@ -21,6 +21,22 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="form-item v12-mt-2">
|
||||
<view class="title">
|
||||
<text class="required">* </text>
|
||||
营业执照名称:
|
||||
</view>
|
||||
<view class="input">
|
||||
<u-textarea
|
||||
border="none"
|
||||
:disabled="form.isDraft === 0 && (form.reviewStatus === 0 || form.reviewStatus === 1)"
|
||||
placeholder="请输入营业执照名称"
|
||||
:placeholder-style="inputPlaceholderStyle"
|
||||
v-model="form.businessLicense"
|
||||
autoHeight
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="form-item v12-mt-2 v12-d-flex v12-justify-start">
|
||||
<view>
|
||||
<view class="title">
|
||||
@@ -580,6 +596,10 @@ export default {
|
||||
uni.$u.toast('请输入名称')
|
||||
return
|
||||
}
|
||||
if (!this.form.businessLicense) {
|
||||
uni.$u.toast('请输入营业执照名称')
|
||||
return
|
||||
}
|
||||
if (!this.form.cover) {
|
||||
uni.$u.toast('请上传主图')
|
||||
return
|
||||
|
||||
@@ -265,6 +265,12 @@ export default {
|
||||
message: '请填写批发商名称',
|
||||
trigger: ['blur', 'change']
|
||||
},
|
||||
'businessLicense': {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请填写营业执照名称',
|
||||
trigger: ['blur', 'change']
|
||||
},
|
||||
'contact': {
|
||||
type: 'string',
|
||||
required: true,
|
||||
|
||||
Reference in New Issue
Block a user