|
@@ -55,8 +55,8 @@
|
|
|
<view class="flex justify_between">
|
|
|
<view class="item-detail-text flex_1">
|
|
|
<view @click="openPriceModal(item)">
|
|
|
- <text class="item-price" v-if="showCarPrice">¥{{item.price||0}}</text>
|
|
|
- <text class="item-price" v-if="showCostPrice">¥{{item.cost||0}}</text>
|
|
|
+ <text class="item-price" :style="{color:!item.price?'#666':''}" v-if="showCarPrice">{{item.price?'¥'+item.price:'暂无价格'}}</text>
|
|
|
+ <text class="item-price" :style="{color:!item.cost?'#666':''}" v-if="showCostPrice">{{item.cost?'¥'+item.cost:'暂无价格'}}</text>
|
|
|
<u-icon name="arrow-right" v-if="priceShowVal"></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -107,8 +107,8 @@
|
|
|
</view>
|
|
|
<view class="flex justify_between">
|
|
|
<view class="item-detail-text flex_1" @click="openPriceModal(item)">
|
|
|
- <text class="item-price" v-if="showCarPrice">¥{{item.price||0}}</text>
|
|
|
- <text class="item-price" v-if="showCostPrice">¥{{item.cost||0}}</text>
|
|
|
+ <text class="item-price" :style="{color:!item.price?'#666':''}" v-if="showCarPrice">{{item.price?'¥'+item.price:'暂无价格'}}</text>
|
|
|
+ <text class="item-price" :style="{color:!item.cost?'#666':''}" v-if="showCostPrice">{{item.cost?'¥'+item.cost:'暂无价格'}}</text>
|
|
|
<u-icon name="arrow-right" v-if="priceShowVal"></u-icon>
|
|
|
</view>
|
|
|
<view class="item-detail-text" v-if="item.currentInven">
|
|
@@ -179,8 +179,8 @@
|
|
|
</view>
|
|
|
<view class="flex justify_between">
|
|
|
<view class="item-detail-text flex_1">
|
|
|
- <text class="item-price" v-if="showCarPrice">¥{{item.price||0}}</text>
|
|
|
- <text class="item-price" v-if="showCostPrice">¥{{item.cost||0}}</text>
|
|
|
+ <text class="item-price" :style="{color:!item.price?'#666':''}" v-if="showCarPrice">{{item.price?'¥'+item.price:'暂无价格'}}</text>
|
|
|
+ <text class="item-price" :style="{color:!item.cost?'#666':''}" v-if="showCostPrice">{{item.cost?'¥'+item.cost:'暂无价格'}}</text>
|
|
|
</view>
|
|
|
<view class="item-detail-text">
|
|
|
<u-number-box @change="updateCartNums" @blur="updateCartNums" v-model="item.qty" :index="'cart_'+item.productSn" :min="0" :max="item.currentInven||999999"></u-number-box>
|
|
@@ -215,11 +215,11 @@
|
|
|
</view>
|
|
|
<view>
|
|
|
<text>进货价</text>
|
|
|
- <text>{{tempData.cost||0}}</text>
|
|
|
+ <text>{{tempData.cost?'¥'+tempData.cost:'暂无价格'}}</text>
|
|
|
</view>
|
|
|
<view>
|
|
|
<text>车主价</text>
|
|
|
- <text>{{tempData.price||0}}</text>
|
|
|
+ <text>{{tempData.price?'¥'+tempData.price:'暂无价格'}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
@@ -720,6 +720,8 @@
|
|
|
> text{
|
|
|
&:last-child{
|
|
|
color: #999;
|
|
|
+ width: 70%;
|
|
|
+ display: block;
|
|
|
}
|
|
|
}
|
|
|
border-bottom: 1px solid #eee;
|