fix bug
This commit is contained in:
@ -79,7 +79,15 @@ export class insuranceManagementListComponent implements OnInit {
|
|||||||
createTime: {
|
createTime: {
|
||||||
start: this.sf?.value?.createTime?.[0] || '',
|
start: this.sf?.value?.createTime?.[0] || '',
|
||||||
end: this.sf?.value?.createTime?.[1] || ''
|
end: this.sf?.value?.createTime?.[1] || ''
|
||||||
}
|
},
|
||||||
|
recordTime: {
|
||||||
|
start: this.sf?.value?.recordTime?.[0] || '',
|
||||||
|
end: this.sf?.value?.recordTime?.[1] || ''
|
||||||
|
},
|
||||||
|
insureTime: {
|
||||||
|
start: this.sf?.value?.insureTime?.[0] || '',
|
||||||
|
end: this.sf?.value?.insureTime?.[1] || ''
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
get selectedRows() {
|
get selectedRows() {
|
||||||
@ -159,6 +167,36 @@ export class insuranceManagementListComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
insureType: {
|
||||||
|
title: '类型',
|
||||||
|
type: 'string',
|
||||||
|
ui: {
|
||||||
|
widget: 'dict-select',
|
||||||
|
params: { dictKey: 'insure:type' },
|
||||||
|
containsAllLable: true,
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value
|
||||||
|
}
|
||||||
|
} as SFSelectWidgetSchema
|
||||||
|
},
|
||||||
|
startAddress: {
|
||||||
|
type: 'string',
|
||||||
|
title: '始发地',
|
||||||
|
ui: {
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
endAddress: {
|
||||||
|
type: 'string',
|
||||||
|
title: '目的地',
|
||||||
|
ui: {
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
shipperAppUserId: {
|
shipperAppUserId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '货主',
|
title: '货主',
|
||||||
@ -197,24 +235,7 @@ export class insuranceManagementListComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
loadingPlace: {
|
|
||||||
type: 'string',
|
|
||||||
title: '装货地',
|
|
||||||
ui: {
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
dischargePlace: {
|
|
||||||
type: 'string',
|
|
||||||
title: '卸货地',
|
|
||||||
ui: {
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
driverName: {
|
driverName: {
|
||||||
title: '承运司机',
|
title: '承运司机',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -233,56 +254,18 @@ export class insuranceManagementListComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
carCaptainName: {
|
insureStatus: {
|
||||||
title: '车队长',
|
title: '投保状态',
|
||||||
type: 'string',
|
|
||||||
ui: {
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
paymentStatus: {
|
|
||||||
title: '支付状态',
|
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
widget: 'dict-select',
|
||||||
params: { dictKey: 'overall:payment:status' },
|
params: { dictKey: 'insure:status' },
|
||||||
containsAllLable: true,
|
containsAllLable: true,
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
_$expand: (value: boolean) => value
|
_$expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
} as SFSelectWidgetSchema
|
} as SFSelectWidgetSchema
|
||||||
},
|
},
|
||||||
createTime: {
|
|
||||||
title: '创建时间',
|
|
||||||
type: 'string',
|
|
||||||
ui: {
|
|
||||||
widget: 'date',
|
|
||||||
mode: 'range',
|
|
||||||
format: 'yyyy-MM-dd',
|
|
||||||
allowClear: true,
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
} as SFDateWidgetSchema
|
|
||||||
},
|
|
||||||
riskStatus: {
|
|
||||||
type: 'string',
|
|
||||||
title: '是否风险单',
|
|
||||||
enum: [
|
|
||||||
{ label: '全部', value: '' },
|
|
||||||
{ label: '是', value: '3' },
|
|
||||||
{ label: '否', value: '1' }
|
|
||||||
],
|
|
||||||
ui: {
|
|
||||||
widget: 'select',
|
|
||||||
placeholder: '请选择',
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
enterpriseInfoId: {
|
enterpriseInfoId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
@ -296,32 +279,46 @@ export class insuranceManagementListComponent implements OnInit {
|
|||||||
asyncData: () => this.shipperservice.getNetworkFreightForwarder()
|
asyncData: () => this.shipperservice.getNetworkFreightForwarder()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
serviceType: {
|
insureTime: {
|
||||||
title: '服务类型',
|
title: '投保时间',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
widget: 'date',
|
||||||
params: { dictKey: 'service:type' },
|
mode: 'range',
|
||||||
containsAllLable: true,
|
format: 'yyyy-MM-dd',
|
||||||
|
allowClear: true,
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
_$expand: (value: boolean) => value
|
_$expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
} as SFSelectWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
settlementBasis: {
|
createTime: {
|
||||||
title: '结算依据',
|
title: '创建时间',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
widget: 'date',
|
||||||
containsAllLable: true,
|
mode: 'range',
|
||||||
params: { dictKey: 'goodresource:settlement:type' },
|
format: 'yyyy-MM-dd',
|
||||||
containAllLable: true,
|
allowClear: true,
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
_$expand: (value: boolean) => value
|
_$expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
} as SFSelectWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
}
|
},
|
||||||
|
recordTime: {
|
||||||
|
title: '录单时间',
|
||||||
|
type: 'string',
|
||||||
|
ui: {
|
||||||
|
widget: 'date',
|
||||||
|
mode: 'range',
|
||||||
|
format: 'yyyy-MM-dd',
|
||||||
|
allowClear: true,
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value
|
||||||
|
}
|
||||||
|
} as SFDateWidgetSchema
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
type: 'object'
|
type: 'object'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user