fix: 修复工单日期不能为null settings 文件没有权限bug (#10479)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-05-17 17:29:34 +08:00
committed by GitHub
parent 04e95d378c
commit 1fef273669
2 changed files with 3 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ class ApplyAssetSerializer(BaseApplyAssetSerializer, TicketApplySerializer):
ticket_extra_kwargs = TicketApplySerializer.Meta.extra_kwargs
extra_kwargs = {
'apply_accounts': {'required': False},
'apply_date_start': {'allow_null': False},
'apply_date_expired': {'allow_null': False},
}
extra_kwargs.update(ticket_extra_kwargs)