Authored by 李奇

取消调拨列删除

... ... @@ -77,26 +77,14 @@ export default function() {
title: '缺货数',
align: 'center',
render: (h, params) => {
const num = params.row.lackNum;
return (
<span class={{'red-text': num > 0}}>{num}</span>
);
},
className: 'lack-column'
},
{
title: '取消调拨',
align: 'center',
render: (h, params) => {
let num = params.row.cancelNum;
let num = params.row.lackNum;
num = num || num === 0 ? num : '-';
return (
<span class={{'red-text': num > 0}}>{num}</span>
);
},
className: 'cancel-column'
className: 'lack-column'
},
{
title: '操作',
... ...