Browse Source

修改往来账款新增合计

cuixq 4 years ago
parent
commit
316af6476c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      front-vue/src/views/service/bill/billAdd.vue

+ 3 - 3
front-vue/src/views/service/bill/billAdd.vue

@@ -979,11 +979,11 @@ export default {
         allAmount() {
             var strarr = [0.0];
             for (let i in this.fileList) {
-                if (this.fileList[i]["ziiCheckStt"] == "1") {
+                // if (this.fileList[i]["ziiCheckStt"] == "1") {
                 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); //结果
         },
         // 提交
         submit() {