批量审核
This commit is contained in:
		@ -68,7 +68,7 @@ tabs = {
 | 
			
		||||
  constructor(
 | 
			
		||||
    public service: OrderManagementService,
 | 
			
		||||
    private modal: NzModalService,
 | 
			
		||||
    public service2: ShipperBaseService,
 | 
			
		||||
    public shipperservice: ShipperBaseService,
 | 
			
		||||
    private router: Router,
 | 
			
		||||
     
 | 
			
		||||
     ) { }
 | 
			
		||||
@ -243,7 +243,7 @@ tabs = {
 | 
			
		||||
                  .request(this.service.$api_get_getCarLicenseListByCarNo, {
 | 
			
		||||
                    carNo: q
 | 
			
		||||
                  })
 | 
			
		||||
                  .pipe(map((res: any) => (res?.records as any[]).map(i => ({ label: i.carNo, value: i.carNo } as SFSchemaEnum))))
 | 
			
		||||
                  .pipe(map((res: any) => (res?.records as any[]).map(i => ({ label: i.carNo, value: i.id } as SFSchemaEnum))))
 | 
			
		||||
                  .toPromise();
 | 
			
		||||
              } else {
 | 
			
		||||
                return of([]);
 | 
			
		||||
@ -302,13 +302,13 @@ tabs = {
 | 
			
		||||
            }
 | 
			
		||||
          } 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',
 | 
			
		||||
@ -328,7 +328,7 @@ tabs = {
 | 
			
		||||
              _$expand: (value: boolean) => value,
 | 
			
		||||
            },
 | 
			
		||||
            allowClear: true,
 | 
			
		||||
            asyncData: () => this.service2.getNetworkFreightForwarder(),
 | 
			
		||||
            asyncData: () => this.shipperservice.getNetworkFreightForwarder(),
 | 
			
		||||
          },
 | 
			
		||||
        },
 | 
			
		||||
        // goodsName: {
 | 
			
		||||
@ -355,7 +355,7 @@ tabs = {
 | 
			
		||||
              _$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 };
 | 
			
		||||
@ -494,7 +494,7 @@ tabs = {
 | 
			
		||||
        title: '创建时间',
 | 
			
		||||
        width: '180px',
 | 
			
		||||
        className: 'text-left',
 | 
			
		||||
        index: 'creationTime',
 | 
			
		||||
        index: 'createTime',
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        title: '操作',
 | 
			
		||||
@ -714,6 +714,7 @@ tabs = {
 | 
			
		||||
          nzWidth: 580,
 | 
			
		||||
          nzContent: UpdateFreightComponent,
 | 
			
		||||
          nzComponentParams: { data: { ...data, billId: item.id } },
 | 
			
		||||
           nzFooter: null
 | 
			
		||||
 | 
			
		||||
        });
 | 
			
		||||
      modal.afterClose.subscribe(_ =>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user