Ver Fonte

修改合计

cuixq há 3 anos atrás
pai
commit
ea808d4e76
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      front-vue/src/views/service/bill/billEdit.vue

+ 1 - 1
front-vue/src/views/service/bill/billEdit.vue

@@ -1045,7 +1045,7 @@ export default {
                 strarr.push(this.fileList[i]["ziiAmount"]);
                 }
             }
-            return (Math.floor(eval(strarr.join("+")) * 100) / 100).toFixed(2); //结果
+            return (Math.round(eval(strarr.join("+")) * 100) / 100).toFixed(2); //结果
             // return this.handleInput(eval(strarr.join("+"))); //结果
         },
         // 结束