From 67eb4d8031689a1fc46d850fa4b3c79559867abc Mon Sep 17 00:00:00 2001 From: zty Date: Mon, 8 Jul 2024 15:09:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E6=96=B0=E5=A2=9E=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E7=9B=91=E7=9D=A3=E6=A3=80=E6=B5=8B=20=E5=91=8A=E7=9F=A5?= =?UTF-8?q?=E5=8D=95=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/apps/supervision/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/apps/supervision/models.py b/server/apps/supervision/models.py index 40b09e4..c46e98b 100644 --- a/server/apps/supervision/models.py +++ b/server/apps/supervision/models.py @@ -295,6 +295,6 @@ class Oinspect(CommonBDModel): date_inspect = models.DateField('检查日期') result = models.TextField('检查结果', null=True, blank=True, default='') result_date = models.DateField('检查结果日期', null=True, blank=True, default='') - notification_form = models.CharField('检查通知单', max_length=100, null=True) - result_form = models.CharField('检查结果告知单', max_length=100, null=True) + notification_form = models.CharField('检查通知单', max_length=100, blank=True, null=True) + result_form = models.CharField('检查结果告知单', max_length=100, blank=True, null=True) task2do = models.ForeignKey('supervision.task2do', verbose_name= '关联任务执行', on_delete=models.SET_NULL, null=True, blank=True) \ No newline at end of file