Files
tms-erp-web/src/option/transportCapacity/transport-vehicle.js
T
2026-09-10 22:50:18 +08:00

167 lines
3.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export const option = {
height: 'auto',
calcHeight: 32,
tip: false,
searchShow: true,
searchMenuSpan: 24,
searchIcon: true,
searchIndex: 4,
searchMenuPosition: 'right',
border: true,
index: true,
selection: true,
addBtn: false,
editBtn: false,
delBtn: false,
viewBtn: false,
menuWidth: 250,
dialogClickModal: false,
column: [
{
label: '车牌号',
prop: 'plateNo',
search: true,
searchOrder: 7,
slot: true,
minWidth: 120,
},
{
label: '业务关系',
prop: 'businessRelation',
search: true,
searchOrder: 6,
searchValue: '',
type: 'select',
dicData: [
{ label: '全部', value: '' },
{ label: '自有', value: '自有' },
{ label: '管理挂靠', value: '管理挂靠' },
{ label: '业务合作', value: '业务合作' },
],
minWidth: 120,
align: 'center',
},
{
label: '所属组织',
prop: 'organizationName',
search: true,
searchOrder: 1,
searchslot: true,
slot: true,
minWidth: 150,
},
{
label: '使用部门',
prop: 'useDepartment',
search: true,
searchOrder: 3,
minWidth: 140,
},
{
label: '车辆类型',
prop: 'vehicleType',
search: true,
searchOrder: 5,
type: 'select',
dicData: [
{ label: '全部', value: '' },
{ label: '高栏车', value: '高栏' },
{ label: '低栏车', value: '低栏' },
{ label: '平板车', value: '平板' },
{ label: '厢式车', value: '厢式' },
{ label: '拖挂车', value: '拖挂' },
{ label: '半挂车', value: '半挂' },
],
minWidth: 110,
align: 'center',
},
{
label: '核定载质量(KG',
prop: 'approvedLoadKg',
minWidth: 140,
align: 'right',
},
{
label: '绑定司机',
prop: 'boundDriver',
slot: true,
minWidth: 120,
align: 'center',
},
{
label: '车辆类型',
prop: 'vehicleType',
minWidth: 110,
align: 'center',
},
{
label: '认证状态',
prop: 'certificationStatus',
slot: true,
search: true,
searchOrder: 2,
searchValue: '',
type: 'select',
dicData: [
{ label: '全部', value: '' },
{ label: '认证中', value: 0 },
{ label: '已认证', value: 1 },
{ label: '已驳回', value: 2 },
],
minWidth: 110,
align: 'center',
},
{
label: '车辆状态',
prop: 'status',
search: true,
searchOrder: 4,
type: 'select',
slot: true,
dicData: [
{ label: '启用', value: 1 },
{ label: '停用', value: 2 },
],
minWidth: 90,
align: 'center',
},
{
label: '道路运输证号',
prop: 'roadTransportCertNo',
minWidth: 160,
},
{
label: '行驶证认证',
prop: 'drivingLicenseEndDate',
slot: true,
minWidth: 140,
align: 'center',
},
{
label: '道路运输证认证',
prop: 'roadTransportCertEndDate',
slot: true,
minWidth: 160,
align: 'center',
},
{
label: '道路运输证年审',
prop: 'annualReviewEndDate',
slot: true,
minWidth: 130,
align: 'center',
},
{
label: '',
prop: 'expireStatus',
search: false,
searchOrder: 0,
searchSpan: 6,
hide: true,
addDisplay: false,
editDisplay: false,
viewDisplay: false,
},
],
};