feat: 导入物料明细时可默认批次号为 无批次
This commit is contained in:
parent
3d188a72f3
commit
e6a1363b43
|
@ -150,7 +150,7 @@ def daoru_mioitems(path:str, mio:MIO):
|
||||||
elif material.bin_number_main:
|
elif material.bin_number_main:
|
||||||
batch = material.bin_number_main
|
batch = material.bin_number_main
|
||||||
else:
|
else:
|
||||||
raise ParseError(f"第{ind}行批次为空")
|
batch = "无批次"
|
||||||
count = sheet[f"c{ind}"].value
|
count = sheet[f"c{ind}"].value
|
||||||
warehouse_name = sheet[f"d{ind}"].value
|
warehouse_name = sheet[f"d{ind}"].value
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue