...
|
...
|
@@ -47,9 +47,22 @@ let cols = function() { |
|
|
title: '吊牌价/销售价/进货价',
|
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
|
return (
|
|
|
<div>{params.row.retailPrice || '-'} / {params.row.salesPrice || '-'} / {params.row.purchasePrice || '-'}</div>
|
|
|
);
|
|
|
if (this.selected) {
|
|
|
return (
|
|
|
<div>{params.row.retailPrice || '-'} / {params.row.salesPrice || '-'} / {params.row.purchasePrice || '-'}</div>
|
|
|
);
|
|
|
} else {
|
|
|
return (
|
|
|
<div>{params.row.retailPrice || '-'} / {params.row.salesPrice || '-'} </div>
|
|
|
);
|
|
|
}
|
|
|
},
|
|
|
renderHeader: () => {
|
|
|
if (this.selected) {
|
|
|
return '吊牌价/销售价/进货价';
|
|
|
} else {
|
|
|
return '吊牌价/销售价';
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
|
...
|
...
|
@@ -186,7 +199,6 @@ let infoCols = function() { |
|
|
);
|
|
|
}
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: '结算折扣',
|
|
|
key: 'purchaseDiscount',
|
...
|
...
|
|