haugnfuli 3 years ago
parent
commit
04f8ab3860
1 changed files with 6 additions and 1 deletions
  1. 6 1
      pages/release/release.vue

+ 6 - 1
pages/release/release.vue

@@ -17,7 +17,12 @@
 					<view class="address">{{item.privates}}{{item.city}}{{item.Area}}</view>
 					<view class="flex ">
 						<view class="weight">{{item.plannedVolume > 0 ? item.plannedVolume : 0}}吨</view>
-						<text class="unitPrice">{{item.unitPrice}} <text class="amount">元/吨</text></text>
+						<view v-if='item.planType=="期货"'>
+							<text class="unitPrice">{{item.basisPrice}} <text class="amount">元/吨</text></text>
+						</view>
+						<view v-if='item.planType=="现货"'>
+							<text class="unitPrice">{{item.unitPrice}} <text class="amount">元/吨</text></text>
+						</view>
 					</view>
 				</view>
 				<hr style="margin: 16px 0; color: #EEEEEE;">