|
@@ -43,7 +43,9 @@
|
43
|
43
|
<span>使用数量</span>
|
44
|
44
|
</template>
|
45
|
45
|
<template slot-scope="scope">
|
46
|
|
- <span >{{scope.row.count}}</span>
|
|
46
|
+ <span v-if="scope.row.is_total == 0">{{scope.row.count}}</span>
|
|
47
|
+ <span v-if="scope.row.is_total == 1">{{scope.row.total}} </span>
|
|
48
|
+
|
47
|
49
|
</template>
|
48
|
50
|
</el-table-column>
|
49
|
51
|
<el-table-column min-width="35" align="center">
|
|
@@ -51,8 +53,8 @@
|
51
|
53
|
<span>使用时间</span>
|
52
|
54
|
</template>
|
53
|
55
|
<template slot-scope="scope">
|
54
|
|
- <span v-if="scope.row.is_total == 0">{{scope.row.ctime | parseTime('{y}-{m}-{d} {h}:{i}')}} </span>
|
55
|
|
- <span v-if="scope.row.is_total == 1">{{scope.row.total}} </span>
|
|
56
|
+ <span>{{scope.row.ctime | parseTime('{y}-{m}-{d} {h}:{i}')}} </span>
|
|
57
|
+
|
56
|
58
|
</template>
|
57
|
59
|
</el-table-column>
|
58
|
60
|
|