|
@@ -23,10 +23,12 @@
|
|
|
<template v-else>
|
|
|
<span style="font-size: 20px">¥</span
|
|
|
>{{
|
|
|
- serviceProductList
|
|
|
- .filter(item => !!~formgengduode.serviceProductList.indexOf(item.dictCode))
|
|
|
- .map(item => item.price)
|
|
|
- .reduce((accumulator, currentValue) => accumulator + currentValue, 0) * formgengduode.year
|
|
|
+ goodsId != '000'
|
|
|
+ ? 0
|
|
|
+ : serviceProductList
|
|
|
+ .filter(item => !!~formgengduode.serviceProductList.indexOf(item.dictCode))
|
|
|
+ .map(item => item.price)
|
|
|
+ .reduce((accumulator, currentValue) => accumulator + currentValue, 0) * formgengduode.year
|
|
|
}}
|
|
|
</template>
|
|
|
</div>
|