Commit 8aaa0027 by 王志慧

commit

1 parent cb66fe21
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<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> <span v-if="scope.scope.merchantList.length == 1">{{ scope.scope.merchantList[0].merchantName }}</span>
<el-tooltip v-else 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="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>
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
x {{ scope.scope.merchantList.length }} x {{ scope.scope.merchantList.length }}
</div> </div>
</el-tooltip> </el-tooltip>
<span v-else>--</span>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!