添加商家入驻页面 商家分类信息
This commit is contained in:
parent
414ea79463
commit
6bfda4993e
@ -49,7 +49,7 @@
|
|||||||
<view class="row">
|
<view class="row">
|
||||||
<view class="row_label">商家分类</view>
|
<view class="row_label">商家分类</view>
|
||||||
<view class="row_con" @click="chooseClassify">
|
<view class="row_con" @click="chooseClassify">
|
||||||
<input type="text" disabled v-model="confirmClassify.short_name" placeholder="请选择商家分类">
|
<input type="text" disabled v-model="confirmClassify.cate_name" placeholder="请选择商家分类">
|
||||||
<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
|
<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -115,7 +115,7 @@
|
|||||||
@cancel="cancelCity"></u-picker>
|
@cancel="cancelCity"></u-picker>
|
||||||
<u-picker :show="show3" :columns="[buss]" keyName="short_name" @confirm="clickBuss"
|
<u-picker :show="show3" :columns="[buss]" keyName="short_name" @confirm="clickBuss"
|
||||||
@cancel="cancelBuss"></u-picker>
|
@cancel="cancelBuss"></u-picker>
|
||||||
<u-picker :show="show4" :columns="[classify]" keyName="short_name" @confirm="clickClassify"
|
<u-picker :show="show4" :columns="[classify]" keyName="cate_name" @confirm="clickClassify"
|
||||||
@cancel="cancelClassify"></u-picker>
|
@cancel="cancelClassify"></u-picker>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -301,7 +301,7 @@ export default {
|
|||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!that.confirmClassify.ad_code) {
|
if (!that.confirmClassify.id) {
|
||||||
return uni.showToast({
|
return uni.showToast({
|
||||||
title: '请选择商家分类',
|
title: '请选择商家分类',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
@ -327,7 +327,7 @@ export default {
|
|||||||
facade_photo,
|
facade_photo,
|
||||||
interior_photo,
|
interior_photo,
|
||||||
license_photo,
|
license_photo,
|
||||||
classify_code: that.confirmClassify.ad_code,
|
merchant_cate_id: that.confirmClassify.id,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
that.contact_name = ''
|
that.contact_name = ''
|
||||||
that.contact_phone = ''
|
that.contact_phone = ''
|
||||||
@ -370,20 +370,9 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getClassify(e) {
|
getClassify(e) {
|
||||||
this.classify = [
|
request(apiArr.getMerChantCateList, "POST", {}).then(res => {
|
||||||
{
|
this.classify = res.rows
|
||||||
ad_code: "1",
|
})
|
||||||
short_name: "111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
ad_code: "2",
|
|
||||||
short_name: "222"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
ad_code: "3",
|
|
||||||
short_name: "333"
|
|
||||||
},
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user