Commit 428c1423 by Jings

fix: 修复bug

parent 44cee2ce
......@@ -15,12 +15,12 @@
<el-table-column label="导购code" show-overflow-tooltip v-if="!isType">
<template slot-scope="scope">{{ scope.row.clerkCode || '--' }}</template>
</el-table-column>
<el-table-column prop="" :label="isType ? '督导姓名' : '导购姓名'" show-overflow-tooltip>
<el-table-column prop="" :label="isType == 1 ? '督导姓名' : '导购姓名'" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.clerkName || '--' }}
</template>
</el-table-column>
<el-table-column prop="" :label="isType ? '督导手机号' : '导购手机号'" show-overflow-tooltip>
<el-table-column prop="" :label="isType == 1 ? '督导手机号' : '导购手机号'" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.clerkPhoneNumber || '--' }}
</template>
......@@ -35,16 +35,20 @@
{{ scope.row.brandName || '--' }}
</template>
</el-table-column>
<el-table-column prop="" label="关联门店" v-if="!isType">
<el-table-column prop="" label="关联门店">
<template slot-scope="scope">
<p>{{ scope.row.storeName || '--' }}<el-tag type="danger" v-if="scope.row.mainStoreFlag">主门店</el-tag></p>
<div v-if="isType == 1">
{{ scope.row.manageStoreCount ? `${scope.row.manageStoreCount}家` : '--' }}
</div>
<div v-else>
<p>{{ scope.row.storeName || '--' }}<el-tag type="danger" v-if="scope.row.mainStoreFlag">主门店</el-tag></p>
</div>
</template>
</el-table-column>
<el-table-column prop="" label="关联门店" v-else>
<!-- <el-table-column prop="" label="关联门店" v-else>
<template slot-scope="scope">
{{ scope.row.manageStoreCount ? `${scope.row.manageStoreCount}家` : '--' }}
</template>
</el-table-column>
</el-table-column> -->
<el-table-column prop="" label="关联时间" show-overflow-tooltip>
<template slot-scope="scope">
<div class="color-606266 line-18">{{ scope.row.createTime | timeStampToYmd }}</div>
......
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