From 88e4ac5fab462b1c8233563a9a58df78a8523ad0 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Fri, 29 Apr 2022 10:21:53 +0800 Subject: [PATCH] fix bug --- .../network-freight.component.html | 4 +-- .../network-freight.component.ts | 15 +++++++---- .../network-freight/new/new.component.html | 27 ++++++++++--------- .../network-freight/new/new.component.ts | 7 ----- 4 files changed, 27 insertions(+), 26 deletions(-) diff --git a/src/app/routes/sys-setting/components/network-freight/network-freight.component.html b/src/app/routes/sys-setting/components/network-freight/network-freight.component.html index 50da782f..e234be75 100644 --- a/src/app/routes/sys-setting/components/network-freight/network-freight.component.html +++ b/src/app/routes/sys-setting/components/network-freight/network-freight.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-24 15:54:08 * @LastEditors : Shiming - * @LastEditTime : 2022-03-24 11:10:44 + * @LastEditTime : 2022-04-29 10:20:21 * @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\network-freight.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -48,7 +48,7 @@
- +
', - click: item => this.creat(item) + click: item => this.creat(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-basicSetting'] }, }, { text: '财务设置
', - click: item => this.ticket(item) + click: item => this.ticket(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-finanical'] }, }, { text: '充值账户
', - click: item => this.settingPay(item) + click: item => this.settingPay(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-TOPUP'] }, }, { text: '应用设置
', - click: item => this.settingApp(item) + click: item => this.settingApp(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-APPLY'] }, }, { text: '系统配置
', - click: item => this.settingAction(item) + click: item => this.settingAction(item), + acl: { ability: ['SYSTEM-NETWORK-FREIGHT-SYSTEMCONFIG'] }, }, // { // text: '合同设置', diff --git a/src/app/routes/sys-setting/components/network-freight/new/new.component.html b/src/app/routes/sys-setting/components/network-freight/new/new.component.html index d509f252..ad77da91 100644 --- a/src/app/routes/sys-setting/components/network-freight/new/new.component.html +++ b/src/app/routes/sys-setting/components/network-freight/new/new.component.html @@ -8,7 +8,12 @@ * @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\new\\new.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> - + + + @@ -17,15 +22,13 @@
正面照
示例
-
+
-
-
- 请上传道运证照片,支持JPG、PNG格式,文件小于5M。蓝牌绿牌车辆,可不用传道运证 -
-
+
+
请上传道运证照片,支持JPG、PNG格式,文件小于5M。蓝牌绿牌车辆,可不用传道运证
+
@@ -42,14 +45,14 @@ -
营业执照法人信息
+
营业执照法人信息
-
道运证信息
+
道运证信息
- +
请上传身份证原件的高清照片,若上传复印件,则需申请人签字;
@@ -83,7 +86,7 @@
- +
- \ No newline at end of file + diff --git a/src/app/routes/sys-setting/components/network-freight/new/new.component.ts b/src/app/routes/sys-setting/components/network-freight/new/new.component.ts index 70658250..b8736ed2 100644 --- a/src/app/routes/sys-setting/components/network-freight/new/new.component.ts +++ b/src/app/routes/sys-setting/components/network-freight/new/new.component.ts @@ -180,14 +180,8 @@ export class NetworkFreightNewComponent implements OnInit { if (this.sf1.value.isLoingDate) { this.sf1.value.operatingEndTime = ''; } - console.log(this.sf1.value); - console.log(this.sf1.valid); - console.log(this.sf?.value); - console.log(this.sf.valid); const sfVlaue = this.sf1.value; const params: any = {}; - console.log(this.sf1.value); - Object.assign(params, { ...this.sf?.value, enterpriseInfoDTO: { @@ -203,7 +197,6 @@ export class NetworkFreightNewComponent implements OnInit { roadTransportLicenceNo: this.sf1.value.legalPersonIdentityVO.roadTransportLicenceNo, //道路运输照片 }); delete params.enterpriseInfoDTO.legalPersonIdentityVO; - console.log(params); params.enterpriseInfoDTO.enterpriseAddressCode = this.sf1.value?.enterpriseAddressCode?.[2]; if (this.route.snapshot.params.id !== 'undefined') { params.id = this.route.snapshot.params.id;