shish пре 2 година
родитељ
комит
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>