|
|
|
@ -15,14 +15,18 @@ |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</div> |
|
|
|
|
<!-- <div nz-col nzSpan="6">--> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSpan]="6">审核类型</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSpan]="16">--> |
|
|
|
|
<!-- <input nz-input formControlName="objectType"/>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<div nz-col nzSpan="6"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">审核类型</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
|
<nz-select formControlName="objectType"> |
|
|
|
|
<nz-option nzValue="1" nzLabel="Jack"></nz-option> |
|
|
|
|
<nz-option nzValue="2" nzLabel="Lucy"></nz-option> |
|
|
|
|
<nz-option nzValue="disabled" nzLabel="Disabled" nzDisabled></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</div> |
|
|
|
|
<div nz-col nzSpan="6"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">审核流水号</nz-form-label> |
|
|
|
@ -80,13 +84,34 @@ |
|
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
<td>{{data.status | auditStatus}}</td> |
|
|
|
|
<td nzRight="0px" class="table-td-operation"> |
|
|
|
|
<a (click)="getEdit(data.id)"><i nz-icon nzType="form" nzTheme="outline" nz-tooltip="编辑"></i></a> |
|
|
|
|
<nz-divider nzType="vertical"></nz-divider> |
|
|
|
|
<a (click)="getDetail(data.id)"><i nz-icon [nzIconfont]="'icon-xiangqing'" nz-tooltip="审核详情"></i></a> |
|
|
|
|
</td> |
|
|
|
|
</tbody> |
|
|
|
|
</nz-table> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<nz-modal [(nzVisible)]="isVisible" nzWidth="900" nzTitle="审核详情" (nzOnCancel)="handleCancel()"> |
|
|
|
|
<ng-container> |
|
|
|
|
<nz-descriptions nzBordered> |
|
|
|
|
<nz-descriptions-item nzTitle="审核类型" >{{data['approve']['objectType'] | auditType}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="审核状态">{{data['approve']['status'] | auditStatus}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="申请人员">{{data['approve']['submitOperatorName']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="审核名称">{{data['approve']['objectName']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="卡券KEY">{{data['object']['couponKey']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="卡券面值">¥{{data['object']['couponPrice']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="销售价格">¥{{data['object']['salesPrice']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="折扣价格">¥{{data['object']['salesPrice']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="销售数量">{{data['object']['salesCount']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="限购数量">{{data['object']['limitNumber']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="归库天数">{{data['object']['recycleDay']}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="卡券类型">{{data['object']['couponType'] === 1 ? '内部卷' : '外部卷'}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="销售截至时间">{{data['object']['salesEndTime'] | date : 'yyyy-MM-dd'}}</nz-descriptions-item> |
|
|
|
|
<nz-descriptions-item nzTitle="创建时间">{{data['object']['createTime'] | date : 'yyyy-MM-dd'}}</nz-descriptions-item> |
|
|
|
|
</nz-descriptions> |
|
|
|
|
</ng-container> |
|
|
|
|
<div *nzModalFooter> |
|
|
|
|
<button nz-button nzType="default" (click)="approveProcessed(2)">审核驳回</button> |
|
|
|
|
<button nz-button nzType="primary" (click)="approveProcessed(3)">审核通过</button> |
|
|
|
|
</div> |
|
|
|
|
</nz-modal> |
|
|
|
|
|
|
|
|
|