feat: 导入物料明细时可默认批次号为 无批次
This commit is contained in:
parent
e6a1363b43
commit
0c08543e9c
|
@ -147,8 +147,6 @@ def daoru_mioitems(path:str, mio:MIO):
|
||||||
raise ParseError(f"未找到物料:{material_number} {e}")
|
raise ParseError(f"未找到物料:{material_number} {e}")
|
||||||
if batch:
|
if batch:
|
||||||
pass
|
pass
|
||||||
elif material.bin_number_main:
|
|
||||||
batch = material.bin_number_main
|
|
||||||
else:
|
else:
|
||||||
batch = "无批次"
|
batch = "无批次"
|
||||||
count = sheet[f"c{ind}"].value
|
count = sheet[f"c{ind}"].value
|
||||||
|
|
Loading…
Reference in New Issue