Showing
1 changed file
with
2 additions
and
1 deletions
@@ -89,8 +89,9 @@ export default function() { | @@ -89,8 +89,9 @@ export default function() { | ||
89 | title: '取消调拨', | 89 | title: '取消调拨', |
90 | align: 'center', | 90 | align: 'center', |
91 | render: (h, params) => { | 91 | render: (h, params) => { |
92 | - const num = params.row.cancelNum; | 92 | + let num = params.row.cancelNum; |
93 | 93 | ||
94 | + num = num || num === 0 ? num : '-'; | ||
94 | return ( | 95 | return ( |
95 | <span class={{'red-text': num > 0}}>{num}</span> | 96 | <span class={{'red-text': num > 0}}>{num}</span> |
96 | ); | 97 | ); |
-
Please register or login to post a comment