diff --git a/proxy.conf.js b/proxy.conf.js index 00392e43..c2e27015 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-18 09:51:21 * @LastEditors : Shiming - * @LastEditTime : 2022-04-20 14:18:40 + * @LastEditTime : 2022-04-22 10:05:01 * @FilePath : \\tms-obc-web\\proxy.conf.js * Copyright (C) 2022 huzhenhong. All rights reserved. */ diff --git a/src/app/routes/financial-management/components/bank-card-management/add/add.component.html b/src/app/routes/financial-management/components/bank-card-management/add/add.component.html new file mode 100644 index 00000000..c222d73e --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/add/add.component.html @@ -0,0 +1,22 @@ + +
+
+ + + +
+ +
+ + +
+ +
+ +
+
+
+
+
+
diff --git a/src/app/routes/financial-management/components/bank-card-management/add/add.component.less b/src/app/routes/financial-management/components/bank-card-management/add/add.component.less new file mode 100644 index 00000000..6403b5d6 --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/add/add.component.less @@ -0,0 +1,8 @@ +:host { + + .setp, + .content { + width: 40%; + margin: 50px auto; + } +} diff --git a/src/app/routes/financial-management/components/bank-card-management/add/add.component.spec.ts b/src/app/routes/financial-management/components/bank-card-management/add/add.component.spec.ts new file mode 100644 index 00000000..38b2a9a2 --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/add/add.component.spec.ts @@ -0,0 +1,24 @@ +import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; +import { CwcBankCardManagementAddComponent } from './add.component'; + +describe('CwcBankCardManagementAddComponent', () => { + let component: CwcBankCardManagementAddComponent; + let fixture: ComponentFixture; + + beforeEach(waitForAsync(() => { + TestBed.configureTestingModule({ + declarations: [CwcBankCardManagementAddComponent] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(CwcBankCardManagementAddComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/routes/financial-management/components/bank-card-management/add/add.component.ts b/src/app/routes/financial-management/components/bank-card-management/add/add.component.ts new file mode 100644 index 00000000..93d76783 --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/add/add.component.ts @@ -0,0 +1,93 @@ +import { Component, OnInit, ViewChild } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { cacheConf } from '@conf/cache.conf'; +import { SFComponent, SFSchema, SFUISchema } from '@delon/form'; +import { EACacheService } from '@shared'; +import { NzModalService } from 'ng-zorro-antd/modal'; +import { BankCardManagementService } from '../../../services/bank-card-management.service'; + +interface EmitType { + success: boolean, + current: number, + value: object +}; +@Component({ + selector: 'app-cwc-bank-card-management-add', + templateUrl: './add.component.html', + styleUrls: ['./add.component.less'] +}) +export class CwcBankCardManagementAddComponent implements OnInit { + schema: SFSchema = {}; + ui: SFUISchema = {}; + record: any; + i: any; + userInfo: any = {}; + bankBranchName = ''; + bankArea = ''; + bankName = ''; + loading = false; + current = 0; // 当前节点 + verifyInfo = {}; + steps: Array = [ + { + id: 1, + title: `绑定银行卡`, + async: false, + percentage: null + }, + { + id: 2, + title: `小额鉴权`, + async: false, + percentage: null + }, + { + id: 3, + title: `完成`, + async: false, + percentage: null + }, + ]; + + @ViewChild('sf', { static: false }) sf!: SFComponent; + networkTransporterId = ''; + bankSfInfo: any = {} // 银行卡信息; + smallAuthentication: any = {}; //小额鉴权信息 + + branchBanks: any[] = []; + constructor(public service: BankCardManagementService, + public modalService: NzModalService, public router: Router, + public ar: ActivatedRoute, public eaCacheSrv: EACacheService) { + this.networkTransporterId = this.eaCacheSrv.get(cacheConf.env)?.networkTransporterId + } + + + ngOnInit() { + + } + + trackById(_: number, item: any): number { + return item.id; + } + + + + formatCard() { + return /[1-9]\d{12,18}/; + } + + changeCurrent(e: EmitType) { + if (e && e?.success) { + this.current = e?.current; + if (this.current === 1) { + this.bankSfInfo = e?.value; + } + } + } + toBandCardPage() { + this.router.navigate(['../index'], { + relativeTo: this.ar + }); + } + +} diff --git a/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.html b/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.html new file mode 100644 index 00000000..d0ea577d --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.html @@ -0,0 +1,8 @@ +
+ + + +
diff --git a/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.spec.ts b/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.spec.ts new file mode 100644 index 00000000..ab7fafb2 --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.spec.ts @@ -0,0 +1,24 @@ +import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; +import { CwcBankCardManagementBindComponent } from './bind.component'; + +describe('CwcBankCardManagementBindComponent', () => { + let component: CwcBankCardManagementBindComponent; + let fixture: ComponentFixture; + + beforeEach(waitForAsync(() => { + TestBed.configureTestingModule({ + declarations: [CwcBankCardManagementBindComponent] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(CwcBankCardManagementBindComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.ts b/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.ts new file mode 100644 index 00000000..cea027a7 --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/bind/bind.component.ts @@ -0,0 +1,141 @@ +import { THIS_EXPR } from '@angular/compiler/src/output/output_ast'; +import { Component, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { cacheConf } from '@conf/cache.conf'; +import { SFComponent, SFSchema, SFStringWidgetSchema, SFUISchema } from '@delon/form'; +import { EACacheService } from '@shared'; +import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal'; +import { BankCardManagementService } from '../../../services/bank-card-management.service'; + +interface EmitType { + success: boolean, + current: number, + value: object +}; + +@Component({ + selector: 'app-cwc-bank-card-management-bind', + templateUrl: './bind.component.html', +}) + +export class CwcBankCardManagementBindComponent implements OnInit { + schema: SFSchema = {}; + ui: SFUISchema = {}; + record: any; + i: any; + userInfo: any = {}; + bankBranchName = ''; + bankArea = ''; + bankName = ''; + loading = false; + current = 0; // 当前节点 + + @Output() toNextStep = new EventEmitter(); + + @ViewChild('sf', { static: false }) sf!: SFComponent; + enterpriseName = ''; + + branchBanks: any[] = []; + constructor(public service: BankCardManagementService, public modalService: NzModalService, public eaCacheSrv: EACacheService, public modalRef: NzModalRef) { + } + + + ngOnInit() { + this.initSF(); + } + + initSF() { + this.schema = { + properties: { + bankAccountName: { + type: 'string', + title: '企业名称', + default: this.i?.ltdName, + ui: { + widget: 'text' + } + }, + bankCardNumber: { + type: 'string', + title: '银行卡号', + maxLength: 30, + ui: { + showRequired: true, + placeholder: '请输入银行卡号', + autocomplete: 'off' + } as SFStringWidgetSchema, + }, + bankName: { + type: 'string', + title: '开户银行', + // readOnly: true, + ui: { + showRequired: true, + autocomplete: 'off', + placeholder: '请输入开户银行', + } as SFStringWidgetSchema, + }, + ltdId: { + type: 'string', + title: '', + default: this.i?.ltdId, + ui: { + widget: 'text', + hidden: true + } + }, + + // bankBranchName: { + // type: 'string', + // title: '开户支行', + // ui: { + // showRequired: true, + // placeholder: '请输入开户支行', + // autocomplete: 'off' + // }, + // }, + // bankBranchCode: { + // type: 'string', + // title: '联行号', + // ui: { + // placeholder: '请输入联行号' + // }, + // }, + mobile: { + type: 'string', + title: '手机号', + maxLength: 11, + format: 'mobile', + ui: { + placeholder: '请输入手机号' + }, + }, + }, + required: ['bankCardNumber', 'mobile', 'bankName'], + }; + this.ui = { + '*': { + spanLabelFixed: 120, + grid: { span: 18 }, + }, + }; + } + trackById(_: number, item: any): number { + return item.id; + } + + submit() { + if (this.sf.valid) { + this.service.request(this.service.$api_bank_card_add, { ...this.sf.value }).subscribe(res => { + if (res) { + this.modalRef.destroy(true); + } + }) + } + } + + + formatCard() { + return /[1-9]\d{12,18}/; + } + +} diff --git a/src/app/routes/financial-management/components/bank-card-management/index/index.component.html b/src/app/routes/financial-management/components/bank-card-management/index/index.component.html new file mode 100644 index 00000000..ccc1e443 --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/index/index.component.html @@ -0,0 +1,33 @@ + + +
+

{{ltdName}}

+
+ + +
+ +
+ + +
+ +
+ +
diff --git a/src/app/routes/financial-management/components/bank-card-management/index/index.component.less b/src/app/routes/financial-management/components/bank-card-management/index/index.component.less new file mode 100644 index 00000000..f47b31c2 --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/index/index.component.less @@ -0,0 +1,78 @@ +:host { + ::ng-deep { + .ant-card-actions { + border-color: #ccc; + } + + .single-card { + .ant-card-body { + padding: 24px 12px; + } + } + } + + .member-rights-container { + display: flex; + flex-wrap: wrap; + + .single-card { + position: relative; + width: 320px; + height: 150px; + margin-right: 20px; + border-color: #ccc; + overflow: hidden; + + .default-flag { + position: absolute; + top: 20px; + right: 80px; + padding: 0 5px; + color: #fff; + background-color: #52C41A; + border-radius: 1px; + + } + + .bank-account-content { + display: flex; + + .bank-card-right { + flex: 1; + overflow: hidden; + } + + .bank-card-title { + display: flex; + + .bank-card-name { + display: inline-block; + flex: 1; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + } + + .bank-account-txt { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + } + + .del-btn { + padding-top: 0; + padding-bottom: 0; + border-radius: 5px; + height: 30px; + } + } + } + + .bankcard-content { + height: 100%; + background-color: #fff; + } + +} diff --git a/src/app/routes/financial-management/components/bank-card-management/index/index.component.spec.ts b/src/app/routes/financial-management/components/bank-card-management/index/index.component.spec.ts new file mode 100644 index 00000000..ab26d1cc --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/index/index.component.spec.ts @@ -0,0 +1,24 @@ +import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; +import { CwcBankCardManagementIndexComponent } from './index.component'; + +describe('CwcBankCardManagementIndexComponent', () => { + let component: CwcBankCardManagementIndexComponent; + let fixture: ComponentFixture; + + beforeEach(waitForAsync(() => { + TestBed.configureTestingModule({ + declarations: [CwcBankCardManagementIndexComponent] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(CwcBankCardManagementIndexComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/routes/financial-management/components/bank-card-management/index/index.component.ts b/src/app/routes/financial-management/components/bank-card-management/index/index.component.ts new file mode 100644 index 00000000..d9883f9b --- /dev/null +++ b/src/app/routes/financial-management/components/bank-card-management/index/index.component.ts @@ -0,0 +1,92 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { NzModalService } from 'ng-zorro-antd/modal'; +import { BankCardManagementService } from '../../../services/bank-card-management.service'; +import { CwcBankCardManagementAddComponent } from '../add/add.component'; +import { CwcBankCardManagementBindComponent } from '../bind/bind.component'; + +@Component({ + selector: 'app-cwc-bank-card-management-index', + templateUrl: './index.component.html', + styleUrls: ['./index.component.less'] +}) +export class CwcBankCardManagementIndexComponent implements OnInit { + list: any = []; + ltdId = ''; + ltdName = ''; + constructor(public modal: NzModalService, public service: BankCardManagementService, public router: Router, public ar: ActivatedRoute) { } + + ngOnInit() { + this.ltdId = this.ar.snapshot.queryParams?.ltdId; + this.ltdName = this.ar.snapshot.queryParams?.ltdName; + this.getBankList(this.ltdId); + } + + getBankList(roleId = '') { + this.service.request(this.service.$api_bank_card_list, { roleId, accountType: '3' }).subscribe((res) => { + if (res) { + this.list = res; + } + }); + } + + add() { + const modalRef = this.modal.create({ + nzTitle: '添加银行卡', + nzContent: CwcBankCardManagementBindComponent, + nzWidth: '40%', + nzFooter: null, + nzComponentParams: { + i: { + ltdId: this.ltdId, + ltdName: this?.ltdName + } + } + }); + modalRef.afterOpen.subscribe(() => { }); + modalRef.afterClose.subscribe((result) => { + if (result === true) { + this.getBankList(this.ltdId); + } + }); + } + + edit(record: any) { + const modalRef = this.modal.create({ + nzTitle: '编辑', + nzWidth: '700', + nzContent: CwcBankCardManagementAddComponent, + nzComponentParams: { + record, + }, + nzFooter: null, + nzMaskClosable: false, + }); + modalRef.afterOpen.subscribe(() => { }); + modalRef.afterClose.subscribe((result) => { + if (result) { + this.getBankList(); + } + }); + } + + + // 删除 + del(record: any) { + this.modal.confirm({ + nzTitle: '确认删除该银行账户吗?', + nzContent: `

银行卡号: ${record.bankCardNumber}

`, + nzOnOk: () => + this.service.request(this.service.$api_bank_card_del, { id: record.id, ltdId: this.ltdId }).subscribe((res) => { + if (res === true) { + this.service.msgSrv.success('数据删除成功!'); + this.getBankList(); + } + }), + }); + } + + formatBankCard(value: any) { + return value.replace(/[^\d]/g, '').replace(/(\d{4})(?=\d)/g, '$1 '); + } +} diff --git a/src/app/routes/financial-management/components/platform-account/platform-account.component.html b/src/app/routes/financial-management/components/platform-account/platform-account.component.html index e1928689..ccbbcf20 100644 --- a/src/app/routes/financial-management/components/platform-account/platform-account.component.html +++ b/src/app/routes/financial-management/components/platform-account/platform-account.component.html @@ -2,63 +2,62 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + -
-
- -
-
- - - -
+
+
+
+
+ + + +
+
- - - + + + - \ No newline at end of file + diff --git a/src/app/routes/financial-management/components/platform-account/platform-account.component.ts b/src/app/routes/financial-management/components/platform-account/platform-account.component.ts index f6d7c52d..f54f0046 100644 --- a/src/app/routes/financial-management/components/platform-account/platform-account.component.ts +++ b/src/app/routes/financial-management/components/platform-account/platform-account.component.ts @@ -4,6 +4,7 @@ import { STComponent, STColumn, STChange, STRequestOptions } from '@delon/abc/st import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form'; import { NzModalService } from 'ng-zorro-antd/modal'; import { FreightAccountService } from '../../services/freight-account.service'; +import { CwcBankCardManagementBindComponent } from '../bank-card-management/bind/bind.component'; @Component({ selector: 'app-platform-account', @@ -21,7 +22,7 @@ export class PlatformAccountComponent implements OnInit { info: any = {}; static: any = {}; - constructor(public service: FreightAccountService, private router: Router, private nzModalService: NzModalService) {} + constructor(public service: FreightAccountService, private router: Router, private nzModalService: NzModalService, public modal: NzModalService) { } ngOnInit(): void { this.loadInfo(); @@ -179,22 +180,63 @@ export class PlatformAccountComponent implements OnInit { }, { title: '操作', - width: 100, - className: 'text-center', + width: 120, + className: 'text-center block-td', fixed: 'right', buttons: [ { - text: '查看明细', + text: '查看明细 ', click: item => this.router.navigate(['/financial-management/platform-account/detail/' + item.id], { queryParams: { ltdId: item.ltdId, bankType: item.bankType, ltdName: `${item.ltdName}(${item.bankTypeLabel})` } }) - } + }, + { + text: '绑定银行卡', + click: item => this.bindBankcard(item) + }, + { + text: '查看银行卡', + click: item => this.viewBankcard(item) + }, ] } ]; } + + /** + * 绑定银行卡 + */ + bindBankcard(item: any) { + const modalRef = this.modal.create({ + nzTitle: '绑定银行卡', + nzContent: CwcBankCardManagementBindComponent, + nzWidth: '40%', + nzFooter: null, + nzComponentParams: { + i: item + } + }); + modalRef.afterOpen.subscribe(() => { }); + modalRef.afterClose.subscribe((result) => { + if (result) this.st.reload(); + + }); + } + + /** + * 查看银行卡 + */ + viewBankcard(item: any) { + this.router.navigate(['/financial-management/bank-card-management/index'], { + queryParams: { + ltdId: item?.ltdId, + ltdName: item?.ltdName + } + }); + } + exportList() { - this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportPlatformAccountBalanceByOperator,); + this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportPlatformAccountBalanceByOperator,); } } diff --git a/src/app/routes/financial-management/financial-managemen-routing.module.ts b/src/app/routes/financial-management/financial-managemen-routing.module.ts index cd54afa6..bcea97b3 100644 --- a/src/app/routes/financial-management/financial-managemen-routing.module.ts +++ b/src/app/routes/financial-management/financial-managemen-routing.module.ts @@ -33,6 +33,7 @@ import { AdvanceCollectionComponent } from './components/advance-collection/adva import { AdvanceCollectionDetailComponent } from './components/advance-collection/advance-collection-detail/advance-collection-detail.component'; import { RefundRecordComponent } from './components/refund-record/refund-record.component'; import { AbnormalGoldDetailComponent } from './components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component'; +import { CwcBankCardManagementIndexComponent } from './components/bank-card-management/index/index.component'; const routes: Routes = [ { path: 'freight-account', component: FreightAccountComponent, data: { guard: { ability: ['FINANCIAL-FREIGHT-ACOUNT-list'] } } }, @@ -68,11 +69,13 @@ const routes: Routes = [ { path: 'receivable-order', component: ReceivableOrderComponent }, { path: 'receivable-order/detail/:id', component: ReceivableOrderDetailComponent }, { path: 'payable-order', component: PayableOrderComponent }, - { path: 'payable-order/detail/:id', component: PayableOrderDetailComponent } + { path: 'payable-order/detail/:id', component: PayableOrderDetailComponent }, + { path: 'bank-card-management/index', component: CwcBankCardManagementIndexComponent }, + ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) -export class FinancialManagementRoutingModule {} +export class FinancialManagementRoutingModule { } diff --git a/src/app/routes/financial-management/financial-management.module.ts b/src/app/routes/financial-management/financial-management.module.ts index c17c335d..63b99337 100644 --- a/src/app/routes/financial-management/financial-management.module.ts +++ b/src/app/routes/financial-management/financial-management.module.ts @@ -36,6 +36,9 @@ import { AdvanceCollectionComponent } from './components/advance-collection/adva import { AdvanceCollectionDetailComponent } from './components/advance-collection/advance-collection-detail/advance-collection-detail.component'; import { RefundRecordComponent } from './components/refund-record/refund-record.component'; import { AbnormalGoldDetailComponent } from './components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component'; +import { CwcBankCardManagementIndexComponent } from './components/bank-card-management/index/index.component'; +import { CwcBankCardManagementBindComponent } from './components/bank-card-management/bind/bind.component'; +import { CwcBankCardManagementAddComponent } from './components/bank-card-management/add/add.component'; const ROUTESCOMPONENTS = [ FreightAccountComponent, @@ -68,7 +71,10 @@ const ROUTESCOMPONENTS = [ AdvanceCollectionComponent, AdvanceCollectionDetailComponent, RefundRecordComponent, - AbnormalGoldDetailComponent + AbnormalGoldDetailComponent, + CwcBankCardManagementIndexComponent, + CwcBankCardManagementBindComponent, + CwcBankCardManagementAddComponent ]; const NOTROUTECOMPONENTS = [DriverAccountDetailComponent, FreightAccountDetailComponent, ClearingModalComponent]; @@ -77,4 +83,4 @@ const NOTROUTECOMPONENTS = [DriverAccountDetailComponent, FreightAccountDetailCo declarations: [...ROUTESCOMPONENTS, ...NOTROUTECOMPONENTS], imports: [CommonModule, FinancialManagementRoutingModule, SharedModule] }) -export class FinancialManagementModule {} +export class FinancialManagementModule { } diff --git a/src/app/routes/financial-management/services/bank-card-management.service.ts b/src/app/routes/financial-management/services/bank-card-management.service.ts new file mode 100644 index 00000000..65db517b --- /dev/null +++ b/src/app/routes/financial-management/services/bank-card-management.service.ts @@ -0,0 +1,14 @@ +import { Injectable, Injector } from '@angular/core'; +import { BaseService } from '@shared'; + +@Injectable({ + providedIn: 'root' +}) +export class BankCardManagementService extends BaseService { + $api_bank_card_list = `/api/fcc/bankInfoOBC/list/myBankInfo`; // 获取银行卡列表 + $api_bank_card_del = `/api/fcc/bankInfoOBC/delete`; // 删除银行卡 + $api_bank_card_add = `/api/fcc/bankInfoOBC/save`;//新增银行卡 + constructor(public injector: Injector) { + super(injector); + } +} diff --git a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.html b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.html index 38499ffe..1e7e4c8f 100644 --- a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.html +++ b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.html @@ -230,7 +230,7 @@
如果您的运单没有问题,可以提出申诉,并提供相关资料,我们将24小时内审核反馈
    -
  • 系统识别:{{item?.complianceTypeName}}
  • +
  • 系统识别:{{item?.complianceName}}
  • {{item?.determineDetails}}
diff --git a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html index 66d633a1..77591f60 100644 --- a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html +++ b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-28 14:42:03 * @LastEditors : Shiming - * @LastEditTime : 2022-04-21 15:32:43 + * @LastEditTime : 2022-04-21 17:03:50 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -229,7 +229,7 @@
您的订单可能存在交易风险,请及时提交申诉材料,提交成功后,平台将及时完成审核并通知您!
如果您的运单没有问题,可以提出申诉,并提供相关资料,我们将24小时内审核反馈
    -
  • 系统识别:{{ item?.complianceTypeName }}
  • +
  • 系统识别:{{ item?.complianceName }}
  • {{ item?.determineDetails }}
diff --git a/src/app/routes/order-management/modal/audit/voucher-view/voucher-view.component.ts b/src/app/routes/order-management/modal/audit/voucher-view/voucher-view.component.ts index 0538f015..3bc73604 100644 --- a/src/app/routes/order-management/modal/audit/voucher-view/voucher-view.component.ts +++ b/src/app/routes/order-management/modal/audit/voucher-view/voucher-view.component.ts @@ -579,7 +579,7 @@ export class orderManagementVoucherViewComponent implements OnInit { let time = 10; setInterval(function () { time -= 1; - }, 1000); //反复执行函数本身 + }, 1000); const modal = this.modalService.success({ nzTitle: '电子装货单签署中!', nzContent: ` diff --git a/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts b/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts index e74a8c1a..3b037b45 100644 --- a/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts +++ b/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts @@ -499,7 +499,7 @@ export class VehicleSureArriveComponent implements OnInit { }); } else { if (!value?.time) { - this.service.msgSrv.warning('装货时间为空!'); + this.service.msgSrv.warning('卸货时间为空!'); return; } if (!this.data?.volume) { diff --git a/src/app/routes/vehicle/components/audit/detail/detail.component.ts b/src/app/routes/vehicle/components/audit/detail/detail.component.ts index d870e234..5e17a8f8 100644 --- a/src/app/routes/vehicle/components/audit/detail/detail.component.ts +++ b/src/app/routes/vehicle/components/audit/detail/detail.component.ts @@ -79,7 +79,6 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy { text: '上传协议', click: _record => this.updateEvaluate(_record), - iif: item => item.auditStatusEnum == -1 } ] } diff --git a/src/app/routes/waybill-management/components/vehicle/vehicle.component.html b/src/app/routes/waybill-management/components/vehicle/vehicle.component.html index 709cbfcd..9561f324 100644 --- a/src/app/routes/waybill-management/components/vehicle/vehicle.component.html +++ b/src/app/routes/waybill-management/components/vehicle/vehicle.component.html @@ -1,7 +1,7 @@