Commit aa81e0b0 by zhangxw

bug修改

1 parent 1ebe5790
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
prop: '', prop: '',
width: 100, width: 100,
formatter: (row) => { formatter: (row) => {
return `${!isEmpty(row.outputCommissionRatio) ? row.outputCommissionRatio : '-'}%×${!isEmpty(row.calculateValue) ? row.calculateValue : '-'}` return row.allocationType == 5 ? `${row.outputCommissionRatio}%×${row.calculateValue}` : row.allocationType == 6 ? `${row.outputCommissionRatio}%` : '-'
} }
}, },
{ {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<el-button class="copy_btn" type="primary" size="small" plain @click="copyConfig">复制该配置到{{ defaultActiveName == 4 ? '初级驻店' : jobTypeList[Number(defaultActiveName) + 1] }}</el-button> <el-button class="copy_btn" type="primary" size="small" plain @click="copyConfig">复制该配置到{{ defaultActiveName == 4 ? '初级驻店' : jobTypeList[Number(defaultActiveName) + 1] }}</el-button>
<template> <template>
<el-table :data="subItem.configInfo.campusList" :header-cell-style="rowClass"> <el-table :data="subItem.configInfo.campusList" :header-cell-style="rowClass">
<el-table-column label="序号" type="index" width="50" align="center"></el-table-column> <el-table-column label="序号" type="index" width="50"></el-table-column>
<el-table-column prop="productType" label="产品名称" min-width="175"> <el-table-column prop="productType" label="产品名称" min-width="175">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item :prop="`campusList[${scope.$index}].productType`" :rules="rules.productType" label-width="0"> <el-form-item :prop="`campusList[${scope.$index}].productType`" :rules="rules.productType" label-width="0">
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<div class="config-table"> <div class="config-table">
<template> <template>
<el-table :data="subItem.configInfo.customerList" :header-cell-style="rowClass"> <el-table :data="subItem.configInfo.customerList" :header-cell-style="rowClass">
<el-table-column label="序号" type="index" width="50" align="center"></el-table-column> <el-table-column label="序号" type="index" width="50"></el-table-column>
<el-table-column prop="percentage" label="售后客户计提标准" min-width="500"> <el-table-column prop="percentage" label="售后客户计提标准" min-width="500">
<template slot-scope="scope"> <template slot-scope="scope">
产品名称为 产品名称为
...@@ -571,6 +571,7 @@ export default { ...@@ -571,6 +571,7 @@ export default {
::v-deep.config-table { ::v-deep.config-table {
.el-table .cell { .el-table .cell {
padding: 0 10px; padding: 0 10px;
text-align: left;
} }
.el-table__body-wrapper { .el-table__body-wrapper {
.el-table__row td:nth-child(1) { .el-table__row td:nth-child(1) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!