| | |
| | | <span>{{scope.row.total == 0 ? '-' : scope.row.total }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="bikefee" label="自行车收入(元)" min-width="100px" align="center"> |
| | | <el-table-column prop="bikefee" label="骑行收入(元)" min-width="100px" align="center"> |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.row.bikeFee == 0 ? '-' : scope.row.bikeFee }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="套餐收入(元)" min-width="100px" align="center"> |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.row.discountFee == 0 ? '-' : scope.row.discountFee }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- v-if="containPermissions(['business:pricingparam:update', 'business:pricingparam:delete'])" --> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | </template> |
| | | <BillDetailWindow ref="billDetailWindow"/> |
| | | </TableLayout> |
| | |
| | | search () { |
| | | fetchList(this.searchForm) |
| | | .then(res => { |
| | | console.log(res) |
| | | this.tableData.list = [ |
| | | { billType: '交易实收', ...res[0], cmmsAmt: (res[0].sumCmmsAmt + res[0].sumRefundCmmsAmt).toFixed(2) }, |
| | | { billType: '退款', ...res[1], cmmsAmt: (res[1].sumCmmsAmt + res[1].sumRefundCmmsAmt).toFixed(2) }, |
| | |
| | | this.search() |
| | | }, |
| | | arraySpanMethod ({ row, column, rowIndex, columnIndex }) { |
| | | if (rowIndex == 3) { |
| | | if (rowIndex === 3) { |
| | | if (columnIndex === 0) { |
| | | return [1, 8] |
| | | } else { |