From 72eb70bf75e86c228f976eaac935975dee953ab6 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 28 Apr 2022 21:41:10 +0800 Subject: [PATCH 1/4] fix bug --- .../close-account.component.html | 6 +-- .../close-account/close-account.component.ts | 6 ++- .../sys-setting/sys-setting-routing.module.ts | 6 +-- .../invoice-reporting.component.html | 39 +++++++++++++------ 4 files changed, 37 insertions(+), 20 deletions(-) diff --git a/src/app/routes/sys-setting/components/close-account/close-account.component.html b/src/app/routes/sys-setting/components/close-account/close-account.component.html index b29143f4..2bf35804 100644 --- a/src/app/routes/sys-setting/components/close-account/close-account.component.html +++ b/src/app/routes/sys-setting/components/close-account/close-account.component.html @@ -22,8 +22,8 @@
- - + + +
this.roleAction(item, 2) + click: item => this.roleAction(item, 2), + acl: { ability: ['SYSTEM-CLOSE-ACCOUNT-edit'] }, }, { text: '删除', - click: item => this.deleteAction(item) + click: item => this.deleteAction(item), + acl: { ability: ['SYSTEM-CLOSE-ACCOUNT-delete'] }, }, ] } diff --git a/src/app/routes/sys-setting/sys-setting-routing.module.ts b/src/app/routes/sys-setting/sys-setting-routing.module.ts index fb77019d..c307b78d 100644 --- a/src/app/routes/sys-setting/sys-setting-routing.module.ts +++ b/src/app/routes/sys-setting/sys-setting-routing.module.ts @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-12-03 15:23:05 - * @LastEditTime : 2022-02-23 17:17:53 + * @LastEditTime : 2022-04-28 21:40:03 * @LastEditors : Shiming * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\sys-setting-routing.module.ts @@ -34,7 +34,7 @@ const routes: Routes = [ { path: 'role-management/freight/:type', component: RoleManagementComponent }, { path: 'organization-management', component: OrganizationManagementComponent, data: { guard: { ability: ['SYSTEM-ROLE-list'] } } }, { path: 'basic-setting', component: BasicSettingComponent, data: { guard: { ability: ['SYSTEM-BASIC_SETTING-list'] } } }, - { path: 'note-management', component: NoTeManagementComponent }, + { path: 'note-management', component: NoTeManagementComponent, data: { guard: { ability: ['NOTE-MANAGEMENT-search'] } } }, { path: 'basic-config', component: BasicConfigComponent }, { path: 'audit-reason-config', component: AuditReasonConfigComponent }, { @@ -52,7 +52,7 @@ const routes: Routes = [ { path: 'crm-management', component: CrmManagementComponent, data: { guard: { ability: ['SYSTEM-CRM-list'] } } }, { path: 'network-freight', component: NetworkFreightComponent, data: { guard: { ability: ['SYSTEM-NETWORK-FREIGHT-list'] } } }, { path: 'network-freight/new/:id', component: NetworkFreightNewComponent }, - { path: 'close-account', component: CloseAccountComponent }, + { path: 'close-account', component: CloseAccountComponent, data: { guard: { ability: ['SYSTEM-CLOSE-ACCOUNT-list'] } } }, // { path: 'btn-management', component: BtnManagementComponent }, { path: 'announcement-message', component: AnnouncementMessageComponent, data: { guard: { ability: ['SYSTEM-ANNOUNCEMENT-list'] } } }, { path: 'insurance-set', component: InsuranceSetComponent }, diff --git a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html index 0a8ae0a5..2f59f9a9 100644 --- a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html +++ b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html @@ -7,7 +7,7 @@
- +
- - - + + - + [page]="{ show: true, showSize: true, pageSizes: [10, 20, 50, 100] }" + [loading]="service.http.loading" + > 待上传 已上传 上传中 - 上传异常 + 上传异常 增值税专用发票 - 有效 - 作废 + 有效 + 作废 -
{{item?.orderAmount | currency }}
+
{{ item?.orderAmount | currency }}
@@ -53,7 +58,17 @@ 已选择 {{ selectedRows.length }} 条数据 - - + + From 4fa3096bae0a117374dbb698c70433c28da88085 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 28 Apr 2022 21:59:39 +0800 Subject: [PATCH 2/4] fix bug --- .../freight-account-detail.component.ts | 4 +++- .../modify-rate/modify-rate.component.html | 4 ++-- .../vehicle/modify-rate/modify-rate.component.ts | 16 ++++++++++++---- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts b/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts index 3b1bb143..60e99082 100644 --- a/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts +++ b/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts @@ -46,7 +46,7 @@ export class FreightAccountDetailComponent implements OnInit { } }); } - // this.loadStatistics(requestOptions.body); + this.loadStatistics(requestOptions.body); return requestOptions; }; @@ -75,6 +75,8 @@ export class FreightAccountDetailComponent implements OnInit { loadStatistics(params: any) { this.service.request(this.service.$api_get_shipper_account_balance_detail, params).subscribe(res => { if (res) { + console.log(res); + this.static = res; } }); 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 ad382091..fb79a754 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 @@ -4,14 +4,14 @@ * @Author : Shiming * @Date : 2021-12-29 14:51:07 * @LastEditors : Shiming - * @LastEditTime : 2022-03-08 13:21:35 + * @LastEditTime : 2022-04-28 21:58:14 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-rate\\modify-rate.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> - { + console.log(item); + this.modiUrl = this.service.$api_searchAdditionalRateBatch; + this.st.reload(1) + + } } as SFNumberWidgetSchema } }, From 914fdd5535ce32792b34fa47736d484984666ba5 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 28 Apr 2022 22:03:22 +0800 Subject: [PATCH 3/4] fix bug --- .../modal/vehicle/modify-rate/modify-rate.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.ts b/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.ts index ffb0eb1c..a7be8521 100644 --- a/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.ts +++ b/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.ts @@ -5,7 +5,7 @@ import { STComponent } from '@delon/abc/st'; * @Author : Shiming * @Date : 2021-12-29 14:51:07 * @LastEditors : Shiming - * @LastEditTime : 2022-04-28 21:56:55 + * @LastEditTime : 2022-04-28 22:03:03 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-rate\\modify-rate.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -69,7 +69,7 @@ export class VehicleModifyRateComponent implements OnInit { change:(item: any) => { console.log(item); this.modiUrl = this.service.$api_searchAdditionalRateBatch; - this.st.reload(1) + this.st.reload() } } as SFNumberWidgetSchema From a37f26ef6c40667f955809496c27f2567042d3ca Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 28 Apr 2022 22:12:48 +0800 Subject: [PATCH 4/4] fix bug --- .../modify-rate/modify-rate.component.html | 4 ++-- .../modify-rate/modify-rate.component.ts | 19 ++++++++++++++----- 2 files changed, 16 insertions(+), 7 deletions(-) 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 fb79a754..8f453052 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 @@ -4,14 +4,14 @@ * @Author : Shiming * @Date : 2021-12-29 14:51:07 * @LastEditors : Shiming - * @LastEditTime : 2022-04-28 21:58:14 + * @LastEditTime : 2022-04-28 22:11:32 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-rate\\modify-rate.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> - { + console.log(res); + this.dataList = res + }) + } initSF() { this.schema = { properties: { @@ -68,9 +77,9 @@ export class VehicleModifyRateComponent implements OnInit { precision: 2, change:(item: any) => { console.log(item); - this.modiUrl = this.service.$api_searchAdditionalRateBatch; - this.st.reload() - + setTimeout(() => { + this.initData() + }); } } as SFNumberWidgetSchema }