Commit 87ecf7d7 by 张立顺

fix 驻店回显

1 parent 909f26a7
...@@ -74,39 +74,80 @@ ...@@ -74,39 +74,80 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车主类型" align="center"> <el-table-column label="车主类型" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ selectCarTypeObj[scope.row.selectCarType] }} <!-- <div v-for="(item, index) in scope.scope.taskList" :key="index"> -->
<div v-if="scope.row.selectCarType == 0">无</div>
<div v-if="scope.row.selectCarType == 1">车辆价格:{{ scope.row.minCarPrice }}-{{ scope.row.maxCarPrice }}万
</div>
<div v-if="scope.row.selectCarType == 2">车辆类型:
<span v-for="(subItem, subIndex) in scope.row.carList" :key="subIndex">{{
`${subItem.carBrand}-${subItem.carChildsBrandName}-${subItem.carSeriesName}` }}</span>
</div>
<!-- </div> -->
<!-- {{ selectCarTypeObj[scope.row.selectCarType] }} -->
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="商品分类" align="center"> <el-table-column label="商品分类" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row | goodsTypeFilter }} {{ scope.row | goodsTypeFilter }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="主推产品套餐" align="center"> <el-table-column label="主推产品套餐" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row | goodsTypeFilter }} <!-- <div v-for="(item, index) in scope.scope.taskList" :key="index"> -->
<div v-if="scope.row.selectPackageType == 0">无</div>
<div v-if="scope.row.selectPackageType == 1 || scope.row.selectPackageType == 2">
<div v-for="(subItem, subIndex) in scope.row.packageList" :key="subIndex">{{ subItem.upgradeGoodsName }}
</div>
</div>
<!-- </div> -->
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="目标转化率" align="center"> <el-table-column label="目标转化率" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.conversionRate | fitterFormat }} <!-- {{ scope.row.conversionRate | fitterFormat }} -->
<!-- <div v-if="scope.row.selectPackageType == 1">
<div v-for="(subItem, subIndex) in scope.row.packageList" :key="subIndex">{{ subItem | fitterFormat }}
</div>
</div>
<div v-else>{{ scope.row.conversionRate | fitterFormat }}</div> -->
<div v-if="scope.row.selectPackageType == 1">
<div v-for="(subItem, subIndex) in scope.row.packageList" :key="subIndex">{{ subItem.conversionRate + '%'
||
'-' }}</div>
</div>
<div v-else>{{ scope.row.conversionRate + '%' || '-' }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="提成系数" align="center"> <el-table-column label="提成系数" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.conversionRatePercentage | fitterFormat }} <div v-if="scope.row.selectPackageType == 1">
<div v-for="(subItem, subIndex) in scope.row.packageList" :key="subIndex">{{
subItem.conversionRatePercentage + '%' || '-' }}</div>
</div>
<div v-else>{{ scope.row.conversionRatePercentage + '%' || '-' }}</div>
<!-- {{ scope.row.conversionRatePercentage | fitterFormat }} -->
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="目标客单价" align="center"> <el-table-column label="目标客单价" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.customerUnitPrice }} <!-- {{ scope.row.customerUnitPrice }} -->
<div v-if="scope.row.selectPackageType == 1">
<div v-for="(subItem, subIndex) in scope.row.packageList" :key="subIndex">{{ subItem.customerUnitPrice
+ '元' || '-' }}</div>
</div>
<div v-else>{{ scope.row.customerUnitPrice + '元' || '-' }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="提成系数" align="center"> <el-table-column label="提成系数" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.customerUnitPricePercentage | fitterFormat }} <!-- {{ scope.row.customerUnitPricePercentage | fitterFormat }} -->
<div v-if="scope.row.selectPackageType == 1">
<div v-for="(subItem, subIndex) in scope.row.packageList" :key="subIndex">{{
subItem.customerUnitPricePercentage + '%' || '-' }}</div>
</div>
<div v-else>{{ scope.row.customerUnitPricePercentage + '%' || '-' }}</div>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="子类目名称" align="center" width="400"> <!-- <el-table-column label="子类目名称" align="center" width="400">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!