72 lines
3.4 KiB
HTML
72 lines
3.4 KiB
HTML
<page-header-wrapper [title]="'销票处理'">
|
|
</page-header-wrapper>
|
|
|
|
|
|
<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: 110,grid: { lg: 8, md: 12, sm: 12, xs: 24,gutter:10 } }}"
|
|
[compact]="true" [button]="'none'"></sf>
|
|
</div>
|
|
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" 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> 导出</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>
|
|
<nz-tabset [nzTabBarExtraContent]="extraTemplate" (nzSelectedIndexChange)="selectChange($event)">
|
|
<nz-tab nzTitle="全部"></nz-tab>
|
|
<nz-tab nzTitle="待处理"></nz-tab>
|
|
<nz-tab nzTitle="待确认"></nz-tab>
|
|
<nz-tab nzTitle="已确认"></nz-tab>
|
|
</nz-tabset>
|
|
<ng-template #extraTemplate>
|
|
<div class="d-flex align-items-center">
|
|
<div class="mr-md">
|
|
已选择
|
|
<strong class="text-red">{{ selectedRows.length }}</strong> 张发票 发票金额总计
|
|
<strong class="text-red">{{totalCallNo }}</strong>
|
|
<a *ngIf="totalCallNo > 0" (click)="st.clearCheck()" class="ml-lg">清空</a>
|
|
</div>
|
|
<button nz-button *ngIf="resourceStatus===1 || !resourceStatus" (click)="this.batchPush()">推送开票</button>
|
|
<!-- <button nz-button *ngIf="resourceStatus===1 || !resourceStatus"
|
|
(click)="this.batchRemove(selectedRows)">移除</button>
|
|
<button nz-button *ngIf="resourceStatus===2 || !resourceStatus"
|
|
(click)="this.batchWithdraw(selectedRows)">撤回</button> -->
|
|
</div>
|
|
</ng-template>
|
|
|
|
|
|
<st #st [scroll]="{ x: '2000px' }" [data]="service.$api_ficoVatinvHList" [columns]="columns"
|
|
[req]="{process: beforeReq }" [res]="{process:afterRes }" [loading]="service.http.loading"
|
|
(change)="stChange($event)">
|
|
<ng-template st-row="vatinvcode" let-item let-index="index" let-column="column">
|
|
{{ item.vatinvcode }} <br>
|
|
<label class="text-primary" *ngIf="item.sts == '1'">待处理</label>
|
|
<label class="text-primary" *ngIf="item.sts == '2'">待确认</label>
|
|
<label class="text-primary" *ngIf="item.sts == '3'">已确认</label>
|
|
</ng-template>
|
|
</st>
|
|
</nz-card>
|
|
|
|
<ng-template #requestedModal>
|
|
<div nz-row nzGutter="8">
|
|
<div nz-col nzSpan="24" se-container [labelWidth]="100">
|
|
<se [col]="1" label="开票日期" required>
|
|
<nz-date-picker [(ngModel)]="openInfo.invoicedate" nzPlaceHolder="请选择" style=" width: 100%;">
|
|
</nz-date-picker>
|
|
</se>
|
|
<se [col]="1" label="发票号码" required>
|
|
<input nz-input [(ngModel)]="openInfo.invoiceno" placeholder="请输入" />
|
|
</se>
|
|
</div>
|
|
</div>
|
|
</ng-template> |