|
|
@@ -66,10 +66,10 @@
|
|
|
<text style="margin-left:14upx;">¥{{ parseFloat(customData.price) }}</text>
|
|
|
<text style="margin-left:14upx;">{{customData.ratio}}{{customData.smallUnit}}/{{customData.bigUnit}}</text>
|
|
|
<!-- 花样年花,要求不显示成本,其他批发商需要 -->
|
|
|
- <text style="margin-left:14upx;" v-if="customData.mainId!=1553">成本 {{customData.cost?parseFloat(customData.cost):0}}</text>
|
|
|
+ <text style="margin-left:14upx;" v-if="customData.mainId!=1553">成本 {{customData.avCost?parseFloat(customData.avCost):0}}</text>
|
|
|
</view>
|
|
|
<view class="num_bx">
|
|
|
- <input style="width:280upx" v-model="customData.userPrice" @focus="customData.userPrice = null" :class="[Number(customData.cost) > Number(customData.userPrice) ? 'warning-price' : '']"
|
|
|
+ <input style="width:280upx" v-model="customData.userPrice" @focus="customData.userPrice = null" :class="[Number(customData.avCost) > Number(customData.userPrice) ? 'warning-price' : '']"
|
|
|
:disabled="false" type="digit" placeholder="单价" />
|
|
|
<text style="font-size:35upx;font-weight:bold;color:#666666;">元</text>
|
|
|
</view>
|