|
@@ -5,7 +5,7 @@
|
|
|
<el-checkbox class="option" v-for="item in groupOptions" :label="item.id" :key="item.id">
|
|
|
<strong>
|
|
|
<span>{{item.name}}</span>
|
|
|
- <span>{{item.price}}元</span>
|
|
|
+ <span>{{item.price | moneyFormat}}元</span>
|
|
|
</strong>
|
|
|
<p v-for="sub in item.subs" :key="sub">{{sub}}</p>
|
|
|
</el-checkbox>
|
|
@@ -14,7 +14,7 @@
|
|
|
<el-checkbox class="option" v-for="item in list" :label="item.id" :key="item.id">
|
|
|
<strong>
|
|
|
<span>{{item.name}}</span>
|
|
|
- <span>{{item.groupPurchasePrice > 0 ? item.groupPurchasePrice + ' 元' : '免费'}}</span>
|
|
|
+ <span>{{item.groupPurchasePrice > 0 ? (item.groupPurchasePrice | moneyFormat) + ' 元' : '免费'}}</span>
|
|
|
</strong>
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|