<div nz-row class="statistics-box">
    <div nz-col nzSpan="24" se-container [labelWidth]="100" col="1">
        <se label="打印发票" required>
            <nz-radio-group [(ngModel)]="type">
                <label nz-radio [nzValue]="1">分批下单</label>
                <label nz-radio [nzValue]="2">汇总下单</label>
            </nz-radio-group>
        </se>
        <se>
            {{type===1?'分批下单系统会根据网络货运人、货主以及收件地址自动拆分成多个包裹下单':'汇总下单系统会将所选申请单汇总成一个包裹下单'}}
        </se>
        <ng-container *ngIf="type===2">
            <se label="收件地址" required>
                <nz-select [(ngModel)]="data.rcontactInfo" [nzCustomTemplate]="rcontactInfosData" nzDropdownClassName="print_order_select">
                    <nz-option [nzValue]="item" nzLabel="Jack" *ngFor="let item of rcontactInfos"
                        [nzCustomContent]="true">
                        {{item.contact}} &nbsp; &nbsp;&nbsp; {{item.tel}}<br />
                        {{item.province}} {{item.city}} {{item.county}} {{item.address}}
                    </nz-option>
                </nz-select>
                <ng-template #rcontactInfosData>
                    {{data.rcontactInfo.contact}} &nbsp; &nbsp;&nbsp; {{data.rcontactInfo.tel}}<br />
                    {{data.rcontactInfo.province}} {{data.rcontactInfo.city}} {{data.rcontactInfo.county}}
                    {{data.rcontactInfo.address}}
                </ng-template>
            </se>
            <se label="寄件地址" required>
                <nz-select [(ngModel)]="data.scontactInfo" [nzCustomTemplate]="scontactInfosData" nzDropdownClassName="print_order_select">
                    <nz-option [nzValue]="item" nzLabel="Jack" *ngFor="let item of scontactInfos"
                        [nzCustomContent]="true">
                        {{item.contact}} &nbsp; &nbsp;&nbsp; {{item.tel}}<br />
                        {{item.province}} {{item.city}} {{item.county}} {{item.address}}
                    </nz-option>
                </nz-select>
                <ng-template #scontactInfosData>
                    {{data.scontactInfo.contact}} &nbsp; &nbsp;&nbsp; {{data.scontactInfo.tel}}<br />
                    {{data.scontactInfo.province}} {{data.scontactInfo.city}} {{data.scontactInfo.county}}
                    {{data.scontactInfo.address}}
                </ng-template>
            </se>
        </ng-container>

    </div>
</div>
<div class="modal-footer">
    <button nz-button type="button" (click)="close()">取消</button>
    <button nz-button type="button" nzType="primary" (click)="sure()">保存</button>
</div>