lilei 2 years ago
parent
commit
686f10b59f
1 changed files with 2 additions and 3 deletions
  1. 2 3
      pages/batchShelves/scanProduct.vue

+ 2 - 3
pages/batchShelves/scanProduct.vue

@@ -16,10 +16,9 @@
 						<view class="pinfo flex_1">
 						<view class="pinfo flex_1">
 							<view class="ptxt flex align_center justify_between">
 							<view class="ptxt flex align_center justify_between">
 								<view>{{productInfo.code}}</view>
 								<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}}
 									{{productInfo.unit}}
 								</view>
 								</view>
 							</view>
 							</view>