fix: 出入库明细撤回bug
This commit is contained in:
parent
e6d8509971
commit
a0ed107491
|
@ -440,7 +440,7 @@ class InmService:
|
|||
|
||||
@classmethod
|
||||
def revert_and_del(cls, mioitem: MIOItem):
|
||||
mio:MIO = MIOItem.mio
|
||||
mio = mioitem.mio
|
||||
if mio.submit_time is None:
|
||||
raise ParseError("未提交的出入库明细不允许撤销")
|
||||
if mioitem.test_date is not None:
|
||||
|
|
Loading…
Reference in New Issue