edit
This commit is contained in:
@ -39,17 +39,23 @@ export class CancellationInvoiceComponent implements OnInit {
|
||||
beforeReq = (requestOptions: STRequestOptions) => {
|
||||
if (this.sf) {
|
||||
Object.assign(requestOptions.body, {
|
||||
...this.sf.value,
|
||||
createTime: {
|
||||
start: this.sf.value.createTime?.[0] || '',
|
||||
end: this.sf.value.createTime?.[1] || ''
|
||||
}
|
||||
...this.sf.value
|
||||
});
|
||||
if (this.sf.value.createTime) {
|
||||
Object.assign(requestOptions.body, {
|
||||
createTime: {
|
||||
start: this.sf.value.createTime?.[0] || '',
|
||||
end: this.sf.value.createTime?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
if (this.resourceStatus) {
|
||||
Object.assign(requestOptions.body, {
|
||||
sts: this.resourceStatus
|
||||
});
|
||||
} else {
|
||||
delete requestOptions.body.sts;
|
||||
}
|
||||
return requestOptions;
|
||||
};
|
||||
@ -339,7 +345,7 @@ export class CancellationInvoiceComponent implements OnInit {
|
||||
click: item => this.router.navigate(['/ticket/invoice-requested/detail/' + item?.vatappHId])
|
||||
},
|
||||
{ title: '申请时间', index: 'createTime', type: 'date', width: 150 },
|
||||
{ title: '发票类型', index: 'vatapptypeLabel', width: 150 },
|
||||
{ title: '发票类型', index: 'vatapptypeLabel', width: 150 },
|
||||
{ title: '网络货运人', index: 'ltdName', width: 220 },
|
||||
{ title: '购买人', index: 'artoname', width: 220 },
|
||||
{ title: '订单数', index: 'ordlines', width: 90, className: 'text-right' },
|
||||
@ -401,7 +407,7 @@ export class CancellationInvoiceComponent implements OnInit {
|
||||
text: '手工开票<br>',
|
||||
iif: item => item.sts != '3',
|
||||
click: item => this.requestedAction(item)
|
||||
},
|
||||
}
|
||||
// {
|
||||
// text: '推送开票<br>',
|
||||
// iif: item => item.sts === '1',
|
||||
|
||||
Reference in New Issue
Block a user