فهرست منبع

列表增加对账、开票金额

lichao 3 سال پیش
والد
کامیت
074808cfdc
2فایلهای تغییر یافته به همراه32 افزوده شده و 4 حذف شده
  1. 14 0
      src/views/reportManagement/generalLedgerDr/detail.vue
  2. 18 4
      src/views/reportManagement/generalLedgerDr/index.vue

+ 14 - 0
src/views/reportManagement/generalLedgerDr/detail.vue

@@ -372,6 +372,20 @@ export default {
           checked: 0,
           width: 130,
         },
+        {
+          surface: "10",
+          label: "faccamount",
+          name: "对账金额",
+          checked: 0,
+          width: 130,
+        },
+        {
+          surface: "11",
+          label: "finvamount",
+          name: "开票金额",
+          checked: 0,
+          width: 130,
+        },
       ],
       allCheck: false,
     };

+ 18 - 4
src/views/reportManagement/generalLedgerDr/index.vue

@@ -429,21 +429,35 @@ export default {
           label: "famount",
           name: "应收金额",
           checked: 0,
-          width: 250,
+          width: 130,
         },
         {
           surface: "4",
           label: "fstlamount",
           name: "实收金额",
           checked: 0,
-          width: 250,
+          width: 130,
         },
         {
           surface: "5",
           label: "nnfinished",
           name: "未收金额",
           checked: 0,
-          width: 250,
+          width: 130,
+        },
+        {
+          surface: "6",
+          label: "faccamount",
+          name: "对账金额",
+          checked: 0,
+          width: 130,
+        },
+        {
+          surface: "7",
+          label: "finvamount",
+          name: "开票金额",
+          checked: 0,
+          width: 130,
         },
       ],
       allCheck: false,
@@ -561,7 +575,7 @@ export default {
       columns.forEach((column, index) => {
         if (index === 0) {
           sums[index] = "总计";
-        } else if (column.label == '应收金额' || column.label == '实收金额' || column.label == '未收金额') {
+        } else if (column.label == '应收金额' || column.label == '实收金额' || column.label == '未收金额' || column.label == '对账金额' || column.label == '开票金额') {
           const values = data.map((item) => Number(item[column.property]));
           if (!values.every((value) => isNaN(value))) {
             sums[index] = values.reduce((prev, curr) => {