Commit 3844dd44 authored by 张伯涛's avatar 张伯涛

修改

parent 5c386640
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
<div>{{ item.lineCode }}</div> <div>{{ item.lineCode }}</div>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row[item.lineCode] || '-' }}</span> <span v-if="scope.row[item.lineCode] === '0' ">{{ scope.row[item.lineCode] || '-' }}</span>
<span v-else>{{ Number(scope.row[item.lineCode]) || '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
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