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 cfe430d..c62cd7a 100644 --- a/src/app/admin/order-manage/order-manage-routing.module.ts +++ b/src/app/admin/order-manage/order-manage-routing.module.ts @@ -3,12 +3,14 @@ import { Routes, RouterModule } from '@angular/router'; import {OrderOilListComponent} from './order-oil/order-oil-list/order-oil-list.component'; import {OrderCouponListComponent} from './order-coupon/order-coupon-list/order-coupon-list.component'; import {OrderIntegralRechargeComponent} from './order-integral-recharge/order-integral-recharge.component'; +import {KfcOrderListComponent} from './kfc-order/kfc-order-list/kfc-order-list.component'; const routes: Routes = [ { path: 'order-oil-list', component: OrderOilListComponent }, { path: 'order-coupon-list', component: OrderCouponListComponent }, - { path: 'order-integral-recharge-list', component: OrderIntegralRechargeComponent} + { path: 'order-integral-recharge-list', component: OrderIntegralRechargeComponent}, + { 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 f214fac..03b9753 100644 --- a/src/app/admin/order-manage/order-manage.module.ts +++ b/src/app/admin/order-manage/order-manage.module.ts @@ -9,10 +9,11 @@ import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {AppCommonModule} from '../../app-common.module'; import { OrderCouponListComponent } from './order-coupon/order-coupon-list/order-coupon-list.component'; import { OrderIntegralRechargeComponent } from './order-integral-recharge/order-integral-recharge.component'; +import { KfcOrderListComponent } from './kfc-order/kfc-order-list/kfc-order-list.component'; @NgModule({ - declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent], + declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, 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;