车辆对接

This commit is contained in:
wangshiming
2021-12-30 15:53:02 +08:00
parent 34a654a21d
commit 12653a2961
8 changed files with 142 additions and 47 deletions

View File

@ -1,48 +1,53 @@
<!--
* @Author: your name
* @Date: 2021-12-23 16:50:17
* @LastEditTime: 2021-12-30 15:07:22
* @LastEditors: your name
* @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.html
-->
<div nz-row nzGutter="8" class="statistics-box">
<div nz-col nzSpan="12" se-container [labelWidth]="100" col="1">
<se label="购买方">
茅台股份有限公司
{{headerInfo?.projectName}}
</se>
<se label="纳税号">
912301046656930913
{{headerInfo?.taxNumber}}
</se>
<se label="地址">
贵州省贵阳市
{{headerInfo?.registerAddr}}
</se>
<se label="电话">
075588393198
{{headerInfo?.registerPhone}}
</se>
<se label="开户行">
中国工商银行股份有限公司哈贵阳支行
{{headerInfo?.bankName}}
</se>
<se label="银行账户">
3500044119068126788
{{headerInfo?.bankAccount}}
</se>
<se label="票面备注">
<p style="margin-bottom: 0;margin-top: 5px;">起运地:广东省深圳市南山区</p>
<p style="margin-bottom: 0;">目的地:湖北省武汉市青山区</p>
<p style="margin-bottom: 0;">货物名称:钢材</p>
<p style="margin-bottom: 0;">车型车牌:高栏车 粤B36889</p>
{{headerInfo?.vatremarks}}
</se>
</div>
<div nz-col nzSpan="12" se-container [labelWidth]="100" col="1">
<se label="销售方">
天津怡亚通物流科技有限公司
{{headerInfo?.ltdidName}}
</se>
<se label="订单数">
100笔
{{headerInfo?.vatinvBillNum}}
</se>
<se label="开票金额">
300,000.00元
{{headerInfo?.vatinvHAmount}}
</se>
<se label="服务名称">
运输服务费
{{headerInfo?.vatname}}
</se>
<se label="销货清单">
需要
{{headerInfo?.isdetail}}
</se>
<se label="其他要求">
单位按吨
{{headerInfo?.otherremarks}}
</se>
</div>

View File

@ -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;
}
});
}
}