@@ -11,6 +11,13 @@ export default [
label: "项目名称",
'min-width': "120px",
},
+ {
+ prop: "low_rate",
+ label: "项目毛利率",
+ _slot_: "low_rate",
+ 'width': "85px",
+ },
+
{
prop: "status",
label: "状态",
@@ -139,6 +139,14 @@
</el-row>
</div>
</template>
+ <template #low_rate="{ scope }">
+ <el-tag
+ v-if="scope.row"
+ :type="parseInt(scope.row.low_rate) == 0 ? 'danger' : ''"
+ :size="tablebtnSize"
+ v-text="parseInt(scope.row.low_rate) == 0 ? '未设置' : '已设置'"
+ ></el-tag>
+ </template>
<template #status="{ scope }">
<el-tag
:size="tablebtnSize"