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