From 10a90f521bf6f796cd3fdd6d277a166ff625559b Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 12 May 2022 13:47:16 +0800 Subject: [PATCH] fix bug --- .../recorded-detail.component.html | 8 ++++---- .../recorded-detail.component.less | 6 ++++++ .../recorded-detail.component.ts | 17 ++++++++++++++++- .../order-reporting.component.html | 2 +- .../express-detail-modal.component.ts | 4 ++-- 5 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.less diff --git a/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.html b/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.html index bc545f49..19b2e485 100644 --- a/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.html +++ b/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-04-28 20:27:07 * @LastEditors : Shiming - * @LastEditTime : 2022-05-11 20:46:30 + * @LastEditTime : 2022-05-12 13:45:07 * @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\account-management\\components\\recorded-detail\\recorded-detail.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -130,9 +130,9 @@
-
+
-
-
- +
+
+
-
+
diff --git a/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.less b/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.less new file mode 100644 index 00000000..e19df03e --- /dev/null +++ b/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.less @@ -0,0 +1,6 @@ +:host::ng-deep { + + .file-col { + background-color: red; + } +} \ No newline at end of file diff --git a/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.ts b/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.ts index f159d556..94dd8252 100644 --- a/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.ts +++ b/src/app/routes/partner/account-management/components/recorded-detail/recorded-detail.component.ts @@ -7,6 +7,7 @@ import { AccountManagemantService } from '../../services/account-managemant.serv @Component({ selector: 'app-partner-account-management-recorded-detail', + styleUrls: ['./recorded-detail.component.less'], templateUrl: './recorded-detail.component.html' }) export class PartnerAccountManagementRecordedDetailComponent implements OnInit { @@ -41,9 +42,10 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit { billDetailColumns: STColumn[] = []; showBillDetail = false; changeAccount = false; + addd = false; billDetailList = []; roleId = ''; - demoValue!: number; + demoValue: number = 0; constructor(public service: AccountManagemantService, public router: Router, public ar: ActivatedRoute) { this.roleId = this.ar.snapshot.params.id; } @@ -145,6 +147,7 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit { smsVerifyCode: { title: '调整金额', type: 'string', + description: '(“+”表示增加待入账金额,“-”表示减少待入账金额 )', ui: { widget: 'custom', placeholder: '请输入金额', @@ -247,4 +250,16 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit { goBack() { window.history.go(-1); } + deletes(value: number) { + console.log(value); + console.log(this.demoValue); + this.demoValue -= 1 + this.addd = false + } + add(value: number) { + this.addd = true + this.demoValue += 1 + console.log(value); + console.log(this.demoValue); + } } diff --git a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.html b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.html index adc012af..c857bbf0 100644 --- a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.html +++ b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.html @@ -81,7 +81,7 @@ -
货物名称:{{ item.goodsName ? item.goodsName : '--' }}
+
{{ item.goodsName ? item.goodsName : '--' }}
{{ item.loadWeight ? item.loadWeight : '--' }}吨/{{ item.loadVolume ?item.loadVolume: '--' }}方
diff --git a/src/app/routes/ticket-management/components/express-info/express-detail-modal/express-detail-modal.component.ts b/src/app/routes/ticket-management/components/express-info/express-detail-modal/express-detail-modal.component.ts index 9efac2ad..6bb43c7b 100644 --- a/src/app/routes/ticket-management/components/express-info/express-detail-modal/express-detail-modal.component.ts +++ b/src/app/routes/ticket-management/components/express-info/express-detail-modal/express-detail-modal.component.ts @@ -96,8 +96,8 @@ export class ExpressDetailModalComponent implements OnInit { Object.assign(requestOptions.body, { ...this.sf?.value, createTime: { - start: this.sf?.value.createTime?.[0] || null, - end: this.sf?.value.createTime?.[1] || null + start: this.sf?.value.createTime?.[0] || '', + end: this.sf?.value.createTime?.[1] || '' } }); }