| | |
| | | :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 |
| | |
| | | :cell-style="this.$cellStyle" |
| | | @sort-change="sortChange" |
| | | > |
| | | <!-- :summary-method="getSummaries"--> |
| | | <!-- show-summary--> |
| | | <el-table-column |
| | | prop="RowNum" |
| | | width="50" |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="usermoney" |
| | | label="个人记件工资" |
| | | label="个人计件工资" |
| | | width="130" |
| | | sortable="custom" |
| | | > |
| | |
| | | :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 |
| | |
| | | :cell-style="this.$cellStyle" |
| | | @sort-change="sortChange" |
| | | > |
| | | <!-- :summary-method="getSummaries"--> |
| | | <!-- show-summary--> |
| | | <el-table-column |
| | | prop="RowNum" |
| | | width="50" |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="usermoney" |
| | | label="个人记件工资" |
| | | label="个人计件工资" |
| | | width="130" |
| | | sortable="custom" |
| | | > |
| | |
| | | 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 |
| | | } |