shish hace 4 años
padre
commit
12f996b058
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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" >
           <tui-list-cell class="line-cell" :hover="false" :arrow="false" >
             <view class="tui-title">总金额</view>
             <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>
           </tui-list-cell>
 
 
           <!--
           <!--
@@ -107,7 +107,7 @@
                 <text v-if="form.debt == 1">应收金额</text><text v-else>已收金额</text>
                 <text v-if="form.debt == 1">应收金额</text><text v-else>已收金额</text>
               </text>  
               </text>  
             </view>
             </view>
-            <text style="color: #3385FF">{{modifyPrice}}</text>
+            <text style="color: #3385FF">{{parseFloat(modifyPrice)}}</text>
           </tui-list-cell>
           </tui-list-cell>
 
 
           <tui-list-cell class="line-cell" :hover="false" :arrow="false">
           <tui-list-cell class="line-cell" :hover="false" :arrow="false">