edit
This commit is contained in:
@ -28,110 +28,108 @@
|
|||||||
</div>
|
</div>
|
||||||
</nz-card> -->
|
</nz-card> -->
|
||||||
|
|
||||||
<nz-card>
|
<nz-card class="table-box">
|
||||||
<nz-card class="table-box">
|
<div class="tab_header">
|
||||||
<div class="tab_header">
|
<label class="page_title"> <label class="driver">|</label> 单据审核</label>
|
||||||
<label class="page_title"> <label class="driver">|</label> 单据审核</label>
|
<nz-tabset (nzSelectedIndexChange)="selectChange($event)" [nzTabBarExtraContent]="extraTemplate">
|
||||||
<nz-tabset (nzSelectedIndexChange)="selectChange($event)" [nzTabBarExtraContent]="extraTemplate">
|
<nz-tab [nzTitle]="'全部(' + tabs?.totalCount + ')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'全部(' + tabs?.totalCount + ')'"></nz-tab>
|
<nz-tab [nzTitle]="'待审核(' + tabs?.receivedQuantity + ')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'待审核(' + tabs?.receivedQuantity + ')'"></nz-tab>
|
<nz-tab [nzTitle]="'已审核(' + tabs?.stayQuantity + ')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'已审核(' + tabs?.stayQuantity + ')'"></nz-tab>
|
</nz-tabset>
|
||||||
</nz-tabset>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<st #st [bordered]="true" [scroll]="{ x: '2000px',y:scrollY }" [data]="service.$api_get_billExamine_page"
|
<st #st [bordered]="true" [scroll]="{ x: '2000px',y:scrollY }" [data]="service.$api_get_billExamine_page"
|
||||||
[columns]="columns" [req]="{ process: beforeReq }"
|
[columns]="columns" [req]="{ process: beforeReq }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } , process: afterRes}"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } , process: afterRes}"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" [loading]="false">
|
||||||
[loading]="false">
|
<ng-template st-row="freightPrice" let-item let-index="index">
|
||||||
<ng-template st-row="freightPrice" let-item let-index="index">
|
{{ item.freightPrice | currency }}
|
||||||
{{ item.freightPrice | currency }}
|
</ng-template>
|
||||||
</ng-template>
|
<ng-template st-row="loadingLadingBillFilePath" let-item let-index="index">
|
||||||
<ng-template st-row="loadingLadingBillFilePath" let-item let-index="index">
|
<div class="imgBox">
|
||||||
<div class="imgBox">
|
<div *ngIf="item.loadingLadingBillFilePath">
|
||||||
<div *ngIf="item.loadingLadingBillFilePath">
|
<app-imagelist style="width: 40px" [imgList]="[item.loadingLadingBillFilePath]"> </app-imagelist>
|
||||||
<app-imagelist style="width: 40px" [imgList]="[item.loadingLadingBillFilePath]"> </app-imagelist>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="item.loadingPeopleVehiclesGoodsFilePath">
|
|
||||||
<app-imagelist style="width: 40px" [imgList]="[item.loadingPeopleVehiclesGoodsFilePath]"> </app-imagelist>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
<div *ngIf="item.loadingPeopleVehiclesGoodsFilePath">
|
||||||
<ng-template st-row="unloadingLadingBillFilePath" let-item let-index="index">
|
<app-imagelist style="width: 40px" [imgList]="[item.loadingPeopleVehiclesGoodsFilePath]"> </app-imagelist>
|
||||||
<div class="imgBox">
|
|
||||||
<div *ngIf="item.unloadingLadingBillFilePath">
|
|
||||||
<app-imagelist style="width: 40px" [imgList]="[item.unloadingLadingBillFilePath]"> </app-imagelist>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="item.unloadingPeopleVehiclesGoodsFilePath">
|
|
||||||
<app-imagelist style="width: 40px" [imgList]="[item.unloadingPeopleVehiclesGoodsFilePath]">
|
|
||||||
</app-imagelist>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</div>
|
||||||
<ng-template st-row="loadingTime" let-item let-index="index">
|
</ng-template>
|
||||||
<div *ngIf="item?.loadingTime">装 | {{ item?.loadingTime }}</div>
|
<ng-template st-row="unloadingLadingBillFilePath" let-item let-index="index">
|
||||||
<div *ngIf="item?.unloadingTime">卸 | {{ item?.unloadingTime }}</div>
|
<div class="imgBox">
|
||||||
</ng-template>
|
<div *ngIf="item.unloadingLadingBillFilePath">
|
||||||
<ng-template st-row="driverName" let-item let-index="index">
|
<app-imagelist style="width: 40px" [imgList]="[item.unloadingLadingBillFilePath]"> </app-imagelist>
|
||||||
<div> {{ item?.driverName }}{{ item?.driverPhone ? "/" + item?.driverPhone : ''}}{{ item?.carNo ? "/" +
|
|
||||||
item?.carNo : '' }} </div>
|
|
||||||
</ng-template>
|
|
||||||
<ng-template st-row="payeeName" let-item let-index="index">
|
|
||||||
<div> {{ item?.payeeName }}{{item?.payeePhone ? "/" + item?.payeePhone : '' }} </div>
|
|
||||||
</ng-template>
|
|
||||||
<ng-template st-row="billCode" let-item let-index="index">
|
|
||||||
<!-- <div>{{ item.billCode }}</div> -->
|
|
||||||
<a *ngIf="item.resourceType == '1'" [routerLink]="'/order-management/vehicle/vehicle-detail/' + item.id">{{
|
|
||||||
item.billCode }}</a>
|
|
||||||
<a *ngIf="item.resourceType == '2'" [routerLink]="'/order-management/bulk/bulk-detail/' + item.id">{{
|
|
||||||
item.billCode }}</a>
|
|
||||||
<a *ngIf="item.resourceType == '3'" [routerLink]="'/order-management/vehicle/vehicle-detail/' + item.id">{{
|
|
||||||
item.billCode }}</a>
|
|
||||||
<div>
|
|
||||||
<span>{{item?.billStatusLabel}}</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div *ngIf="item.unloadingPeopleVehiclesGoodsFilePath">
|
||||||
<span>{{item?.resourceTypeLabel}}{{item?.serviceTypeLabel === item?.resourceTypeLabel ?
|
<app-imagelist style="width: 40px" [imgList]="[item.unloadingPeopleVehiclesGoodsFilePath]">
|
||||||
'':item?.serviceTypeLabel}}</span>
|
</app-imagelist>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</div>
|
||||||
<ng-template st-row="goodsName" let-item let-index="index">
|
</ng-template>
|
||||||
<div>{{ item?.goodsName }}</div>
|
<ng-template st-row="loadingTime" let-item let-index="index">
|
||||||
<div>
|
<div *ngIf="item?.loadingTime">装 | {{ item?.loadingTime }}</div>
|
||||||
<span>{{ item?.weight ? item?.weight + '吨/' : '' }}</span>
|
<div *ngIf="item?.unloadingTime">卸 | {{ item?.unloadingTime }}</div>
|
||||||
<span>{{ item?.volume ? item?.volume + '方/' : '' }}</span>
|
</ng-template>
|
||||||
<span>{{ item?.goodsNumber ? item?.goodsNumber + '件' : '' }}</span>
|
<ng-template st-row="driverName" let-item let-index="index">
|
||||||
</div>
|
<div> {{ item?.driverName }}{{ item?.driverPhone ? "/" + item?.driverPhone : ''}}{{ item?.carNo ? "/" +
|
||||||
</ng-template>
|
item?.carNo : '' }} </div>
|
||||||
<ng-template st-row="mybidDetailInfo" let-item let-index="index">
|
</ng-template>
|
||||||
<div *ngIf="item.mybidDetailInfo.length > 0">
|
<ng-template st-row="payeeName" let-item let-index="index">
|
||||||
<p *ngFor="let data of item.mybidDetailInfo">
|
<div> {{ item?.payeeName }}{{item?.payeePhone ? "/" + item?.payeePhone : '' }} </div>
|
||||||
{{ data.expenseName }}:{{ data.price | currency }}
|
</ng-template>
|
||||||
<span *ngIf="data.paymentStatusLabel" style="color: #f59a63">{{ data.paymentStatusLabel }}</span>
|
<ng-template st-row="billCode" let-item let-index="index">
|
||||||
</p>
|
<!-- <div>{{ item.billCode }}</div> -->
|
||||||
</div>
|
<a *ngIf="item.resourceType == '1'" [routerLink]="'/order-management/vehicle/vehicle-detail/' + item.id">{{
|
||||||
</ng-template>
|
item.billCode }}</a>
|
||||||
</st>
|
<a *ngIf="item.resourceType == '2'" [routerLink]="'/order-management/bulk/bulk-detail/' + item.id">{{
|
||||||
</div>
|
item.billCode }}</a>
|
||||||
</nz-card>
|
<a *ngIf="item.resourceType == '3'" [routerLink]="'/order-management/vehicle/vehicle-detail/' + item.id">{{
|
||||||
|
item.billCode }}</a>
|
||||||
|
<div>
|
||||||
|
<span>{{item?.billStatusLabel}}</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<span>{{item?.resourceTypeLabel}}{{item?.serviceTypeLabel === item?.resourceTypeLabel ?
|
||||||
|
'':item?.serviceTypeLabel}}</span>
|
||||||
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
<ng-template st-row="goodsName" let-item let-index="index">
|
||||||
|
<div>{{ item?.goodsName }}</div>
|
||||||
|
<div>
|
||||||
|
<span>{{ item?.weight ? item?.weight + '吨/' : '' }}</span>
|
||||||
|
<span>{{ item?.volume ? item?.volume + '方/' : '' }}</span>
|
||||||
|
<span>{{ item?.goodsNumber ? item?.goodsNumber + '件' : '' }}</span>
|
||||||
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
<ng-template st-row="mybidDetailInfo" let-item let-index="index">
|
||||||
|
<div *ngIf="item.mybidDetailInfo.length > 0">
|
||||||
|
<p *ngFor="let data of item.mybidDetailInfo">
|
||||||
|
{{ data.expenseName }}:{{ data.price | currency }}
|
||||||
|
<span *ngIf="data.paymentStatusLabel" style="color: #f59a63">{{ data.paymentStatusLabel }}</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
</st>
|
||||||
|
</div>
|
||||||
|
</nz-card>
|
||||||
|
|
||||||
<ng-template #extraTemplate>
|
<ng-template #extraTemplate>
|
||||||
<div>
|
<div>
|
||||||
<button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()" acl
|
<button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()" acl
|
||||||
[acl-ability]="['ORDER-RECEIPTS-search']">查询</button>
|
[acl-ability]="['ORDER-RECEIPTS-search']">查询</button>
|
||||||
<button nz-button nzDanger [disabled]="false" (click)="exprot()">导出</button>
|
<button nz-button nzDanger [disabled]="false" (click)="exprot()">导出</button>
|
||||||
<button nz-button nz-dropdown [nzDropdownMenu]="menu" nzPlacement="bottomLeft">
|
<button nz-button nz-dropdown [nzDropdownMenu]="menu" nzPlacement="bottomLeft">
|
||||||
更多<i nz-icon nzType="down" nzTheme="outline"></i></button>
|
更多<i nz-icon nzType="down" nzTheme="outline"></i></button>
|
||||||
<nz-dropdown-menu #menu="nzDropdownMenu">
|
<nz-dropdown-menu #menu="nzDropdownMenu">
|
||||||
<ul nz-menu>
|
<ul nz-menu>
|
||||||
<li nz-menu-item (click)="sign('1')" acl [acl-ability]="['ORDER-RECEIPTS-billAuditPassBatch']">
|
<li nz-menu-item (click)="sign('1')" acl [acl-ability]="['ORDER-RECEIPTS-billAuditPassBatch']">
|
||||||
批量通过
|
批量通过
|
||||||
</li>
|
</li>
|
||||||
<li nz-menu-item a(click)="sign1('1')" acl [acl-ability]="['ORDER-RECEIPTS- electronicBilling']">
|
<li nz-menu-item a(click)="sign1('1')" acl [acl-ability]="['ORDER-RECEIPTS- electronicBilling']">
|
||||||
批量生成电子单据
|
批量生成电子单据
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nz-dropdown-menu>
|
</nz-dropdown-menu>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
p{
|
||||||
|
margin-bottom: 0
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user