提交商品添加

2.0-dev
袁野 1 year ago
parent 13d36c18c7
commit 6157d97f04
  1. 10
      src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.html
  2. 4
      src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.ts

@ -195,8 +195,9 @@
<nz-dropdown-menu #menu="nzDropdownMenu"> <nz-dropdown-menu #menu="nzDropdownMenu">
<ul nz-menu nzSelectable> <ul nz-menu nzSelectable>
<li nz-menu-item (click)="showOrderDetail(data.orderNo)"><a>详情</a></li> <li nz-menu-item (click)="showOrderDetail(data.orderNo)"><a>详情</a></li>
<li nz-menu-item *ngIf="data.exceptionStatus === true && data.orderStatus=== 2" (click)="refundOrder(data.orderNo)"><a>订单退款</a></li>
<li nz-menu-item *ngIf="data.exceptionStatus === true" (click)="orderNormal(data.orderNo)"><a>异常转正常</a></li> <li nz-menu-item *ngIf="data.exceptionStatus === true" (click)="orderNormal(data.orderNo)"><a>异常转正常</a></li>
<li nz-menu-item *ngIf="data.exceptionStatus === true && data.orderStatus=== 2" (click)="refundOrder(data.orderNo)"><a>订单退款</a></li>
</ul> </ul>
</nz-dropdown-menu> </nz-dropdown-menu>
</td> </td>
@ -275,6 +276,8 @@
<th nzWidth="200px">充值内容</th> <th nzWidth="200px">充值内容</th>
<th nzWidth="200px">查询内容</th> <th nzWidth="200px">查询内容</th>
<th nzWidth="100px">创建时间</th> <th nzWidth="100px">创建时间</th>
<th nzRight nzWidth="100px">更新时间</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -285,10 +288,15 @@
<td>{{data.ext1}}</td> <td>{{data.ext1}}</td>
<td>{{data.ext3}}</td> <td>{{data.ext3}}</td>
<td>{{data['createTime'] | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{data['createTime'] | date: 'yyyy-MM-dd HH:mm'}}</td>
<td nzRight>{{data['updateTime'] | date: 'yyyy-MM-dd HH:mm:ss'}}</td>
</tr> </tr>
</tbody> </tbody>
</nz-table> </nz-table>
</nz-tab> </nz-tab>
</nz-tabset> </nz-tabset>
</nz-spin> </nz-spin>
<div *nzModalFooter>
<button *ngIf="orderDetailObject.tradeOrder.exceptionStatus === true" nz-button nzType="primary" (click)="orderNormal(orderDetailObject.tradeOrder.orderNo)">异常转正常</button>
</div>
</nz-modal> </nz-modal>

@ -200,6 +200,10 @@ export class MobileRechargeOrderListComponent implements OnInit {
public orderNormal(orderNo: string): void { public orderNormal(orderNo: string): void {
if (this.orderDetailModal) {
this.orderDetailModal = false;
}
this.loadingObject.status = true; this.loadingObject.status = true;
this.loadingObject.title = '修改中...'; this.loadingObject.title = '修改中...';
this.orderMobileRechargeService.orderNormal(orderNo , data => { this.orderMobileRechargeService.orderNormal(orderNo , data => {

Loading…
Cancel
Save