Merge branch 'master' of http://gitea.xxhhcty.xyz:8080/zcdsj/factory
This commit is contained in:
commit
bc4953893b
|
@ -58,7 +58,7 @@ def daoru_material(path: str):
|
|||
i = 3
|
||||
if sheet['a2'].value != '物料编号':
|
||||
raise ParseError('列错误导入失败')
|
||||
while sheet[f'b{i}'].value is not None:
|
||||
while sheet[f'b{i}'].value is not None or sheet[f'd{i}'].value is not None:
|
||||
type_str = sheet[f'b{i}'].value.replace(' ', '')
|
||||
try:
|
||||
type = type_dict[type_str]
|
||||
|
|
Loading…
Reference in New Issue