|
|
|
@ -8,28 +8,30 @@ |
|
|
|
|
<div nz-row> |
|
|
|
|
<div nz-col nzSpan="6"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">销售码</nz-form-label> |
|
|
|
|
<nz-form-label [nzSpan]="6">订单号</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
|
<input nz-input formControlName="salesCode"/> |
|
|
|
|
<input nz-input formControlName="orderNo"/> |
|
|
|
|
</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="phone"/> |
|
|
|
|
</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="merchantName"/>--> |
|
|
|
|
<!-- </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 nzShowSearch nzAllowClear nzPlaceHolder="请选择订单状态" formControlName="status"> |
|
|
|
|
<nz-option nzLabel="待销售" nzValue="1"></nz-option> |
|
|
|
|
<nz-option nzLabel="未使用" nzValue="2"></nz-option> |
|
|
|
|
<nz-option nzLabel="已使用" nzValue="3"></nz-option> |
|
|
|
|
<nz-option nzLabel="待支付" nzValue="1"></nz-option> |
|
|
|
|
<nz-option nzLabel="已支付" nzValue="2"></nz-option> |
|
|
|
|
<nz-option nzLabel="已完成" nzValue="3"></nz-option> |
|
|
|
|
<nz-option nzLabel="已退款" nzValue="4"></nz-option> |
|
|
|
|
<nz-option nzLabel="已取消" nzValue="5"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
@ -64,21 +66,33 @@ |
|
|
|
|
<thead nzSingleSort> |
|
|
|
|
<tr> |
|
|
|
|
<th nzWidth="50px">编号</th> |
|
|
|
|
<th nzWidth="80px">销售码</th> |
|
|
|
|
<th nzWidth="80px">销售截止时间</th> |
|
|
|
|
<th nzWidth="100px">使用截止时间</th> |
|
|
|
|
<th nzWidth="100px">创建时间</th> |
|
|
|
|
<th nzWidth="50px">状态</th> |
|
|
|
|
<th nzWidth="180px">订单号</th> |
|
|
|
|
<th nzWidth="180px">支付流水号</th> |
|
|
|
|
<th nzWidth="120px">客户名称</th> |
|
|
|
|
<th nzWidth="130px">客户电话</th> |
|
|
|
|
<th nzWidth="100px">支付模式</th> |
|
|
|
|
<th nzWidth="100px">支付方式</th> |
|
|
|
|
<th nzWidth="100px">支付金额</th> |
|
|
|
|
<th nzWidth="140px">支付时间</th> |
|
|
|
|
<th nzWidth="140px">取消时间</th> |
|
|
|
|
<th nzWidth="140px">创建时间</th> |
|
|
|
|
<th nzWidth="80px">状态</th> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
<tbody> |
|
|
|
|
<tr *ngFor="let data of ajaxTable.data; let i = index"> |
|
|
|
|
<td>{{i+1}}</td> |
|
|
|
|
<td>{{data.salesCode}}</td> |
|
|
|
|
<td>{{data.orderNo}}</td> |
|
|
|
|
<td>{{data.paySerialNo == null ? '暂无': data.paySerialNo}}</td> |
|
|
|
|
<td>{{data.memName == null ? '暂无': data.memName}}</td> |
|
|
|
|
<td>{{data.memPhone == null ? '暂无': data.memPhone}}</td> |
|
|
|
|
<td>{{data.payModel == null ? '暂无': data.payModel}}</td> |
|
|
|
|
<td>{{data.payType == null ? '暂无': data.payType}}</td> |
|
|
|
|
<td>{{data.payPrice == null ? '暂无': data.payPrice}}</td> |
|
|
|
|
<td>{{data.payTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
<td>{{data.cancelTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
<td>{{data.salesEndTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
<td>{{data.useEndTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
<td>{{data.status | orderCouponStatus}}</td> |
|
|
|
|
<td>{{data.orderStatus | orderCouponStatus}}</td> |
|
|
|
|
</tbody> |
|
|
|
|
</nz-table> |
|
|
|
|
</div> |
|
|
|
|