shish 2 лет назад
Родитель
Сommit
576617a5c7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ghs/src/views/in/add.vue

+ 1 - 1
ghs/src/views/in/add.vue

@@ -168,7 +168,7 @@
           应付金额
           <el-input style="width: 80%" v-model="modifyPrice" @focus="modifyPrice=''"></el-input>
         </div>
-        <div class="accounts-list" style="font-size:25upx;margin-left:20upx;color:green;font-weight:bold;">
+        <div class="accounts-list" style="font-size:25upx;margin-left:20upx;color:green;font-weight:bold;" v-if="parseFloat((totalPrice - modifyPrice).toFixed(2))>0">
           减免金额
           <div class="accounts-center">¥{{ parseFloat((totalPrice - modifyPrice).toFixed(2)) }}</div>
         </div>