Commit 0151f3b0 by chenwq

无嘀加成本则为null

1 parent c5d4b5ba
......@@ -264,11 +264,11 @@ export default {
// 商品在这个层级依赖
detail.upgradeGoodsId = detail.detailList[0].upgradeGoodsId;
// 若无嘀加成本则默认=0
if (detail?.detailList?.[0]?.upgradeGoods) {
if (!detail?.detailList?.[0]?.upgradeGoods?.djCost) {
detail.detailList[0].upgradeGoods.djCost = 0;
}
}
// if (detail?.detailList?.[0]?.upgradeGoods) {
// if (!detail?.detailList?.[0]?.upgradeGoods?.djCost) {
// detail.detailList[0].upgradeGoods.djCost = 0;
// }
// }
// 5.8.6 若产品供应方=广联直营,则第三方成本默认=0且不可编辑
if (detail?.detailList?.[0]?.supplyFlag === 1) {
// 第三方成本
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!