fix: update_mb_item在检验时只做负数校验
This commit is contained in:
parent
265a15c9fc
commit
014b48e135
|
@ -384,8 +384,8 @@ class InmService:
|
||||||
xbatchs = []
|
xbatchs = []
|
||||||
for material, warehouse, batch, change_count, defect, mioitem in m_list:
|
for material, warehouse, batch, change_count, defect, mioitem in m_list:
|
||||||
xbatchs.append(batch)
|
xbatchs.append(batch)
|
||||||
if change_count <= 0:
|
if change_count < 0:
|
||||||
raise ParseError("存在非正数!")
|
raise ParseError("存在负数!")
|
||||||
state = WMaterial.WM_OK
|
state = WMaterial.WM_OK
|
||||||
if defect:
|
if defect:
|
||||||
state = WMaterial.WM_NOTOK
|
state = WMaterial.WM_NOTOK
|
||||||
|
|
Loading…
Reference in New Issue