edit
This commit is contained in:
@ -282,7 +282,7 @@ export class PaymentRecordComponent implements OnInit {
|
|||||||
{ title: '申请人', index: 'applyUserName', width: 90 },
|
{ title: '申请人', index: 'applyUserName', width: 90 },
|
||||||
{ title: '处理时间', index: 'handlerTime', width: 180 },
|
{ title: '处理时间', index: 'handlerTime', width: 180 },
|
||||||
{ title: '处理人', index: 'handlerUserName', width: 90 },
|
{ title: '处理人', index: 'handlerUserName', width: 90 },
|
||||||
{ title: '失败原因', index: 'failCause', width: 250 },
|
{ title: '备注', index: 'failCause', width: 250 },
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
|
|||||||
@ -56,15 +56,24 @@ export class InvoicedListComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
deletedInvoice() {
|
deletedInvoice(item: any) {
|
||||||
if (this.selectedRows?.length <= 0) {
|
// if (this.selectedRows?.length <= 0) {
|
||||||
this.service.msgSrv.warning('请选择发票');
|
// this.service.msgSrv.warning('请选择发票');
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
this.nzModalService.warning({
|
const modal = this.nzModalService.warning({
|
||||||
nzTitle: '确定将所选发票作废?',
|
nzTitle: '确定将所选发票作废?',
|
||||||
nzCancelText: '取消',
|
nzCancelText: '取消',
|
||||||
nzOnOk: () => {}
|
nzOnOk: () => {
|
||||||
|
this.service.request(this.service.$api_cancel_invoice, { id: item.id }).subscribe(res => {
|
||||||
|
if (res) {
|
||||||
|
this.service.msgSrv.success('发票作废成功');
|
||||||
|
}
|
||||||
|
modal.destroy();
|
||||||
|
this.st.load(1);
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -243,6 +252,11 @@ export class InvoicedListComponent implements OnInit {
|
|||||||
queryParams: { expressno: item.expressno, type: 2, ltdId: item.ltdId }
|
queryParams: { expressno: item.expressno, type: 2, ltdId: item.ltdId }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: '发票作废',
|
||||||
|
click: item => this.deletedInvoice(item),
|
||||||
|
iif: item => item.sts === '1'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: '查看物流',
|
text: '查看物流',
|
||||||
click: item => this.showlogosticsLogs(item),
|
click: item => this.showlogosticsLogs(item),
|
||||||
|
|||||||
@ -52,6 +52,9 @@ export class TicketService extends ShipperBaseService {
|
|||||||
|
|
||||||
// 已开发票查询
|
// 已开发票查询
|
||||||
$api_get_invoice_page = '/api/fcc/ficoVatinvH/list/page';
|
$api_get_invoice_page = '/api/fcc/ficoVatinvH/list/page';
|
||||||
|
|
||||||
|
// 发票作废
|
||||||
|
$api_cancel_invoice = '/api/fcc/ficoVatinvH/inpinvHCancel';
|
||||||
// 获取销项发票抬头
|
// 获取销项发票抬头
|
||||||
$api_get_invoice_header_detail = '/api/fcc/ficoVatinvH/get';
|
$api_get_invoice_header_detail = '/api/fcc/ficoVatinvH/get';
|
||||||
// 获取分票发票抬头开票申请订单明细
|
// 获取分票发票抬头开票申请订单明细
|
||||||
|
|||||||
Reference in New Issue
Block a user