列表样式

szh_zidingyibiaoti
lilu 2 years ago
parent 043e94ec3c
commit 75c2c54d81

@ -1,5 +1,5 @@
<template> <template>
<div> <div style="margin-top: -16px;margin-left:-4px;margin-right:-4px;">
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="24" :sm="24" style="padding: 0 0 0 0" class="content-box"> <a-col :md="24" :sm="24" style="padding: 0 0 0 0" class="content-box">
<x-card class="content-nav"> <x-card class="content-nav">
@ -69,7 +69,7 @@
</a-form> </a-form>
</div> </div>
</x-card> </x-card>
<x-card class="content-table"> <x-card class="content-table" style="margin-top:-6px;">
<div slot="content" class="table-page-search-wrapper" :style="{ marginTop: '-8px' }"> <div slot="content" class="table-page-search-wrapper" :style="{ marginTop: '-8px' }">
<vxe-toolbar> <vxe-toolbar>
<template #buttons> <template #buttons>
@ -115,7 +115,6 @@
@cell-dblclick="handledbclick" @cell-dblclick="handledbclick"
@resizable-change="resizableChange" @resizable-change="resizableChange"
@sort-change="tableSortChange" @sort-change="tableSortChange"
style="margin-top:6px;"
> >
<template #mblno="{ row }"> <template #mblno="{ row }">
<div class="mblno"> <div class="mblno">
@ -648,7 +647,7 @@ export default {
this.showColumns = JSON.parse(JSON.stringify(initData.columns)) this.showColumns = JSON.parse(JSON.stringify(initData.columns))
this.formAllData = JSON.parse(JSON.stringify(initData.condAllData)) this.formAllData = JSON.parse(JSON.stringify(initData.condAllData))
this.fromTableAllData = JSON.parse(JSON.stringify(initData.columnsAllData)) this.fromTableAllData = JSON.parse(JSON.stringify(initData.columnsAllData))
this.tableHeight = document.body.clientHeight - 300 this.tableHeight = document.body.clientHeight - 230
this.getList({}, true) this.getList({}, true)
this.getConfigUser(true) this.getConfigUser(true)
this.getCarrier() this.getCarrier()
@ -935,7 +934,7 @@ export default {
this.formTableData = JSON.parse(data.configJson) this.formTableData = JSON.parse(data.configJson)
const nowTableArr = this.formTableData.map((item, index) => { const nowTableArr = this.formTableData.map((item, index) => {
if (item.field === 'operate') { if (item.field === 'operate') {
item.width = 100 item.width = 110
} }
return item.field return item.field
}) })
@ -1801,7 +1800,7 @@ export default {
.right { .right {
float: right; float: right;
cursor: pointer; cursor: pointer;
padding-top: 10px; padding-top: 6px;
} }
.BookTopButton { .BookTopButton {
height: 33px; height: 33px;

@ -15,7 +15,7 @@ export default {
{ field: 'createdUserName', label: 'CREATEDUSERNAME', width: 120, title: '创建人', showHeaderOverflow: true, sortable: true }, { field: 'createdUserName', label: 'CREATEDUSERNAME', width: 120, title: '创建人', showHeaderOverflow: true, sortable: true },
{ field: 'createdTime', label: 'CREATEDTIME', width: 160, title: '创建日期', showHeaderOverflow: true, sortable: true }, { field: 'createdTime', label: 'CREATEDTIME', width: 160, title: '创建日期', showHeaderOverflow: true, sortable: true },
{ field: 'cntrtotal', label: 'CNTRTOTAL', width: 120, title: '箱型*箱量', showHeaderOverflow: true, sortable: true }, { field: 'cntrtotal', label: 'CNTRTOTAL', width: 120, title: '箱型*箱量', showHeaderOverflow: true, sortable: true },
{ field: 'operate', title: '操作', width: 100, noDraggable: true, slots: { default: 'operate' }, fixed: 'right', resizable: false } { field: 'operate', title: '操作', width: 110, noDraggable: true, slots: { default: 'operate' }, fixed: 'right', resizable: false }
], ],
columnsAllData: [ columnsAllData: [
{ field: 'mblno', label: 'MBLNO', width: 160, title: '主提单号', showHeaderOverflow: true, showOverflow: false, sortable: true, slots: { default: 'mblno' } }, { field: 'mblno', label: 'MBLNO', width: 160, title: '主提单号', showHeaderOverflow: true, showOverflow: false, sortable: true, slots: { default: 'mblno' } },

Loading…
Cancel
Save