优化动态单价问题

This commit is contained in:
Your Name 2023-09-15 10:29:22 +08:00
parent 147c5f19a2
commit a441cf3445
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@
<text class="margin-right-xs">房号:{{item.payerObjName}}</text>
</view>
<view class="sub-info-item text-gray text-sm">
<text class="margin-right-xs">单价:{{item.squarePrice}}</text>
<text class="margin-right-xs">单价:{{item.mwPrice && item.mwPrice>0?item.mwPrice:item.squarePrice}}</text>
</view>
</view>
</view>

View File

@ -32,7 +32,7 @@
<text class="margin-right-xs">使用量:{{item.curDegrees-item.preDegrees}}</text>
</view>
<view class="sub-info-item text-gray text-sm">
<text class="margin-right-xs">单价:{{item.squarePrice}}</text>
<text class="margin-right-xs">单价:{{item.mwPrice && item.mwPrice>0?item.mwPrice:item.squarePrice}}</text>
</view>
</view>
</view>