Commit 4247f354 by 杨北旺

style:修复样式

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