Commit 97e8a0ab authored by youjie's avatar youjie

载体 选项 成都 宜宾

parent ea7ebf3f
......@@ -32,6 +32,19 @@
</uni-section>
</view>
<view class="carrierSearch-auto"></view> -->
<template v-if="iscpswjselectall==1">
<view class="carrierSearch-left">
<uni-section title="" type="line">
<uni-data-select
v-model="msg.MallBaseId"
:localdata="ShopTypeList"
:clear="false"
@change="ResetQuery"
></uni-data-select>
</uni-section>
</view>
<view class="carrierSearch-auto"></view>
</template>
<view class="carrierSearch-right">
<input v-if="replace.state=='1'" v-model="msg.CarrierName"
:placeholder="`搜索载体名称`"
......@@ -339,7 +352,8 @@ export default {
// value: 2
// },
],
GetYBConfig: null
GetYBConfig: null,
iscpswjselectall: 0,
};
},
onShareTimeline() {
......@@ -401,6 +415,7 @@ export default {
};
},
onLoad(options) {
this.iscpswjselectall = uni.getStorageSync("basedata").iscpswjselectall
let uid = uni.getStorageSync("mall_UserInfo")
this.TenantId = uid.TenantId
// this.msg.TenantId = uid.TenantId
......@@ -504,7 +519,14 @@ export default {
(res) => {
if (res.resultCode == 1) {
this.GetYBConfig = res.data
this.ShopTypeList = res.data.mallBaselList
res.data.mallBaselList.forEach(x=>{
let obj = {
text: x.Name,
value: x.MallBaseId
}
this.ShopTypeList.push(obj)
})
console.log(this.ShopTypeList,'------this.ShopTypeList')
}
}
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment