diff --git a/src/app/routes/financial-management/services/freight-account.service.ts b/src/app/routes/financial-management/services/freight-account.service.ts index a3478e5c..692df4a1 100644 --- a/src/app/routes/financial-management/services/freight-account.service.ts +++ b/src/app/routes/financial-management/services/freight-account.service.ts @@ -1,13 +1,13 @@ /* * @Author: your name * @Date: 2021-12-30 19:36:30 - * @LastEditTime: 2021-12-31 13:50:41 - * @LastEditors: your name + * @LastEditTime: 2022-01-04 10:34:31 + * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\financial-management\services\freight-account.service.ts */ import { Injectable, Injector } from '@angular/core'; -import { BaseService, ShipperBaseService } from '@shared'; +import { BaseService, EACacheService, ShipperBaseService } from '@shared'; @Injectable({ providedIn: 'root' @@ -57,7 +57,7 @@ export class FreightAccountService extends ShipperBaseService { // 根据费用头ID查询费用单及开票明细 $api_get_cost_detail = '/api/fcc/ficoFeeL/detail'; - constructor(public injector: Injector) { - super(injector); + constructor(public injector: Injector,public eaCacheSrv: EACacheService) { + super(injector, eaCacheSrv); } } diff --git a/src/app/routes/order-management/components/vehicle/vehicle.component.ts b/src/app/routes/order-management/components/vehicle/vehicle.component.ts index 4ed2df1d..7382eefe 100644 --- a/src/app/routes/order-management/components/vehicle/vehicle.component.ts +++ b/src/app/routes/order-management/components/vehicle/vehicle.component.ts @@ -638,6 +638,11 @@ resourceStatus: any; // return false; // } }); + modal.afterClose.subscribe((result) => { + if (result) { + this.st.load(1); + } + }); } /** *修改网络货运人 diff --git a/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.html b/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.html index 71ed039e..0bca6cca 100644 --- a/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.html +++ b/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.html @@ -1,7 +1,7 @@