-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 增加了材料执行中的物料字段 为状态回溯写了对应的标单查询 增加了几行代码注释 * 状态修改(创建状态转移表)时修改对应标单状态 用filters去筛选标单状态列表 * [#17] 采购物料 [#17] 采购物料 为材料代用和材料执行添加了字段查询功能
- Loading branch information
Showing
5 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from django_filters import rest_framework as filters | ||
from Procurement import models | ||
|
||
|
||
# 根据代用单编号模糊查询 | ||
class MaterialExcutionFilter(filters.FilterSet): | ||
uid = filters.CharFilter(name='uid', lookup_expr='icontains') | ||
|
||
class Meta: | ||
model = models.MaterialExecution | ||
fields = ('uid',) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from django_filters import rest_framework as filters | ||
from Procurement import models | ||
|
||
|
||
# 根据代用单编号模糊查询 | ||
class MaterialSubApplyFilter(filters.FilterSet): | ||
uid = filters.CharFilter(name='uid', lookup_expr='icontains') | ||
|
||
class Meta: | ||
model = models.MaterialSubApply | ||
fields = ('uid',) |