Commit 540fbfdb by v_vjyjiang

d

parent 0934675b
...@@ -16,7 +16,7 @@ class DeliverybillService extends ServiceBase { ...@@ -16,7 +16,7 @@ class DeliverybillService extends ServiceBase {
//远程调用去查询成本按照skucode //远程调用去查询成本按照skucode
let costqueryobj = await system.postJsonTypeReq("http://paas-service/api/common/product/findCostBySkuCode", { let costqueryobj = await system.postJsonTypeReq("http://paas-service/api/common/product/findCostBySkuCode", {
"skucode": b.sku_code "skucode": b.sku_code
}, "POST", { xappkey: "647a68c9- da01 - 40d3-9763 - 1ffa0f64cf3f" }) }, "POST", { xappkey: "647a68c9-da01-40d3-9763-1ffa0f64cf3f" })
let rtn = costqueryobj.data let rtn = costqueryobj.data
let cn = rtn.data.cost let cn = rtn.data.cost
console.log(cn, "....................................................................", b.sku_code) console.log(cn, "....................................................................", b.sku_code)
...@@ -131,11 +131,11 @@ class DeliverybillService extends ServiceBase { ...@@ -131,11 +131,11 @@ class DeliverybillService extends ServiceBase {
closedCount: closedCount, closedCount: closedCount,
allHandled: allHandled, allHandled: allHandled,
toSettle: toSettle, toSettle: toSettle,
toSettleAmount: toSettleAmount ? toSettleAmount : 0, toSettleAmount: toSettleAmount ? toSettleAmount / 100 : 0,
settling: settling, settling: settling,
settlingAmount: settlingAmount ? settlingAmount : 0, settlingAmount: settlingAmount ? settlingAmount / 100 : 0,
settled: settled, settled: settled,
settledAmount: settledAmount ? settledAmount : 0 settledAmount: settledAmount ? settledAmount / 100 : 0
} }
} }
......
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