|
|
|
@ -10,10 +10,11 @@ |
|
|
|
|
<u-form-item label="*主体公司名称 "> |
|
|
|
|
<u-input border placeholder="请输入贵公司名称" v-model="form.store_name" /> |
|
|
|
|
</u-form-item> |
|
|
|
|
<u-form-item label="*主营类目" @click="categoryShow = true"> |
|
|
|
|
<u-form-item label="*主营类目" @click="categoryShow = true"> |
|
|
|
|
<u-input border v-model="form.store_cat" placeholder="请选择主营类目" type="select" |
|
|
|
|
@click="categoryShow = true" /> |
|
|
|
|
<u-picker :range="categoryList" range-key="text" @confirm="actionSheetCallback(1, $event)" v-model="categoryShow" mode="selector"></u-picker> |
|
|
|
|
<u-picker :range="categoryList" range-key="text" @confirm="actionSheetCallback(1, $event)" |
|
|
|
|
v-model="categoryShow" mode="selector"></u-picker> |
|
|
|
|
<!-- <u-action-sheet style="height: 200rpx;" :list="categoryList" :cancel-btn="false" |
|
|
|
|
v-model="categoryShow" @click="actionSheetCallback(1, $event)"></u-action-sheet> --> |
|
|
|
|
</u-form-item> |
|
|
|
@ -145,7 +146,7 @@ export default { |
|
|
|
|
shop_name: '', |
|
|
|
|
offline_name: '', |
|
|
|
|
factory_name: '', |
|
|
|
|
send_name: '', |
|
|
|
|
send_name: '', |
|
|
|
|
form: { |
|
|
|
|
store_name: '', |
|
|
|
|
store_cat: '', |
|
|
|
@ -419,14 +420,6 @@ export default { |
|
|
|
|
.then(res => { |
|
|
|
|
if (res.status) { |
|
|
|
|
this.popShow = true |
|
|
|
|
this.form = this.$options.data().form |
|
|
|
|
this.send_name = '' |
|
|
|
|
this.factory_name = '' |
|
|
|
|
this.offline_name = '' |
|
|
|
|
this.shop_name = '' |
|
|
|
|
this.btnList.map(item => { |
|
|
|
|
item.active = false |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '入驻失败', |
|
|
|
@ -435,7 +428,16 @@ export default { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.finally() |
|
|
|
|
.finally(() => { |
|
|
|
|
this.form = this.$options.data().form |
|
|
|
|
this.send_name = '' |
|
|
|
|
this.factory_name = '' |
|
|
|
|
this.offline_name = '' |
|
|
|
|
this.shop_name = '' |
|
|
|
|
this.btnList.map(item => { |
|
|
|
|
item.active = false |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|