1
This commit is contained in:
1 parent
3aff1c651c
commit
7dd9d027f6
1 file changed
+3
-1
@@ -87,6 +87,8 @@ def main(action, pid, sizes,orderId=0):
|
|||||||
'1/10': [0],
|
'1/10': [0],
|
||||||
'1/12尺寸': [0],
|
'1/12尺寸': [0],
|
||||||
'1/12': [0],
|
'1/12': [0],
|
||||||
|
'1/14尺寸': [0],
|
||||||
|
'1/14': [0],
|
||||||
'1/16尺寸': [0],
|
'1/16尺寸': [0],
|
||||||
'1/16': [0],
|
'1/16': [0],
|
||||||
'1/18尺寸': [0],
|
'1/18尺寸': [0],
|
||||||
@@ -110,7 +112,7 @@ def main(action, pid, sizes,orderId=0):
|
|||||||
|
|
||||||
if arrSize[1] in df.columns:
|
if arrSize[1] in df.columns:
|
||||||
new_data[arrSize[1]+"尺寸"] = [str(size/10)+"cm"]
|
new_data[arrSize[1]+"尺寸"] = [str(size/10)+"cm"]
|
||||||
new_data[arrSize[1]] = [str(weight)]
|
new_data[arrSize[1]] = [str(weight)+'g']
|
||||||
|
|
||||||
# 更新数据
|
# 更新数据
|
||||||
# 将新数据转换为 DataFrame
|
# 将新数据转换为 DataFrame
|
||||||
|
|||||||
Reference in new issue
Block a user