mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-21 18:35:53 +08:00
修改bug,更改字体图标
This commit is contained in:
@@ -9,18 +9,18 @@
|
||||
placeholder="请填写公司信息"
|
||||
/>
|
||||
</FormItem>
|
||||
<FormItem prop="addressIdPath" label="公司所在地">
|
||||
<!-- <Input type="text" v-model="form.addressIdPath" placeholder="请选择公司所在地" /> -->
|
||||
<FormItem prop="storeAddressIdPath" label="公司所在地">
|
||||
<!-- <Input type="text" v-model="form.storeAddressIdPath" placeholder="请选择公司所在地" /> -->
|
||||
<region
|
||||
style="width: 250px"
|
||||
@selected="selectedRegion"
|
||||
:addressId="address"
|
||||
/>
|
||||
</FormItem>
|
||||
<FormItem prop="companyAddress" label="公司详细地址">
|
||||
<FormItem prop="storeAddressDetail" label="公司详细地址">
|
||||
<Input
|
||||
type="text"
|
||||
v-model="form.companyAddress"
|
||||
v-model="form.storeAddressDetail"
|
||||
placeholder="请填写公司详细信息"
|
||||
/>
|
||||
</FormItem>
|
||||
@@ -211,8 +211,8 @@ export default {
|
||||
},
|
||||
rules: { // 验证规则
|
||||
companyName: [{ required: true, message: '请填写公司信息' }],
|
||||
addressIdPath: [{ required: true, message: '请选择公司所在地' }],
|
||||
companyAddress: [{ required: true, message: '请填写公司详细地址' }],
|
||||
storeAddressIdPath: [{ required: true, message: '请选择公司所在地' }],
|
||||
storeAddressDetail: [{ required: true, message: '请填写公司详细地址' }],
|
||||
employeeNum: [
|
||||
{ required: true, message: '请填写公司员工总数' },
|
||||
{ pattern: RegExp.integer, message: '只能填写正整数' }
|
||||
@@ -270,18 +270,26 @@ export default {
|
||||
},
|
||||
selectedRegion (item) {
|
||||
// 地址选择回显
|
||||
this.$set(this.form, 'addressIdPath', item[0].toString());
|
||||
this.$set(this.form, 'storeAddressIdPath', item[0].toString());
|
||||
this.$set(
|
||||
this.form,
|
||||
'addressPath',
|
||||
'companyAddressPath',
|
||||
item[1].toString().replace(/\s/g, '')
|
||||
);
|
||||
},
|
||||
beforeUpload () {
|
||||
this.uploadLoading = true;
|
||||
if (this.form.licencePhoto.length >= 3) {
|
||||
this.$Message.warning('最多上传三张图片')
|
||||
return false;
|
||||
}
|
||||
},
|
||||
beforeUpload1 () {
|
||||
this.uploadLoading1 = true;
|
||||
if (this.form.legalPhoto.length >= 3) {
|
||||
this.$Message.warning('最多上传三张图片')
|
||||
return false;
|
||||
}
|
||||
},
|
||||
handleSuccess (res, file) {
|
||||
this.uploadLoading = false;
|
||||
@@ -328,7 +336,7 @@ export default {
|
||||
if (this.form.licencePhoto) {
|
||||
this.form.legalPhoto = this.content.legalPhoto.split(',');
|
||||
this.form.licencePhoto = this.content.licencePhoto.split(',');
|
||||
this.address = this.form.addressIdPath;
|
||||
this.address = this.form.storeAddressIdPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,13 +28,13 @@
|
||||
></third-apply>
|
||||
|
||||
<div class="success-page" v-if="currentIndex == 3">
|
||||
<span v-if="storeDisable == '' || storeDisable == 'APPLYING'"
|
||||
>入驻申请提交成功,等待平台审核</span
|
||||
>
|
||||
<span v-if="storeDisable == '' || storeDisable == 'APPLYING'">入驻申请提交成功,等待平台审核</span>
|
||||
<span v-if="storeDisable == 'OPEN'">申请已通过,请联系管理员</span>
|
||||
<span v-if="storeDisable == 'CLOSED'">店铺已关闭,重申请联系管理员</span>
|
||||
<span v-if="storeDisable == 'REFUSED'">审核未通过,请修改资质信息,如有疑问请联系管理员</span>
|
||||
</div>
|
||||
<Button v-if="currentIndex == 3" @click="$router.push('/')">返回</Button>
|
||||
<Button v-if="currentIndex === 3" @click="$router.push('/')">返回</Button>
|
||||
<Button type="primary" @click='currentIndex = 0' v-if="storeDisable === 'REFUSED' && currentIndex === 3">重新申请</Button>
|
||||
</div>
|
||||
|
||||
<Modal
|
||||
|
||||
@@ -145,6 +145,7 @@ export default {
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
if (res.success) this.$emit('change', 3);
|
||||
this.$parent.getData()
|
||||
})
|
||||
.catch(() => {
|
||||
this.loading = false;
|
||||
@@ -156,6 +157,10 @@ export default {
|
||||
},
|
||||
beforeUpload () {
|
||||
this.uploadLoading = true;
|
||||
if (this.form.storeLogo.length >= 3) {
|
||||
this.$Message.warning('最多上传三张图片')
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
handleSuccess (res, file) {
|
||||
|
||||
Reference in New Issue
Block a user