fix: 标签模板筛选bug

This commit is contained in:
caoqianming 2025-05-06 10:35:08 +08:00
parent c05432ce56
commit adf21e716d
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,8 @@ from .models import LabelTemplate
from apps.utils.filters import MyJsonListFilter
class LabelTemplateFilter(filters.FilterSet):
process_json__contains = MyJsonListFilter(field_name='按工序查询')
process = MyJsonListFilter(field_name='按工序查询')
class Meta:
model = LabelTemplate
model = LabelTemplate
fields = ['process']