shish 4 лет назад
Родитель
Сommit
12f996b058
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      ghsApp/src/admin/billing/affirm.vue

+ 3 - 3
ghsApp/src/admin/billing/affirm.vue

@@ -90,8 +90,8 @@
 
           <tui-list-cell class="line-cell" :hover="false" :arrow="false" >
             <view class="tui-title">总金额</view>
-            <text style="color: #3385FF" v-if="form.sendType == 1">{{	(allPrice + Number(form.sendCost)).toFixed(2) }}</text>
-            <text style="color: #3385FF" v-else >{{ allPrice.toFixed(2) }}</text>
+            <text style="color: #3385FF" v-if="form.sendType == 1">{{	parseFloat((allPrice + Number(form.sendCost)).toFixed(2)) }}</text>
+            <text style="color: #3385FF" v-else >{{ parseFloat(allPrice.toFixed(2)) }}</text>
           </tui-list-cell>
 
           <!--
@@ -107,7 +107,7 @@
                 <text v-if="form.debt == 1">应收金额</text><text v-else>已收金额</text>
               </text>  
             </view>
-            <text style="color: #3385FF">{{modifyPrice}}</text>
+            <text style="color: #3385FF">{{parseFloat(modifyPrice)}}</text>
           </tui-list-cell>
 
           <tui-list-cell class="line-cell" :hover="false" :arrow="false">