Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
潘晓云
2022-03-29 11:00:37 +08:00
4 changed files with 16 additions and 9 deletions

View File

@ -133,7 +133,7 @@ export class OrderManagementRiskComponent implements OnInit {
type: 'string', type: 'string',
title: '订单号', title: '订单号',
ui: { ui: {
placeholder: '最多100个单号空号隔开' placeholder: '请输入订单号'
} }
}, },
resourceCode: { resourceCode: {

View File

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

View File

@ -55,6 +55,8 @@ export class InvoiceRequestedComponent {
}; };
afterRes = (data: any[], rawData?: any) => { afterRes = (data: any[], rawData?: any) => {
this.totalCallNo = 0;
this.selectedRows = [];
return data.map(item => ({ return data.map(item => ({
...item, ...item,
disabled: item.expressHSts disabled: item.expressHSts
@ -436,7 +438,10 @@ export class InvoiceRequestedComponent {
width: 150, width: 150,
type: 'widget', type: 'widget',
className: 'text-right', className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.invoicedMoney }) } widget: {
type: 'currency-chy',
params: ({ record }) => ({ value: record.invoicedMoney })
}
}, },
{ title: '开户行', index: 'bankName', width: 160 }, { title: '开户行', index: 'bankName', width: 160 },
{ title: '银行账户', index: 'bankAccount', width: 140 }, { title: '银行账户', index: 'bankAccount', width: 140 },

View File

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