105 lines
4.3 KiB
HTML
105 lines
4.3 KiB
HTML
<!--
|
||
* @Author: your name
|
||
* @Date: 2021-12-03 11:10:14
|
||
* @LastEditTime: 2021-12-24 15:36:09
|
||
* @LastEditors: Please set LastEditors
|
||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
||
-->
|
||
<!-- 搜索表单 -->
|
||
<page-header-wrapper [title]="''">
|
||
</page-header-wrapper>
|
||
<nz-card>
|
||
<div nz-row nzGutter="8">
|
||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" [loading]="service.http.loading"
|
||
(formSubmit)="st?.load(1)" (formReset)="resetSF()"></sf>
|
||
</div>
|
||
|
||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||
<ng-container *ngIf="queryFieldCount > 4">
|
||
<div nz-col [nzSpan]="_$expand ? 24 : 18">
|
||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||
</div>
|
||
<div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right">
|
||
<button nz-button nzType="primary" [nzLoading]="service.http.loading"
|
||
(click)="st?.load(1)">查询</button>
|
||
<button nz-button nzType="primary" [disabled]="service.http.loading"
|
||
>导出</button>
|
||
<button nz-button [disabled]="service.http.loading" (click)="resetSF()">重置</button>
|
||
<button nz-button nzType="link" (click)="expandToggle()">
|
||
{{ !_$expand ? '展开' : '收起' }}
|
||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||
</button>
|
||
</div>
|
||
</ng-container>
|
||
</div>
|
||
</nz-card>
|
||
|
||
<nz-card>
|
||
<nz-tabset (nzSelectedIndexChange)="selectChange($event)"
|
||
[nzTabBarExtraContent]="extraTemplate">
|
||
<nz-tab [nzTitle]="'全部'"></nz-tab>
|
||
<nz-tab [nzTitle]="'待申诉('+tabs?.stayQuantity+')'"></nz-tab>
|
||
<nz-tab [nzTitle]="'申诉中('+tabs?.underwayQuantity+')'"></nz-tab>
|
||
<nz-tab [nzTitle]="'申诉成功('+tabs?.receivedQuantity+')'"></nz-tab>
|
||
<nz-tab [nzTitle]="'申诉失败('+tabs?.cancelQuantity+')'"></nz-tab>
|
||
</nz-tabset>
|
||
<div style="margin-top: 15px;">
|
||
<st
|
||
#st
|
||
[bordered]="true"
|
||
[scroll]="{ x: '2000px' }"
|
||
[data]="service.$api_get_listRiskPage"
|
||
[columns]="columns"
|
||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||
[loading]="service.http.loading"
|
||
>
|
||
<ng-template st-row="billCode" let-item let-index="index">
|
||
<a [routerLink]="'/order-management/risk-detail/'+item.id">{{item?.billCode}}</a>
|
||
</ng-template>
|
||
<ng-template st-row="timeer" let-item let-index="index">
|
||
<p>创建时间:{{item?.createTime}}</p>
|
||
<p>装货时间:{{item?.loadTime}}</p>
|
||
<p>卸货时间:{{item?.unloadTime}}</p>
|
||
</ng-template>
|
||
<ng-template st-row="billExpenseDetailVOList" let-item let-index="index">
|
||
<div *ngFor="let i of item?.billExpenseDetailVOList">
|
||
<p>{{i?.costName}}:¥{{i?.price}}</p>
|
||
</div>
|
||
</ng-template>
|
||
<ng-template st-row="goodsInfoVOList" let-item let-index="index">
|
||
<div *ngFor="let i of item?.goodsInfoVOList">
|
||
<p>货物名称:{{i?.goodsName}}</p>
|
||
<p>重量/体积:{{i?.weight}}吨/{{i?.volume}}方</p>
|
||
<p>车型/车长:{{i?.maxWeight}}/ {{i?.maxCube}}</p>
|
||
</div>
|
||
</ng-template>
|
||
</st>
|
||
</div>
|
||
</nz-card>
|
||
|
||
<nz-modal [(nzVisible)]="isVisibleRE" [nzWidth]="600" [nzFooter]="nzModalFooterview2" (nzOnOk)="handleOK()" nzTitle="审核" (nzOnCancel)="handleCancel()">
|
||
<ng-container *nzModalContent>
|
||
<sf #sfView [schema]="schemaView" [ui]="uiView" [compact]="true" [button]="'none'">
|
||
</sf>
|
||
</ng-container>
|
||
<ng-template #nzModalFooterview2>
|
||
<button nz-button nzType="default" (click)="reject()">拒绝</button>
|
||
<button nz-button nzType="primary" (click)="handleOK()">通过</button>
|
||
</ng-template>
|
||
</nz-modal>
|
||
|
||
<ng-template #extraTemplate>
|
||
<div>
|
||
<button nz-button nzType="primary" (click)="audit()">
|
||
批量审核
|
||
</button>
|
||
</div>
|
||
</ng-template>
|
||
|
||
|