Browse Source

字段修改

xiaohaizhao 1 năm trước cách đây
mục cha
commit
ad7e5d9751
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packageA/toolBill/modules/selectProduct/index.wxml

+ 1 - 1
packageA/toolBill/modules/selectProduct/index.wxml

@@ -21,7 +21,7 @@
                     数量:{{item.qty}}
                 </view>
                 <view class="price line-1">
-                    总金额<text class="num">¥{{item.gradeprice || item.amount}}元</text>
+                    总金额<text class="num">¥{{item.amount || (item.qty*item.price)}}元</text>
                 </view>
             </view>
         </view>