edit
This commit is contained in:
@ -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',
|
||||
|
||||
@ -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
|
||||
|
||||
@ -47,6 +47,8 @@ export class RequestedInvoiceModalComponent {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('移除成功');
|
||||
this.modal.destroy(true);
|
||||
} else {
|
||||
this.service.msgSrv.warning('移除失败');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user