loulijun2021
2023-05-06 6c2e00278c1194b46eb9153ca4166af868bb15ef
src/views/bbgl/rygz.vue
@@ -121,8 +121,7 @@
              :data="tableData"
              :height="isExpandForm?(tableHeight-80):(tableHeight-40)+'px'"
              border
              :summary-method="getSummaries"
              show-summary
              :row-class-name="tableRowClassName"
              :style="{width: 100+'%',height:isExpandForm?(tableHeight-80):(tableHeight-40)+'px',}"
              highlight-current-row
@@ -130,6 +129,8 @@
              :cell-style="this.$cellStyle"
              @sort-change="sortChange"
            >
<!--              :summary-method="getSummaries"-->
<!--              show-summary-->
              <el-table-column
                prop="RowNum"
                width="50"
@@ -236,7 +237,7 @@
              </el-table-column>
              <el-table-column
                prop="usermoney"
                label="个人记件工资"
                label="个人计件工资"
                width="130"
                sortable="custom"
              >
@@ -279,8 +280,7 @@
              :data="tableData2"
              :height="isExpandForm?(tableHeight-80):(tableHeight-40)+'px'"
              border
              :summary-method="getSummaries"
              show-summary
              :row-class-name="tableRowClassName"
              :style="{width: 100+'%',height:isExpandForm?(tableHeight-80):(tableHeight-40)+'px',}"
              highlight-current-row
@@ -288,6 +288,8 @@
              :cell-style="this.$cellStyle"
              @sort-change="sortChange"
            >
<!--              :summary-method="getSummaries"-->
<!--              show-summary-->
              <el-table-column
                prop="RowNum"
                width="50"
@@ -383,7 +385,7 @@
              </el-table-column>
              <el-table-column
                prop="usermoney"
                label="个人记件工资"
                label="个人计件工资"
                width="130"
                sortable="custom"
              >
@@ -575,8 +577,10 @@
      const { columns, data } = param
      const sums = []
      const i = this.form.compute === 'last' ? 11 : 10
      columns.forEach((column, index) => {
        if (index === 11) {
        if (index === i) {
          sums[index] = '总价'
          return
        }