Authored by 李奇

取消调拨异常数据显示优化

@@ -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 );