车辆接口更新
This commit is contained in:
@ -1,119 +1,167 @@
|
||||
<page-header-wrapper title="费用单" [logo]="logo">
|
||||
<ng-template #logo>
|
||||
<button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
|
||||
<i nz-icon nzType="left" nzTheme="outline"></i>
|
||||
</button>
|
||||
</ng-template>
|
||||
<ng-template #logo>
|
||||
<button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
|
||||
<i nz-icon nzType="left" nzTheme="outline"></i>
|
||||
</button>
|
||||
</ng-template>
|
||||
</page-header-wrapper>
|
||||
|
||||
<nz-card class="search-box">
|
||||
<div nz-row>
|
||||
<div nz-col nzSpan="24">
|
||||
<se-container col="3" labelWidth=100 *ngIf="!textStatus">
|
||||
<se-title class="mb-md" style="font-size:18px">基本信息(应收费用)</se-title>
|
||||
<se label="网络货运人" required>
|
||||
{{costInfo?.ltdid}}
|
||||
</se>
|
||||
<se label="费用类型" required col="2">
|
||||
{{costInfo?.feetype}}
|
||||
</se>
|
||||
<se label="费用备注">
|
||||
{{costInfo?.arremarks}}
|
||||
</se>
|
||||
<se label="应收对象" required>
|
||||
{{costInfo?.artoname}}
|
||||
</se>
|
||||
<se label="开票类型" required>
|
||||
{{costInfo?.arvattype}}
|
||||
</se>
|
||||
<se label="应收金额" required>
|
||||
{{costInfo?.armoeny}}
|
||||
</se>
|
||||
<se label="开票金额" required>
|
||||
{{costInfo?.arkpmoney}}
|
||||
</se>
|
||||
<se label="收款金额" required>
|
||||
{{costInfo?.arbrmmoney}}
|
||||
</se>
|
||||
</se-container>
|
||||
<se-container col="3" labelWidth=100 *ngIf="textStatus" class="mt-md">
|
||||
<se-title class="mb-md" style="font-size:18px">基本信息(应付费用)</se-title>
|
||||
<se label="网络货运人" required>
|
||||
{{costInfo?.ltdid}}
|
||||
</se>
|
||||
<se label="费用类型" required>
|
||||
{{costInfo?.feetype}}
|
||||
</se>
|
||||
<se label="应付核销" required>
|
||||
</se>
|
||||
<se label="费用备注">
|
||||
{{costInfo?.hrremarks}}
|
||||
</se>
|
||||
<se label="应收对象" required>
|
||||
{{costInfo?.hrtoname}}
|
||||
</se>
|
||||
<se label="收票类型" required>
|
||||
{{costInfo?.hrvattype}}
|
||||
</se>
|
||||
<se label="应付金额" required>
|
||||
{{costInfo?.hrmoney}}
|
||||
</se>
|
||||
<se label="收票金额" required>
|
||||
{{costInfo?.hrvatmoney}}
|
||||
</se>
|
||||
<se label="付款金额" required>
|
||||
{{costInfo?.hrpaymoney}}
|
||||
</se>
|
||||
</se-container>
|
||||
</div>
|
||||
<div nz-row>
|
||||
<div nz-col nzSpan="24">
|
||||
<se-container col="3" labelWidth="100" *ngIf="!textStatus">
|
||||
<se-title class="mb-md" style="font-size: 18px">基本信息(应收费用)</se-title>
|
||||
<se label="网络货运人" required>
|
||||
{{ costInfo?.ltdid }}
|
||||
</se>
|
||||
<se label="费用类型" required col="2">
|
||||
{{ costInfo?.feetype }}
|
||||
</se>
|
||||
<se label="费用备注">
|
||||
{{ costInfo?.arremarks }}
|
||||
</se>
|
||||
<se label="应收对象" required>
|
||||
{{ costInfo?.artoname }}
|
||||
</se>
|
||||
<se label="开票类型" required>
|
||||
{{ costInfo?.arvattype }}
|
||||
</se>
|
||||
<se label="应收金额" required>
|
||||
{{ costInfo?.armoeny }}
|
||||
</se>
|
||||
<se label="开票金额" required>
|
||||
{{ costInfo?.arkpmoney }}
|
||||
</se>
|
||||
<se label="收款金额" required>
|
||||
{{ costInfo?.arbrmmoney }}
|
||||
</se>
|
||||
</se-container>
|
||||
<se-container col="3" labelWidth="100" *ngIf="textStatus" class="mt-md">
|
||||
<se-title class="mb-md" style="font-size: 18px">基本信息(应付费用)</se-title>
|
||||
<se label="网络货运人" required>
|
||||
{{ costInfo?.ltdid }}
|
||||
</se>
|
||||
<se label="费用类型" required>
|
||||
{{ costInfo?.feetype }}
|
||||
</se>
|
||||
<se label="应付核销" required> </se>
|
||||
<se label="费用备注">
|
||||
{{ costInfo?.hrremarks }}
|
||||
</se>
|
||||
<se label="应收对象" required>
|
||||
{{ costInfo?.hrtoname }}
|
||||
</se>
|
||||
<se label="收票类型" required>
|
||||
{{ costInfo?.hrvattype }}
|
||||
</se>
|
||||
<se label="应付金额" required>
|
||||
{{ costInfo?.hrmoney }}
|
||||
</se>
|
||||
<se label="收票金额" required>
|
||||
{{ costInfo?.hrvatmoney }}
|
||||
</se>
|
||||
<se label="付款金额" required>
|
||||
{{ costInfo?.hrpaymoney }}
|
||||
</se>
|
||||
</se-container>
|
||||
</div>
|
||||
</div>
|
||||
</nz-card>
|
||||
|
||||
<nz-card class="content-box" nzBordered>
|
||||
<nz-tabset>
|
||||
<nz-tab nzTitle="费用明细">
|
||||
<st #st [data]="costInfo?.ficoFeeLList" [columns]="columns.cost" [page]="{ show: false}"
|
||||
[loading]="service.http.loading" [scroll]="{ x:'1200px',y: '370px' }">
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{ textStatus ? item.hrmoney : item.hrvatmoney }}
|
||||
</ng-template>
|
||||
<ng-template st-row="hrvatmoney" let-item let-index="index" let-column="column">
|
||||
{{ index+1 }}
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="开票信息">
|
||||
<st #st [data]="costInfo?.ficoVatappDatailList" [columns]="columns.requested" [page]="{ show: false}"
|
||||
[loading]="service.http.loading" [scroll]="{ x:'1200px',y: '370px' }">
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{ index+1 }}
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="收款信息">
|
||||
<st #st [data]="costInfo?.ficoAhxLList" [columns]="columns.collection" [page]="{ show: false}"
|
||||
[loading]="service.http.loading" [scroll]="{ x:'1200px',y: '370px' }">
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{ index+1 }}
|
||||
</ng-template>
|
||||
<ng-template st-row="status" let-item let-index="index" let-column="column">
|
||||
已核销
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="收票信息">
|
||||
<st #st [data]="data" [columns]="columns.ticket" [page]="{ show: false}" [loading]="service.http.loading"
|
||||
[scroll]="{ x:'1200px',y: '370px' }"></st>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="付款信息">
|
||||
<st #st [data]="costInfo?.ficoPhxLList" [columns]="columns.payment" [page]="{ show: false}" [loading]="service.http.loading"
|
||||
[scroll]="{ x:'1200px',y: '370px' }">
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{ index+1 }}
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-tab>
|
||||
</nz-tabset>
|
||||
|
||||
|
||||
</nz-card>
|
||||
<nz-tabset>
|
||||
<nz-tab nzTitle="费用明细">
|
||||
<st
|
||||
#st
|
||||
[scroll]="{ x: '2000px' }"
|
||||
[data]="costInfo?.ficoFeeLList"
|
||||
[columns]="columns.cost"
|
||||
[page]="{ show: false }"
|
||||
[loading]="service.http.loading"
|
||||
[scroll]="{ x: '1200px', y: '370px' }"
|
||||
>
|
||||
<ng-template st-row="hrvatmoney" let-item let-index="index">
|
||||
{{ item.hrvatmoney | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="armoney" let-item let-index="index">
|
||||
{{ item.armoney | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="arkpmoney" let-item let-index="index">
|
||||
{{ item.arkpmoney | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{ textStatus ? item.hrmoney : item.hrvatmoney }}
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="开票信息">
|
||||
<st
|
||||
#st
|
||||
[scroll]="{ x: '2000px' }"
|
||||
[data]="costInfo?.ficoVatappDatailList"
|
||||
[columns]="columns.requested"
|
||||
[page]="{ show: false }"
|
||||
[loading]="service.http.loading"
|
||||
[scroll]="{ x: '1200px', y: '370px' }"
|
||||
>
|
||||
<ng-template st-row="vatnotax" let-item let-index="index">
|
||||
{{ item.vatnotax | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="vatmoney" let-item let-index="index">
|
||||
{{ item.vatmoney | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{ index + 1 }}
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="收款信息">
|
||||
<st
|
||||
#st
|
||||
[scroll]="{ x: '2000px' }"
|
||||
[data]="costInfo?.ficoAhxLList"
|
||||
[columns]="columns.collection"
|
||||
[page]="{ show: false }"
|
||||
[loading]="service.http.loading"
|
||||
[scroll]="{ x: '1200px', y: '370px' }"
|
||||
>
|
||||
<ng-template st-row="ahxmoney" let-item let-index="index">
|
||||
{{ item.ahxmoney | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="ahxmoney" let-item let-index="index">
|
||||
{{ item.ahxmoney | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{ index + 1 }}
|
||||
</ng-template>
|
||||
<ng-template st-row="status" let-item let-index="index" let-column="column"> 已核销 </ng-template>
|
||||
</st>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="收票信息">
|
||||
<st
|
||||
#st
|
||||
[data]="data"
|
||||
[scroll]="{ x: '2000px' }"
|
||||
[columns]="columns.ticket"
|
||||
[page]="{ show: false }"
|
||||
[loading]="service.http.loading"
|
||||
[scroll]="{ x: '1200px', y: '370px' }"
|
||||
></st>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="付款信息">
|
||||
<st
|
||||
#st
|
||||
[scroll]="{ x: '2000px' }"
|
||||
[data]="costInfo?.ficoPhxLList"
|
||||
[columns]="columns.payment"
|
||||
[page]="{ show: false }"
|
||||
[loading]="service.http.loading"
|
||||
[scroll]="{ x: '1200px', y: '370px' }"
|
||||
>
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{ index + 1 }}
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-tab>
|
||||
</nz-tabset>
|
||||
</nz-card>
|
||||
|
||||
@ -43,39 +43,39 @@ export class CostManagementDetailComponent implements OnInit {
|
||||
private initST(): { [key: string]: STColumn[] } {
|
||||
return {
|
||||
cost: [
|
||||
{ title: '序号', render: 'no', width: 70 },
|
||||
{ title: '费用明细号', index: 'feeHId' },
|
||||
{ title: '订单号', index: 'billHId' },
|
||||
{ title: '订单日期', index: 'callNo' },
|
||||
{ title: '运单号', index: 'waybillHId' },
|
||||
{ title: '运单日期', index: 'waybillDate' },
|
||||
{ title: '结算客户', index: 'callNo' },
|
||||
{ title: '订单费用类型', index: 'billLType' },
|
||||
{ title: '费用科目', index: 'feeSubId' },
|
||||
{ title: '税率', index: 'hrvatrate' },
|
||||
{ title: '费用金额', render: 'hrvatmoney' },
|
||||
{ title: '收/付款金额', index: 'armoney' },
|
||||
{ title: '开/收票金额', index: 'arkpmoney' }
|
||||
{ title: '序号', render: 'no', width: 70,className: 'text-left', },
|
||||
{ title: '费用明细号', index: 'feeHId',className: 'text-left', width: 200,},
|
||||
{ title: '订单号', index: 'billHId' ,className: 'text-left', width: 200,},
|
||||
{ title: '订单日期', index: 'callNo' ,className: 'text-left',width: 200,},
|
||||
{ title: '运单号', index: 'waybillHId',className: 'text-left', width: 200,},
|
||||
{ title: '运单日期', index: 'waybillDate' ,className: 'text-left',width: 200,},
|
||||
{ title: '结算客户', index: 'callNo' ,className: 'text-left',width: 200,},
|
||||
{ title: '订单费用类型', index: 'billLType' ,className: 'text-left',width: 200,},
|
||||
{ title: '费用科目', index: 'feeSubId' ,className: 'text-left',width: 200,},
|
||||
{ title: '税率', index: 'hrvatrate',className: 'text-right', width: 200,},
|
||||
{ title: '费用金额', render: 'hrvatmoney',className: 'text-right', width: 200,},
|
||||
{ title: '收/付款金额', render: 'armoney',className: 'text-right', width: 200,},
|
||||
{ title: '开/收票金额', render: 'arkpmoney' ,className: 'text-right',width: 200,}
|
||||
],
|
||||
requested: [
|
||||
{ title: '序号', render: 'no', width: 70 },
|
||||
{ title: '费用明细号', index: 'feeHId' },
|
||||
{ title: '发票申请', index: 'vatappcode' },
|
||||
{ title: '发票类型', index: 'vatapptype' },
|
||||
{ title: '发票号', index: 'vatappcode' },
|
||||
{ title: '发票日期', index: 'vatappdate' },
|
||||
{ title: '发票状态', index: 'sts' },
|
||||
{ title: '应收金额', index: 'vatnotax' },
|
||||
{ title: '开票金额', index: 'vatmoney' }
|
||||
{ title: '序号', render: 'no', width: 70 ,className: 'text-left',},
|
||||
{ title: '费用明细号', index: 'feeHId',className: 'text-left',width: 200, },
|
||||
{ title: '发票申请', index: 'vatappcode',className: 'text-left', width: 200,},
|
||||
{ title: '发票类型', index: 'vatapptype',className: 'text-left',width: 200, },
|
||||
{ title: '发票号', index: 'vatappcode',className: 'text-left',width: 200, },
|
||||
{ title: '发票日期', index: 'vatappdate',className: 'text-left', width: 200,},
|
||||
{ title: '发票状态', index: 'sts' ,className: 'text-left',width: 200,},
|
||||
{ title: '应收金额', render: 'vatnotax',className: 'text-left',width: 200, },
|
||||
{ title: '开票金额', render: 'vatmoney' ,className: 'text-left',width: 200,}
|
||||
],
|
||||
collection: [
|
||||
{ title: '序号', render: 'no', width: 70 },
|
||||
{ title: '费用明细号', index: 'feeLId' },
|
||||
{ title: '收款单号', index: 'id' },
|
||||
{ title: '收款日期', index: 'feedate' },
|
||||
{ title: '收款状态', render: 'status' },
|
||||
{ title: '应收金额', index: 'ahxmoney' },
|
||||
{ title: '收款金额', index: 'ahxmoney' }
|
||||
{ title: '序号', render: 'no', width: 70, },
|
||||
{ title: '费用明细号', index: 'feeLId' ,className: 'text-left', width: 200,},
|
||||
{ title: '收款单号', index: 'ahxHId' ,className: 'text-left', width: 200,},
|
||||
{ title: '收款日期', index: 'feedate' ,className: 'text-left', width: 200,},
|
||||
{ title: '收款状态', render: 'status' ,className: 'text-left', width: 150,},
|
||||
{ title: '应收金额', render: 'ahxmoney' ,className: 'text-left', width: 120,},
|
||||
{ title: '收款金额', render: 'ahxmoney',className: 'text-left', width: 120, }
|
||||
],
|
||||
ticket: [
|
||||
{ title: '序号', render: 'no', width: 70 },
|
||||
|
||||
Reference in New Issue
Block a user