Compare commits
No commits in common. "4bfc0d6f20d000cdf242fcc39a002d1125b0ca22" and "830b0392c531c84bf3eb3a82751befcf5e7889dd" have entirely different histories.
4bfc0d6f20
...
830b0392c5
|
|
@ -949,7 +949,6 @@ class MlogbInViewSet(BulkCreateModelMixin, BulkUpdateModelMixin, BulkDestroyMode
|
||||||
c_year2 = str(c_year)[-2:]
|
c_year2 = str(c_year)[-2:]
|
||||||
c_month = handle_date.month
|
c_month = handle_date.month
|
||||||
m_model = material_out.model
|
m_model = material_out.model
|
||||||
if 'm_model' in rule:
|
|
||||||
if m_model is None:
|
if m_model is None:
|
||||||
raise ParseError("生成编号出错:产品型号不能为空")
|
raise ParseError("生成编号出错:产品型号不能为空")
|
||||||
elif m_model and m_model.islower():
|
elif m_model and m_model.islower():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue