|
@@ -166,11 +166,11 @@
|
|
|
<view class="item-detail-info">
|
|
|
<view class="flex justify_between">
|
|
|
<text class="item-detail-text flex_1">{{item.code}}</text>
|
|
|
- <text class="item-detail-text" >库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
|
|
|
+ <text class="item-detail-text" v-if="item.affiliation=='SHELF'">库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
|
|
|
</view>
|
|
|
<view class="flex justify_between">
|
|
|
<view class="item-detail-text flex_1">
|
|
|
- <text class="item-price">¥{{item.price||0}}</text>
|
|
|
+ <text class="item-price" v-if="item.affiliation=='SHELF'">¥{{item.price||0}}</text>
|
|
|
</view>
|
|
|
<view class="item-detail-text">
|
|
|
<u-number-box @change="updateCartNums" v-model="item.qty" :index="'cart_'+item.productSn" :min="0" :max="item.currentInven||999999"></u-number-box>
|