diff --git a/src/app/admin/order-manage/order-manage-routing.module.ts b/src/app/admin/order-manage/order-manage-routing.module.ts index cb5a476..aa660d0 100644 --- a/src/app/admin/order-manage/order-manage-routing.module.ts +++ b/src/app/admin/order-manage/order-manage-routing.module.ts @@ -10,7 +10,8 @@ const routes: Routes = [ { path: 'order-oil-list', component: OrderOilListComponent }, { path: 'order-coupon-list', component: OrderCouponListComponent }, { path: 'order-integral-recharge-list', component: OrderIntegralRechargeComponent }, - { path: 'order-refund-list', component: OrderRefundListComponent } + { path: 'order-refund-list', component: OrderRefundListComponent }, + { path: 'order-kfc-list', component: KfcOrderListComponent} ]; @NgModule({ diff --git a/src/app/admin/order-manage/order-manage.module.ts b/src/app/admin/order-manage/order-manage.module.ts index 3552ea9..b7ed2d2 100644 --- a/src/app/admin/order-manage/order-manage.module.ts +++ b/src/app/admin/order-manage/order-manage.module.ts @@ -11,9 +11,8 @@ import { OrderCouponListComponent } from './order-coupon/order-coupon-list/order import { OrderIntegralRechargeComponent } from './order-integral-recharge/order-integral-recharge.component'; import { OrderRefundListComponent } from './order-refund-list/order-refund-list.component'; - @NgModule({ - declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, OrderRefundListComponent], + declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, OrderRefundListComponent, KfcOrderListComponent], imports: [ CommonModule, OrderManageRoutingModule, diff --git a/src/app/pipes/order/order-pay-type.pipe.ts b/src/app/pipes/order/order-pay-type.pipe.ts index a105349..da7bd12 100644 --- a/src/app/pipes/order/order-pay-type.pipe.ts +++ b/src/app/pipes/order/order-pay-type.pipe.ts @@ -21,6 +21,8 @@ export class OrderPayTypePipe implements PipeTransform { return '银联分期'; case 7: return '嗨森逛油卡'; + default: + return '积分抵扣'; } } diff --git a/src/styles.scss b/src/styles.scss index b45d7aa..08e907c 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -30,6 +30,9 @@ } .search-button{ text-align: center; + a { + margin-left: 8px; + } } .search-button button{ margin-left: 10px;