fix: 数量单价bug修复
This commit is contained in:
parent
3c5ac9432b
commit
42c48679a8
|
|
@ -248,7 +248,11 @@ class SCBankProcessor:
|
|||
"remark": str(row.get("备注", "")) if pd.notna(row.get("备注")) else ""
|
||||
},
|
||||
"goodsInfoList": [
|
||||
{"spuName": str(row.get("产品名称", "未知商品")) if pd.notna(row.get("产品名称")) else "未知商品"}
|
||||
{
|
||||
"spuName": str(row.get("产品名称", "未知商品")) if pd.notna(row.get("产品名称")) else "未知商品",
|
||||
"count": int(row.get("数量", 1)) if pd.notna(row.get("数量")) else 1,
|
||||
"price": float(row.get("单价", 0.0)) if pd.notna(row.get("单价")) else 0.0,
|
||||
}
|
||||
],
|
||||
"orderAmt": float(row.get("单价", 0.0)) if pd.notna(row.get("单价")) else 0.0,
|
||||
"exMerchant": "成都蓝色兄弟网络科技有限公司"
|
||||
|
|
|
|||
Loading…
Reference in New Issue