Commit 4247f354 by 杨北旺

style:修复样式

1 parent 365feddb
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="batchPopupListSearch" :formData="diasearchFormData" @handleOk="batchdetailSelect('select')" @handleRest="batchdetailSelect('reset')"></GLCombiForm> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="batchPopupListSearch" :formData="diasearchFormData" @handleOk="batchdetailSelect('select')" @handleRest="batchdetailSelect('reset')"></GLCombiForm>
<div class="flex_scb" style="margin-bottom: 10px;"> <div class="flex_scb" style="margin-bottom: 10px;">
<span>权益明细</span> <span>权益明细</span>
<el-button plain size="small" @click="exportbatchdetail" class="selectBtn">导出</el-button> <el-button plain size="small" @click="exportbatchdetail">导出</el-button>
</div> </div>
<!-- <el-form :inline="true" label-width="70px"> <!-- <el-form :inline="true" label-width="70px">
<el-form-item label=" 卡号:"> <el-form-item label=" 卡号:">
...@@ -230,7 +230,7 @@ export default { ...@@ -230,7 +230,7 @@ export default {
{ {
label: '激活数量', label: '激活数量',
prop: 'recipientCount', prop: 'recipientCount',
width: '150', width: 150,
formatter: cellValue => { formatter: cellValue => {
if (cellValue.recipientCount) { if (cellValue.recipientCount) {
return cellValue.recipientCount return cellValue.recipientCount
...@@ -250,8 +250,7 @@ export default { ...@@ -250,8 +250,7 @@ export default {
{ {
label: '备注', label: '备注',
prop: 'remarks', prop: 'remarks',
width:250, minWidth:240,
line:1
}, },
{ {
label: '操作', label: '操作',
......
...@@ -99,10 +99,12 @@ export default { ...@@ -99,10 +99,12 @@ export default {
}, },
{ {
label: '用户信息', label: '用户信息',
prop: 'phone' prop: 'phone',
width:150,
}, },
{ {
label: '订单里程/km', label: '订单里程/km',
minWidth:120,
formatter: cell => { formatter: cell => {
return `${cell.distance}` return `${cell.distance}`
} }
...@@ -111,12 +113,14 @@ export default { ...@@ -111,12 +113,14 @@ export default {
label: '实付金额/元', label: '实付金额/元',
prop: 'price', prop: 'price',
align:'right', align:'right',
minWidth:120,
formatter(cell){ formatter(cell){
return cell.price.toFixed(2) return cell.price.toFixed(2)
} }
}, },
{ {
label: '订单总额/元', label: '订单总额/元',
minWidth:120,
prop: 'income', prop: 'income',
align:'right', align:'right',
formatter(cell){ formatter(cell){
...@@ -125,16 +129,19 @@ export default { ...@@ -125,16 +129,19 @@ export default {
}, },
{ {
label: '订单号', label: '订单号',
minWidth:200,
prop: 'orderId' prop: 'orderId'
}, },
{ {
label: '司机工号', label: '司机工号',
minWidth:200,
prop: 'driverId' prop: 'driverId'
}, },
{ {
label: '订单状态', label: '订单状态',
prop: 'status', prop: 'status',
width:150,
formatter: cell => { formatter: cell => {
return ['已结算', '待结算', '已失效'][cell.orderStatus] return ['已结算', '待结算', '已失效'][cell.orderStatus]
}, },
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<GLCombiForm ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable v-if="flag" ref="table" :noDataImg="url" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="tableParams.getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable show-summary v-if="flag" ref="table" :noDataImg="url" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="tableParams.getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<template slot="custom"> <template slot="custom">
<div class="table-custom exportBtn"></div> <div class="table-custom exportBtn"></div>
</template> </template>
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
summaryMethod({ columns, data }) { summaryMethod({ columns, data }) {
let sums = [] let sums = []
columns.forEach((column, index) => { columns.forEach((column, index) => {
if (index == 0) { if (index == 1) {
sums[index] = '合计' sums[index] = '合计'
return return
} }
...@@ -467,4 +467,8 @@ export default { ...@@ -467,4 +467,8 @@ export default {
} }
} }
/deep/ .el-table__footer-wrapper tbody td.el-table__cell{
background: #F9F9F9;
height: 56px;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -237,10 +237,10 @@ export default { ...@@ -237,10 +237,10 @@ export default {
}, },
{ {
label: '商品SKU', label: '商品SKU',
width:250, minWidth:450,
line:1,
formatter: cell => { formatter: cell => {
return cell.appearance == 1 ? `${cell.brandName || ''}${cell.productName || ''}` : `${cell.brandName || ''}${cell.productName || ''}${cell.denomination || ''}` let str = cell.appearance == 1 ? `${cell.brandName || ''}${cell.productName || ''}` : `${cell.brandName || ''}${cell.productName || ''}${cell.denomination || ''}`
return str
} }
}, },
{ {
...@@ -268,7 +268,7 @@ export default { ...@@ -268,7 +268,7 @@ export default {
}, },
{ {
label: '库存', label: '库存',
width: 150, width:110,
sortable: true, sortable: true,
formatter: cell => { formatter: cell => {
return cell.stock == -1 ? '无限制' : cell.stock return cell.stock == -1 ? '无限制' : cell.stock
...@@ -276,7 +276,6 @@ export default { ...@@ -276,7 +276,6 @@ export default {
}, },
{ {
label: '商品状态', label: '商品状态',
width: 110,
addHtml: 'colorStatus' addHtml: 'colorStatus'
// formatter: cell => { // formatter: cell => {
// return ['待上架', '上架', '下架'][cell.status] // return ['待上架', '上架', '下架'][cell.status]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!