|
@@ -16,10 +16,9 @@
|
|
|
<view class="pinfo flex_1">
|
|
|
<view class="ptxt flex align_center justify_between">
|
|
|
<view>{{productInfo.code}}</view>
|
|
|
- <view class="pcode">
|
|
|
+ <view class="pcode" v-if="productInfo.shelfProductApi">
|
|
|
可用库存:
|
|
|
- <text v-if="productInfo.shelfCartApi">{{productInfo.shelfCartApi.qty}}</text>
|
|
|
- <text v-else-if="productInfo.shelfProductApi">{{productInfo.shelfProductApi.qty}}</text>
|
|
|
+ <text>{{productInfo.shelfProductApi.qty}}</text>
|
|
|
{{productInfo.unit}}
|
|
|
</view>
|
|
|
</view>
|