edit
This commit is contained in:
@ -38,9 +38,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
||||
this.loadHeadInfo();
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
console.log(this.route.snapshot)
|
||||
}
|
||||
ngOnInit(): void {}
|
||||
|
||||
loadHeadInfo() {
|
||||
this.service.request(this.service.$api_get_invoice_requested_header_detail, { id: this.id }).subscribe(res => {
|
||||
@ -71,11 +69,11 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
||||
}
|
||||
|
||||
openRequestedModal(status: any) {
|
||||
if(status === '2' && this.selectedRows.length == 0) {
|
||||
this.service.msgSrv.warning('请选择订单!')
|
||||
return
|
||||
if (status === '2' && this.selectedRows.length == 0) {
|
||||
this.service.msgSrv.warning('请选择订单!');
|
||||
return;
|
||||
}
|
||||
console.log(this.selectedRows)
|
||||
console.log(this.selectedRows);
|
||||
const modal = this.nzModalService.create({
|
||||
nzTitle: '开票',
|
||||
nzContent: RequestedDetailComponent,
|
||||
@ -84,20 +82,20 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
||||
i: this.selectedRows,
|
||||
status: status,
|
||||
Id: this.id
|
||||
},
|
||||
},
|
||||
nzFooter: [
|
||||
{
|
||||
type: 'default',
|
||||
label: '手工处理',
|
||||
onClick: () => {
|
||||
console.log('11111')
|
||||
console.log('11111');
|
||||
const params = {
|
||||
ficoVatappBillVOList: this.selectedRows,
|
||||
id: this.id
|
||||
}
|
||||
};
|
||||
this.service.request(this.service.$api_get_applyFicoVatinv, params).subscribe((res: any) => {
|
||||
console.log(res)
|
||||
})
|
||||
console.log(res);
|
||||
});
|
||||
modal.destroy();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user