批量审核

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

@ -58,7 +58,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
constructor(
public service: WaybillManagementServe,
private modal: NzModalService,
public service2: ShipperBaseService) {}
public shipperservice: ShipperBaseService) {}
/**
* 查询参数
@ -233,13 +233,13 @@ export class WaybillManagementVehicleComponent implements OnInit {
}
} as SFDateWidgetSchema
},
isRiskSheet: {
riskStatus: {
type: 'string',
title: '是否风险单',
enum: [
{ label: '全部', value: '' },
{ label: '是', value: '1' },
{ label: '否', value: '2' }
{ label: '是', value: '3' },
{ label: '否', value: '1' }
],
ui: {
widget: 'select',
@ -259,7 +259,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
_$expand: (value: boolean) => value
},
allowClear: true,
asyncData: () => this.service2.getNetworkFreightForwarder()
asyncData: () => this.shipperservice.getNetworkFreightForwarder()
}
},
// goodsName: {
@ -283,7 +283,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
_$expand: (value: boolean) => value
},
asyncData: () =>
this.service2.loadConfigByKey('goods.name.config.type').pipe(
this.shipperservice.loadConfigByKey('goods.name.config.type').pipe(
map((data: any) => {
return data[0].children?.map((m: any) => {
return { label: m.name, value: m.id };