Commit 33a943ee by chenwq

详情页SC002和SC003

1 parent bfb9360d
......@@ -11,7 +11,8 @@ const formList = [{
name: 'upgradeCount'
}, {
label: '营业额',
name: 'totalSubOrderOrderMoney'
name: 'totalSubOrderOrderMoney',
prefix: '¥'
}, {
label: '客单价',
name: 'calCustomerUnitPrice',
......
......@@ -334,7 +334,7 @@ Page({
var idx = actCodeList.findIndex(i => i == item.productCode)
if (idx != -1) {
var orderTotal = item.orderTotal
if (obj.flag) {
if ((isFirst || this.data.sceneCodeActive == 'SC002') && obj.flag) {
let upgradeObj = this.data.mockObj.upgradeObj[obj.idx]
item.orderTotal = upgradeObj.orderTotal
} else if (item.orderTotal) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!