Commit 4a4a9ae9 by v_vjyjiang

d

parent 43d9ce22
...@@ -570,8 +570,10 @@ class UserService extends ServiceBase { ...@@ -570,8 +570,10 @@ class UserService extends ServiceBase {
) )
let costAmount = 0 let costAmount = 0
//获取服务费成本 //获取服务费成本
if (productpricetmp['costs.costamount']) { if (productpricetmp && productpricetmp['costs.costamount']) {
costAmount = Number(productpricetmp['costs.costamount']) costAmount = Number(productpricetmp['costs.costamount'])
} else {
console.log("skucode not find product:", skucode)
} }
return costAmount return costAmount
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment