lilei преди 1 година
родител
ревизия
1866f5df49
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      pagesA/digitalShelf/choosePart.vue

+ 1 - 1
pagesA/digitalShelf/choosePart.vue

@@ -59,7 +59,7 @@
 											<view class="item-detail-text flex_1">
 												<view @click="openPriceModal(item)">
 													<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>
+													<text class="item-price" :style="{color:!item.cost?'#666':''}" v-if="showCostPrice&&item.affiliation=='SHELF'">{{item.cost?'¥'+item.cost:'暂无价格'}}</text>
 													<u-icon name="arrow-right" v-if="priceShowVal"></u-icon>
 												</view>
 											</view>