|
|
|
@ -13,7 +13,8 @@ |
|
|
|
|
<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> |
|
|
|
@ -419,6 +420,15 @@ export default { |
|
|
|
|
.then(res => { |
|
|
|
|
if (res.status) { |
|
|
|
|
this.popShow = true |
|
|
|
|
} else { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '入驻失败', |
|
|
|
|
icon: 'none', |
|
|
|
|
duration: 2000 |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.finally(() => { |
|
|
|
|
this.form = this.$options.data().form |
|
|
|
|
this.send_name = '' |
|
|
|
|
this.factory_name = '' |
|
|
|
@ -427,15 +437,7 @@ export default { |
|
|
|
|
this.btnList.map(item => { |
|
|
|
|
item.active = false |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '入驻失败', |
|
|
|
|
icon: 'none', |
|
|
|
|
duration: 2000 |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.finally() |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|