|
@@ -720,14 +720,12 @@ export default {
|
|
|
const rateTotal = div(totalFinalPrice, totalOriginalPrice) ? (div(totalFinalPrice, totalOriginalPrice) * 100).toFixed(2) + '%' : '无法计算';
|
|
|
|
|
|
// 无标准售价产品,标准售价合计展示为无法计算
|
|
|
- const noOriginalPriceProduct = ['企业商机管理', '医械通', '物业数字化营销', '运营商专版']
|
|
|
+ // const noOriginalPriceProduct = ['企业商机管理', '医械通', '物业数字化营销', '运营商专版']
|
|
|
let noOriginalPriceProductBool = false
|
|
|
- noOriginalPriceProduct.forEach(item => {
|
|
|
- productData.forEach(product => {
|
|
|
- if(product.product_type.includes(item)) {
|
|
|
- noOriginalPriceProductBool = true
|
|
|
- }
|
|
|
- })
|
|
|
+ productData.forEach(product => {
|
|
|
+ if(!product.original_price) {
|
|
|
+ noOriginalPriceProductBool = true
|
|
|
+ }
|
|
|
})
|
|
|
const originalPriceTotal = !noOriginalPriceProductBool
|
|
|
this.orderData.final_price_total = totalFinalPrice;
|