dongchangxi 11 months ago
parent
commit
7dd9d027f6
  1. 4
      tools/cal_weight_excel.py

4
tools/cal_weight_excel.py

@ -87,6 +87,8 @@ def main(action, pid, sizes,orderId=0): @@ -87,6 +87,8 @@ def main(action, pid, sizes,orderId=0):
'1/10': [0],
'1/12尺寸': [0],
'1/12': [0],
'1/14尺寸': [0],
'1/14': [0],
'1/16尺寸': [0],
'1/16': [0],
'1/18尺寸': [0],
@ -110,7 +112,7 @@ def main(action, pid, sizes,orderId=0): @@ -110,7 +112,7 @@ def main(action, pid, sizes,orderId=0):
if arrSize[1] in df.columns:
new_data[arrSize[1]+"尺寸"] = [str(size/10)+"cm"]
new_data[arrSize[1]] = [str(weight)]
new_data[arrSize[1]] = [str(weight)+'g']
# 更新数据
# 将新数据转换为 DataFrame

Loading…
Cancel
Save