批量审核

This commit is contained in:
wangshiming
2022-01-17 17:05:49 +08:00
parent c34f6ffd63
commit d93fd449af
14 changed files with 194 additions and 96 deletions

View File

@ -1,6 +1,7 @@
import { Component, OnInit, ViewChild } from '@angular/core';
import { apiConf } from '@conf/api.conf';
import { SFComponent, SFSchema, SFTextWidgetSchema, SFUISchema, SFUploadWidgetSchema } from '@delon/form';
import { ShipperBaseService } from '@shared';
import { NzModalRef } from 'ng-zorro-antd/modal';
import { FreightAccountService } from '../../../services/freight-account.service';
@ -35,7 +36,11 @@ export class ClearingModalComponent implements OnInit {
}
};
constructor(private modal: NzModalRef, public service: FreightAccountService) {}
constructor(
private modal: NzModalRef,
public service: FreightAccountService,
public shipperservice: ShipperBaseService,
) {}
ngOnInit(): void {
this.initSF(this.i);
@ -51,13 +56,18 @@ export class ClearingModalComponent implements OnInit {
} as SFTextWidgetSchema,
default: '10000.00'
},
name2: {
title: '网络货运人',
enterpriseInfoId: {
type: 'string',
title: '网络货运人',
ui: {
widget: 'text'
} as SFTextWidgetSchema,
default: '天津怡亚通物流科技有限公司'
widget: 'select',
placeholder: '请选择',
visibleIf: {
_$expand: (value: boolean) => value,
},
allowClear: true,
asyncData: () => this.shipperservice.getNetworkFreightForwarder(),
},
},
name3: {
title: '银行类型',