This commit is contained in:
wangshiming
2022-04-09 17:37:23 +08:00
parent 66921d4de2
commit 0c6049d629

View File

@ -127,42 +127,91 @@ export class ContractManagementContractListComponent implements OnInit {
type: 'string', type: 'string',
title: '业务单号' title: '业务单号'
}, },
shipperName: { signingObject: {
type: 'string', type: 'string',
title: '托运人' title: '签约对象',
enum: [
{ label: '全部', value: '' },
{ label: '货主', value: 1 },
{ label: '司机', value: 2 }
],
ui: {
widget: 'select',
placeholder: '请选择'
}
}, },
carrierName: { contractType: {
title: '合同类型',
type: 'string', type: 'string',
title: '承运人', default: '',
ui: {
widget: 'dict-select',
containsAllLable: true,
params: { dictKey: 'contract:type' },
visibleIf: {
_$expand: (value: boolean) => value
},
containAllLable: true,
} as SFSelectWidgetSchema
},
resourceType: {
title: '货源类型',
type: 'string',
default: '',
ui: {
widget: 'dict-select',
params: { dictKey: 'goodresource:type' },
containsAllLable: true,
visibleIf: {
_$expand: (value: boolean) => value
},
} as SFSelectWidgetSchema,
},
enterpriseInfoId: {
type: 'string',
title: '网络货运人',
ui: {
widget: 'select',
placeholder: '请选择',
allowClear: true,
visibleIf: {
_$expand: (value: boolean) => value
},
asyncData: () => this.shipperservice.getNetworkFreightForwarder()
}
},
contractObjectName: {
type: 'string',
title: '合同对象',
ui: { ui: {
visibleIf: { visibleIf: {
_$expand: (value: boolean) => value, _$expand: (value: boolean) => value,
}, },
} }
}, },
documentType: {
title: '单据类型',
type: 'string',
default: '',
ui: {
widget: 'dict-select',
containsAllLabel: true,
params: { dictKey: 'contract:document:type' },
containAllLable: true,
visibleIf: {
_$expand: (value: boolean) => value,
},
} as SFSelectWidgetSchema,
},
signTime: { signTime: {
title: '签署日期', title: '签署日期',
type: 'string', type: 'string',
ui: { ui: {
widget: 'custom', widget: 'sl-from-to-search',
format: 'yyyy-MM-dd',
visibleIf: { visibleIf: {
_$expand: (value: boolean) => value, _$expand: (value: boolean) => value,
}, },
} } as SFDateWidgetSchema,
},
esignFlowStatus: {
title: '状态',
type: 'string',
default: '',
ui: {
widget: 'dict-select',
params: { dictKey: 'esign:flow:status' },
containsAllLable: true,
visibleIf: {
_$expand: (value: boolean) => value
},
} as SFSelectWidgetSchema,
}, },
}, },
type: 'object', type: 'object',