This commit is contained in:
Taric Xin
2022-03-29 10:19:35 +08:00
parent b87e2f6898
commit dd60f6c1f3
3 changed files with 11 additions and 7 deletions

View File

@ -154,13 +154,13 @@ export class InvoiceDetailComponent implements OnInit {
{ title: '卸货地', index: 'loadingto', width: 220 },
{ title: '货物信息', index: 'goodsinfo', width: 140 },
{ title: '承运司机', index: 'driverinfo', width: 280 },
{
title: '税额',
index: 'billvatrate',
width: 120,
className: 'text-right',
format: item => `${item.billvatrate ? ((item.billvatrate as number) * 100).toFixed(2) : 0}%`
},
// {
// title: '税额',
// index: 'billvatrate',
// width: 120,
// className: 'text-right',
// format: item => `${item.billvatrate ? ((item.billvatrate as number) * 100).toFixed(2) : 0}%`
// },
{
title: '申请金额',
index: 'billkpnotax',

View File

@ -55,6 +55,8 @@ export class InvoiceRequestedComponent {
};
afterRes = (data: any[], rawData?: any) => {
this.totalCallNo = 0;
this.selectedRows = [];
return data.map(item => ({
...item,
disabled: item.expressHSts

View File

@ -47,6 +47,8 @@ export class RequestedInvoiceModalComponent {
if (res) {
this.service.msgSrv.success('移除成功');
this.modal.destroy(true);
} else {
this.service.msgSrv.warning('移除失败');
}
});
}