Authored by 李奇

取消调拨列删除

@@ -77,26 +77,14 @@ export default function() { @@ -77,26 +77,14 @@ export default function() {
77 title: '缺货数', 77 title: '缺货数',
78 align: 'center', 78 align: 'center',
79 render: (h, params) => { 79 render: (h, params) => {
80 - const num = params.row.lackNum;  
81 -  
82 - return (  
83 - <span class={{'red-text': num > 0}}>{num}</span>  
84 - );  
85 - },  
86 - className: 'lack-column'  
87 - },  
88 - {  
89 - title: '取消调拨',  
90 - align: 'center',  
91 - render: (h, params) => {  
92 - let num = params.row.cancelNum; 80 + let num = params.row.lackNum;
93 81
94 num = num || num === 0 ? num : '-'; 82 num = num || num === 0 ? num : '-';
95 return ( 83 return (
96 <span class={{'red-text': num > 0}}>{num}</span> 84 <span class={{'red-text': num > 0}}>{num}</span>
97 ); 85 );
98 }, 86 },
99 - className: 'cancel-column' 87 + className: 'lack-column'
100 }, 88 },
101 { 89 {
102 title: '操作', 90 title: '操作',