This commit is contained in:
parent
b05024ab9f
commit
0d795c0d3a
|
|
@ -110,7 +110,8 @@
|
||||||
<el-table-column align="center" prop="inStockNum" label="在库数量" width="100" />
|
<el-table-column align="center" prop="inStockNum" label="在库数量" width="100" />
|
||||||
<el-table-column align="center" prop="status" label="预警情况" width="120" >
|
<el-table-column align="center" prop="status" label="预警情况" width="120" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span :class="scope.row.status.includes('告警')?'red':''">{{ scope.row.status }}
|
<span :class="scope.row.status && scope.row.status.includes('告警')?'red':''">
|
||||||
|
{{ scope.row.status }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue