Merge branch 'develop' of https://e.coding.net/ctcdevteam/hberp/hberp into develop
This commit is contained in:
commit
cde0f2b169
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 3.2.6 on 2021-11-16 02:42
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('mtm', '0032_alter_recordformfield_rule_expression'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='recordformfield',
|
||||||
|
name='rule_expression',
|
||||||
|
field=models.TextField(blank=True, null=True, verbose_name='判定表达式'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -154,7 +154,7 @@ class RecordFormField(CommonAModel):
|
||||||
high_rule = models.IntegerField('上限规则', choices=high_rule_choices, null=True, blank=True)
|
high_rule = models.IntegerField('上限规则', choices=high_rule_choices, null=True, blank=True)
|
||||||
low_limit = models.FloatField('下限值', null=True, blank=True)
|
low_limit = models.FloatField('下限值', null=True, blank=True)
|
||||||
low_rule = models.IntegerField('下限规则', choices=low_rule_choices, null=True, blank=True)
|
low_rule = models.IntegerField('下限规则', choices=low_rule_choices, null=True, blank=True)
|
||||||
rule_expression = models.TextField('判定表达式', default='')
|
rule_expression = models.TextField('判定表达式', null=True, blank=True)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = '记录表格字段'
|
verbose_name = '记录表格字段'
|
||||||
|
|
Loading…
Reference in New Issue