shish 3 anni fa
parent
commit
38384abbe0
1 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. 3 4
      hdApp/src/pagesPurchase/xj.vue

+ 3 - 4
hdApp/src/pagesPurchase/xj.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="billing_box_bg">
     	<view class="input-wrap">
-			<text>总库存:{{parseFloat(xjStock)}}</text><text style="margin-left:50upx;">单价:¥{{parseFloat(xjPrice)}}</text>
+			<text>总库存:{{parseFloat(xjStock)}}</text><text style="margin-left:50upx;">单价:¥{{parseFloat(xjPrice)}}</text>
 		</view>
 		<view style="margin-top:20upx;">
 			<block>
@@ -17,9 +17,8 @@
 									<view class="kc"></view>
 									<view class="num-open_bx" @click.stop>
 										<view class="open-bx warn">
-											库存
-											<text v-if="xjItem.stock == -1">充足</text>
-											<text v-else style="margin-left:5upx;">{{xjItem.stock}}</text>
+											剩
+											<text style="margin-left:5upx;">{{xjItem.stock}}</text>
 											<input class="change-input" placeholder-style="color:#CCCCCC" v-model="numList[xjItem.id]" type="number" placeholder="请填写数量" />
 										</view>
 									</view>