车辆对接
This commit is contained in:
@ -26,7 +26,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
||||
totalCallNo = 0;
|
||||
_$expand = false;
|
||||
|
||||
vatappHId = null;
|
||||
id = null;
|
||||
headerInfo: any = {};
|
||||
constructor(
|
||||
public service: TicketService,
|
||||
@ -34,7 +34,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
||||
private route: ActivatedRoute,
|
||||
private router: Router
|
||||
) {
|
||||
this.vatappHId = route.snapshot.params.id;
|
||||
this.id = route.snapshot.params.id;
|
||||
this.loadHeadInfo();
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
||||
}
|
||||
|
||||
loadHeadInfo() {
|
||||
this.service.request(this.service.$api_get_invoice_requested_header_detail, { vatappHId: this.vatappHId }).subscribe(res => {
|
||||
this.service.request(this.service.$api_get_invoice_requested_header_detail, { id: this.id }).subscribe(res => {
|
||||
console.log(res);
|
||||
if (res) {
|
||||
this.headerInfo = res;
|
||||
|
||||
Reference in New Issue
Block a user