删除价格要保留的小数
This commit is contained in:
parent
31a1561161
commit
67cd3d3d52
@ -9,7 +9,7 @@
|
|||||||
<view class="primary flex">
|
<view class="primary flex">
|
||||||
<text class="xs lighter m-r-10" v-if="pId > 0">零售价: </text>
|
<text class="xs lighter m-r-10" v-if="pId > 0">零售价: </text>
|
||||||
<price-format :first-size="46" :second-size="32" :subscript-size="32"
|
<price-format :first-size="46" :second-size="32" :subscript-size="32"
|
||||||
:price="group ? (checkedGoods.team_price * (goodsNum || 1)).toFixed(1) : (checkedGoods.price * (goodsNum || 1)).toFixed(1)"
|
:price="group ? (checkedGoods.team_price * (goodsNum || 1)) : (checkedGoods.price * (goodsNum || 1))"
|
||||||
:weight="500" />
|
:weight="500" />
|
||||||
<!-- 删除会员价,git找回 -->
|
<!-- 删除会员价,git找回 -->
|
||||||
</view>
|
</view>
|
||||||
@ -21,14 +21,14 @@
|
|||||||
<text class="xs lighter">集采价:</text>
|
<text class="xs lighter">集采价:</text>
|
||||||
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34"
|
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34"
|
||||||
:second-size="26" :subscript-size="26"
|
:second-size="26" :subscript-size="26"
|
||||||
:price="parseInt((purchase_child_price * (goodsNum || 1)).toFixed(1))|| (checkedGoods.purchase_price * (goodsNum || 1)).toFixed(1)"
|
:price="parseInt((purchase_child_price * (goodsNum || 1)))|| (checkedGoods.purchase_price * (goodsNum || 1))"
|
||||||
:weight="500"></price-format>
|
:weight="500"></price-format>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="checkedGoods.issuing_price > 0">
|
<view v-if="checkedGoods.issuing_price > 0">
|
||||||
<text class="xs lighter">代发价:</text>
|
<text class="xs lighter">代发价:</text>
|
||||||
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34"
|
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34"
|
||||||
:second-size="26" :subscript-size="26"
|
:second-size="26" :subscript-size="26"
|
||||||
:price="(checkedGoods.issuing_price * (goodsNum || 1)).toFixed(1)"
|
:price="(checkedGoods.issuing_price * (goodsNum || 1))"
|
||||||
:weight="500"></price-format>
|
:weight="500"></price-format>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="(checkedGoods.wholesale_pce > 0 && wholesaleState == 2) || seeWholesale">
|
<view v-if="(checkedGoods.wholesale_pce > 0 && wholesaleState == 2) || seeWholesale">
|
||||||
@ -128,8 +128,7 @@
|
|||||||
<view v-for="(item, index) in specList" :key="index" class="spec">
|
<view v-for="(item, index) in specList" :key="index" class="spec">
|
||||||
<view class="name m-b-20">
|
<view class="name m-b-20">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
<text
|
<text class="primary xs m-l-20">{{checkedGoods.spec_value_ids_arr[index] == '' ? '请选择'+item.name:''}}</text>
|
||||||
class="primary xs m-l-20">{{checkedGoods.spec_value_ids_arr[index] == '' ? '请选择'+item.name:''}}</text>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="flex flex-wrap">
|
<view class="flex flex-wrap">
|
||||||
<view v-for="(specitem, index2) in item.spec_value" :key="index2" :class="'spec-item sm ' +
|
<view v-for="(specitem, index2) in item.spec_value" :key="index2" :class="'spec-item sm ' +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user