update: 去掉总价值计算

This commit is contained in:
admin 2024-05-10 14:01:12 +08:00
parent baa0db4871
commit 426640fc6a
2 changed files with 3 additions and 9 deletions

View File

@ -242,12 +242,6 @@
"navigationBarTitleText": "客户详情" "navigationBarTitleText": "客户详情"
} }
} }
// {
// "path": "uni_modules/lime-echart",
// "style": {
// "navigationBarTitleText": "组件库"
// }
// }
] ]
}, },
{ {

View File

@ -462,9 +462,9 @@ watch(
(model1.order.unitPrice || 0) * (model1.order.settlementWeight || 0) (model1.order.unitPrice || 0) * (model1.order.settlementWeight || 0)
).toFixed(2) ).toFixed(2)
); );
if (!model1.order.totalPrice) { // if (!model1.order.totalPrice) {
model1.order.totalPrice = model1.order.estimatePrice; // model1.order.totalPrice = model1.order.estimatePrice;
} // }
model1.order.realIncome = model1.order.realIncome =
(model1.order.totalPrice || 0) - (model1.order.totalPrice || 0) -