From b2925be94d798ab897fcef209727da57acbe82fd Mon Sep 17 00:00:00 2001 From: wangshiming Date: Fri, 11 Feb 2022 13:24:02 +0800 Subject: [PATCH 1/2] fix bug --- .../vehicle/update-freight/update-freight.component.html | 6 +++--- .../vehicle/update-freight/update-freight.component.ts | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.html b/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.html index 7a407cfa..6d08fc39 100644 --- a/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.html +++ b/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-15 13:17:42 * @LastEditors : Shiming - * @LastEditTime : 2022-01-18 17:24:08 + * @LastEditTime : 2022-02-11 11:08:42 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -14,9 +14,9 @@

总运费:{{ data.totalFreight | currency }}总运费:{{ data?.totalAmount | currency }} - (运输费:{{ data.freight | currency }},附加费:{{ data.surcharge | currency }}) + (运输费:{{ data?.totalFreight | currency }},附加费:{{ data?.totalSurcharge | currency }},附加费率:{{ data?.totalRate * 100 + '%' }})

diff --git a/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.ts b/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.ts index c9a940a2..bb7b9cd2 100644 --- a/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.ts +++ b/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-15 13:17:42 * @LastEditors : Shiming - * @LastEditTime : 2022-01-18 17:24:18 + * @LastEditTime : 2022-02-11 11:06:40 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -35,6 +35,7 @@ export class VehicleUpdateFreightComponent implements OnInit { constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public service: OrderManagementService) {} ngOnInit(): void { + console.log(this.data) this.initSF(this.data); } initSF(data: any) { From bbd47bd2b731c52959831fa28a45fcf4b331bcba Mon Sep 17 00:00:00 2001 From: wangshiming Date: Fri, 11 Feb 2022 13:52:07 +0800 Subject: [PATCH 2/2] fix bug --- .../expenses-receivable.component.html | 10 ++++ .../bulk-publish/bulk-publish.component.html | 57 +++++++++---------- .../bulk-release-publish.component.html | 44 +++++++------- 3 files changed, 55 insertions(+), 56 deletions(-) diff --git a/src/app/routes/financial-management/components/cost-management/expenses-receivable/expenses-receivable.component.html b/src/app/routes/financial-management/components/cost-management/expenses-receivable/expenses-receivable.component.html index 83649ca4..6a846106 100644 --- a/src/app/routes/financial-management/components/cost-management/expenses-receivable/expenses-receivable.component.html +++ b/src/app/routes/financial-management/components/cost-management/expenses-receivable/expenses-receivable.component.html @@ -1,3 +1,13 @@ + + - +

diff --git a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.html b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.html index 9559abd4..478744cc 100644 --- a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.html +++ b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.html @@ -149,7 +149,7 @@ [ngModel]="i.value" (ngModelChange)="i.setValue($event)" placeholder="请输入" - oninput="if(value>99999)value=99999;if(value<0)value=0" + oninput="if(value>99999)value=99999;if(value<1)value=1" /> @@ -178,41 +178,35 @@ - + [ngModel]="i.value" + (ngModelChange)="i.setValue($event)" + [nzMin]="1" + style="width: 100%" + > - + [ngModel]="i.value" + (ngModelChange)="i.setValue($event)" + [nzMin]="1" + style="width: 100%" + > - + [ngModel]="i.value" + (ngModelChange)="i.setValue($event)" + [nzMin]="1" + style="width: 100%" + >