diff --git a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.html b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.html index cb762d0f..3011e18e 100644 --- a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.html +++ b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.html @@ -1,7 +1,7 @@
- 茅台股份有限公司 + {{headerInfo?.projectName}} - 912301046656930913 + {{headerInfo?.taxNumber}} - 贵州省贵阳市 + {{headerInfo?.registerAddr}} - 075588393198 + {{headerInfo?.registerPhone}} - 中国工商银行股份有限公司哈贵阳支行 + {{headerInfo?.bankName}} - 3500044119068126788 + {{headerInfo?.bankAccount}} -

起运地:广东省深圳市南山区

-

目的地:湖北省武汉市青山区

-

货物名称:钢材

-

车型车牌:高栏车 粤B36889

+ {{headerInfo?.vatremarks}}
- 天津怡亚通物流科技有限公司 + {{headerInfo?.ltdidName}} - 100笔 + {{headerInfo?.vatinvBillNum}} - 300,000.00元 + {{headerInfo?.vatinvHAmount}} - 运输服务费 + {{headerInfo?.vatname}} - 需要 + {{headerInfo?.isdetail}} - 单位按吨 + {{headerInfo?.otherremarks}}
diff --git a/src/app/routes/ticket-management/components/invoice-requested/requested-detail/requested-detail.component.ts b/src/app/routes/ticket-management/components/invoice-requested/requested-detail/requested-detail.component.ts index cf3cea57..ddf14138 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/requested-detail/requested-detail.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/requested-detail/requested-detail.component.ts @@ -1,4 +1,14 @@ +/* + * @Author: your name + * @Date: 2021-12-23 16:50:17 + * @LastEditTime: 2021-12-30 15:07:42 + * @LastEditors: Please set LastEditors + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + * @FilePath: \tms-obc-web\src\app\routes\ticket-management\components\invoice-requested\requested-detail\requested-detail.component.ts + */ import { Component, OnInit } from '@angular/core'; +import { TicketService } from '../../../services/ticket.service'; + @Component({ selector: 'app-requested-detail', @@ -6,11 +16,24 @@ import { Component, OnInit } from '@angular/core'; styleUrls: ['./requested-detail.component.less'] }) export class RequestedDetailComponent implements OnInit { - - constructor() { } + i: any; + status: any; + Id: any; + headerInfo: any; + constructor( + public service: TicketService, + ) { } ngOnInit(): void { - + this.initData(); + } + initData() { + this.service.request(this.service.$api_get_invoice_requested_header_detail, { id: this.Id }).subscribe(res => { + console.log(res); + if (res) { + this.headerInfo = res; + } + }); } } diff --git a/src/app/routes/ticket-management/services/ticket.service.ts b/src/app/routes/ticket-management/services/ticket.service.ts index 9c215266..1bbfea9a 100644 --- a/src/app/routes/ticket-management/services/ticket.service.ts +++ b/src/app/routes/ticket-management/services/ticket.service.ts @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-12-29 13:12:35 - * @LastEditTime: 2021-12-30 14:44:36 + * @LastEditTime: 2021-12-30 15:26:59 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\ticket-management\services\ticket.service.ts @@ -38,6 +38,12 @@ export class TicketService extends ShipperBaseService { $api_get_invoice_cost_detail = '/api/fcc/ficoVatappFee/getDetailByVatinvHId'; // 获取分票发票明细 $api_get_invoice_details = '/api/fcc/ficoVatinvL/getDetailByVatinvHId'; + // 运营端订单明细开票处理 + $api_get_applyFicoVatinv = '/api/fcc/ficoVatinvH/applyFicoVatinv'; + // 开票申请列表批量开票 + $api_get_applyBatchFicoVatinv = '/api/fcc/ficoVatinvH/applyBatchFicoVatinv'; + // 删除销项发票抬头 + $api_delete_deletebatch = '/api/fcc/ficoVatinvH/deletebatch'; constructor(public injector: Injector) { super(injector);