table chart

This commit is contained in:
helloDy
2024-04-03 11:21:37 +08:00
parent 34aeb029b5
commit 21cef13168
46 changed files with 455 additions and 201 deletions

View File

@@ -9,7 +9,8 @@
:table-props="tableProps"
:page="listQuery.pageNo"
:limit="listQuery.pageSize"
:table-data="tableData">
:table-data="tableData"
:max-height="tableH">
<method-btn
v-if="tableBtn.length"
slot="handleBtn"
@@ -45,41 +46,56 @@ import {
getCoreSupplierPage,
deleteCoreSupplier
} from '@/api/base/coreSupplier';
import tableHeightMixin from '@/mixins/lb/tableHeightMixin';
const tableProps = [
{
prop: 'createTime',
label: '添加时间',
filter: parseTime
filter: parseTime,
width: 150,
showOverflowtooltip: true
},
{
prop: 'code',
label: '供应商编码'
label: '供应商编码',
width: 150,
showOverflowtooltip: true
},
{
prop: 'name',
label: '供应商名称'
label: '供应商名称',
width: 180,
showOverflowtooltip: true
},
{
prop: 'contact',
label: '联系人'
label: '联系人',
width: 180,
showOverflowtooltip: true
},
{
prop: 'telephone',
label: '联系电话'
label: '联系电话',
width: 150,
showOverflowtooltip: true
},
{
prop: 'address',
label: '地址'
label: '地址',
width: 180,
showOverflowtooltip: true
},
{
prop: 'remark',
label: '备注'
label: '备注',
minWidth: 90,
showOverflowtooltip: true
},
];
export default {
mixins: [basicPage],
mixins: [basicPage, tableHeightMixin],
data() {
return {
urlOptions: {