Commit fd046764 by 王志慧

commit

1 parent b8055691
...@@ -13,12 +13,14 @@ ...@@ -13,12 +13,14 @@
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="commofityRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="commofityRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div slot="merchantName" slot-scope="scope"> <div slot="merchantName" slot-scope="scope">
<span v-if="scope.scope.merchantList.length == 1">{{ scope.scope.merchantList[0].merchantName }}</span> <el-tooltip v-if="scope.scope.merchantList.length > 0" placement="top" effect="light">
<el-tooltip v-else-if="scope.scope.merchantList.length > 1" placement="top" effect="light">
<div slot="content"> <div slot="content">
<div class="text-3 font-12 weight-6" style="line-height:24px">上家门店</div> <div class="text-3 font-12 weight-6" style="line-height:24px">上家门店</div>
<div class="merchant-wrap">
<div class="text-6 font-12" style="line-height:24px" v-for="item in scope.scope.merchantList" :key="item">{{ item.merchantName }}</div> <div class="text-6 font-12" style="line-height:24px" v-for="item in scope.scope.merchantList" :key="item">{{ item.merchantName }}</div>
</div> </div>
</div>
<div class="use-store"> <div class="use-store">
<img src="@/assets/store.png" /> <img src="@/assets/store.png" />
x {{ scope.scope.merchantList.length }} x {{ scope.scope.merchantList.length }}
...@@ -276,6 +278,9 @@ export default { ...@@ -276,6 +278,9 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.container{
padding:20px;
}
.use-store { .use-store {
display: flex; display: flex;
font-size: 14px; font-size: 14px;
...@@ -299,4 +304,8 @@ export default { ...@@ -299,4 +304,8 @@ export default {
color: #333; color: #333;
} }
} }
.merchant-wrap{
max-height:200px;
overflow: scroll;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!