<!--
 * @Description  : 
 * @Version      : 1.0
 * @Author       : Shiming
 * @Date         : 2022-01-19 16:54:07
 * @LastEditors  : Shiming
 * @LastEditTime : 2022-01-20 16:57:24
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\payment-order\\payment-order-detail\\payment-order-detail.component.html
 * Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<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>
</page-header-wrapper>

<nz-card class="statistics-box">
    <div nz-row nzGutter="8">
        <div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="150" col="1">
            <se label="网络货运人" required>
                {{headerInfo?.ltdName}}
            </se>
            <se label="收款人" required>
                {{headerInfo?.hrToLabel}}
            </se>
            <se label="付款账户" required>
                {{headerInfo?.ltdAccountId}}
            </se>
            <se label="应付已核销" required>
                {{headerInfo?.ishrhxLabel}}
            </se>
        </div>
        <div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="150" col="1">
            <se label="要求付款日期" required>
                {{headerInfo?.payDate}}
            </se>
            <se label="收款账户" required>
                 {{headerInfo?.hrBankName}} -  {{headerInfo?.hrBankNo}} 
            </se>
            <se label="确认日期" required>
                {{headerInfo?.payDate}}
            </se>
            <se label="付款备注">
                {{headerInfo?.payRemarks}}
            </se>
        </div>
        <div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="150" col="1">
            <se label="付款方式" required>
                {{headerInfo?.payModeLabel}}
            </se>
            <se label="付款类型" required>
                {{headerInfo?.payTypeLabel}}
            </se>
            <se label="付款金额" required>
                {{headerInfo?.payMoney |currency}}
            </se>
        </div>
    </div>
</nz-card>

<!-- <nz-card class="search-box" nzBordered>
    <div nz-row nzGutter="8">
        <div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
            <sf #sf [schema]="searchSchema"
                [ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
                [button]="'none'"></sf>
        </div>
        <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
            class="text-right">
            <button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
            <button nz-button (click)="resetSF()">重置</button>
            <button nz-button nzType="link" (click)="expandToggle()">
                {{ !_$expand ? '展开' : '收起' }}
                <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
            </button>
        </div>
    </div>
</nz-card>

<nz-card class="content-box" nzBordered>
    <st #st [data]="service.$api_get_payment_detail" [columns]="columns" size="small"
        [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
        [res]="{ reName: { list: 'data.records', total: 'data.total' } }"
        [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
        [loading]="false" [scroll]="{ x:'1200px',y: '200px' }">
        <ng-template st-row="billHCode" let-item let-index="index" let-column="column">
            {{index+1}}
        </ng-template>
    </st>
</nz-card> -->