From f5b0e5dac5847d91891d551a77a5dac6d84ef0dc Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Tue, 19 Apr 2022 14:08:08 +0800 Subject: [PATCH 1/2] edit --- .../list/detail/detail.component.html | 241 +++++++++--------- 1 file changed, 114 insertions(+), 127 deletions(-) diff --git a/src/app/routes/vehicle/components/list/detail/detail.component.html b/src/app/routes/vehicle/components/list/detail/detail.component.html index cc016948..56a65d87 100644 --- a/src/app/routes/vehicle/components/list/detail/detail.component.html +++ b/src/app/routes/vehicle/components/list/detail/detail.component.html @@ -1,4 +1,4 @@ - + @@ -8,84 +8,73 @@ - -
- - - - - - - -
-
-
+ +
+ + + + + + + +
+
+ - + 车辆基础信息 - - + - - - - - - - - - - - - - - - - - - - - - + + + + - - - + + - - - - - - + + + + + - - + +
@@ -93,28 +82,30 @@ 行驶证信息 + [placeholder]="isEdit?'':'-'"> + + + - - - + [nzPlaceHolder]="isEdit?'':'-'" [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''"> + - - - - + + + + + - + @@ -123,118 +114,114 @@ + [nzPlaceHolder]="isEdit?'':'-'" [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''"> + - + - - - + [nzShowArrow]="isEdit" [nzDisabled]="!isEdit"> + + + + [placeholder]="isEdit?'':'-'"> + [placeholder]="isEdit?'':'-'"> - + - + *ngTemplateOutlet="uploadTemplate;context:{image:detailData?.certificatePhotoFrontWatermark,key:'certificatePhotoFrontWatermark',hover: 'FrontWatermark'}"> +
- + *ngTemplateOutlet="uploadTemplate;context:{image:detailData?.certificatePhotoBackWatermark,key:'certificatePhotoBackWatermark',hover: 'BackWatermark'}"> +
道路运输证信息 - + - + + [nzPlaceHolder]="isEdit?'':'-'" [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''"> + + [nzPlaceHolder]="isEdit?'':'-'" [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''"> + - + *ngTemplateOutlet="uploadTemplate;context:{image:detailData?.roadTransportPhotoWatermark,key:'roadTransportPhotoWatermark', hover: 'Watermark'}"> + 认证司机 - - -
- 未上传 - 草稿 - 待审核 - 已审核 - 已驳回 - 证件过期 -
-
-
+ + +
+ 未上传 + 草稿 + 待审核 + 已审核 + 已驳回 + 证件过期 +
+
+
- + -
- 评分: -
评价内容:
-
+
+ 评分: +
评价内容:
+
-
- 暂无评价内容 -
+
+ 暂无评价内容 +
From e728f0346b5a2c7d6f6089370f3a0bf9dfb24668 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Tue, 19 Apr 2022 14:13:44 +0800 Subject: [PATCH 2/2] edit --- proxy.conf.js | 2 +- .../requested-invoice-modal.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy.conf.js b/proxy.conf.js index cea0fccb..15faf001 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -30,7 +30,7 @@ module.exports = { // }, '//api': { target: { - host: 'tms-api-dev.eascs.com', + host: 'tms-api-test.eascs.com', protocol: 'https:', port: 443 }, diff --git a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts index 64d2d120..a46d003c 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts @@ -48,7 +48,7 @@ export class RequestedInvoiceModalComponent { * @returns */ removeOrder(item: any[]) { - if (this.st1.total <= 1) { + if (this.st1.total <= 1 || item?.length === this.st1.total) { this.service.msgSrv.warning('开票申请记录不能少于一个订单'); return; }