You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

456 lines
9.5 KiB

export default {
height:'auto',
calcHeight: 30,
tip: false,
searchShow: true,
searchMenuSpan: 6,
border: true,
index: true,
viewBtn: true,
selection: true,
dialogClickModal: false,
column: [
{
label: "主键",
prop: "id",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "租户号",
prop: "tenantId",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "创建人",
prop: "createUser",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "创建时间",
prop: "createTime",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "更新人",
prop: "updateUser",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "更新时间",
prop: "updateTime",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "状态",
prop: "status",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "是否已删除;1-未删除,2-已删除",
prop: "isDeleted",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "创建部门",
prop: "createDept",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "类型",
prop: "type",
type: "select",
dicUrl: '/api/blade-system/dict-biz/dictionary?code=basic_carrier_type',
labelWidth:'150',
width:"100px",
align:'center',
span:11,
props: {
label: 'dictValue',
value: 'dictKey',
},
dataType:'String',
search: true,
// rules: [{
// required: true,
// message: "请选择类型",
// trigger: "blur"
// }],
},
{
label: "承运商编号",
labelWidth:'150',
span:11,
prop: "number",
type: "input",
search: true,
width:"100px",
align:'center',
rules: [{
required: true,
message: "输入承运商编号",
trigger: "blur"
}],
},
// {
// label: "集团ID",
// prop: "groupId",
// labelWidth:'150',
// width:"100px",
// align:'center',
// span:11,
// type: "input",
// search: true,
// rules: [{
// required: true,
// message: "输入集团ID",
// trigger: "blur"
// }],
// },
{
label: "承运商电话",
labelWidth:'150',
width:"100px",
align:'center',
span:11,
prop: "carrierPhone",
type: "input",
},
// {
// label: "绑定仓库Id",
// prop: "warehouseId",
// type: "input",
// },
{
label: "负责人",
prop: "head",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
search: true,
},
{
label: "手机号",
prop: "headPhone",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
rules: [ {pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!'}],
},
{
label: "营业执照注册号",
prop: "licenseNub",
labelWidth:'150',
width:"120px",
align:'center',
span:11,
type: "input",
},
{
label: "法人",
prop: "legalPerson",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
rules: [{
required: true,
message: "请输入法人",
trigger: "blur"
}],
},
{
label: "法人电话",
prop: "legalPersonPhone",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
rules: [ {pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!'}],
},
{
label: "法人身份证",
prop: "legalPersonId",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
},
{
label: "邮箱",
prop: "mailbox",
type: "input",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
rules: [ {pattern: /^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/, message: '邮箱格式不正确!'}],
},
{
label: "客服电话",
prop: "customerServicePhone",
labelWidth:'150',
span:11,
width:"100px",
align:'center',
type: "input",
rules: [ {pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!'}],
},
{
label: "合同开始时间",
prop: "contractStartTime",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
type: "date",
format: "YYYY-MM-DD",
valueFormat: "YYYY-MM-DD",
},
{
label: "合同结束时间",
prop: "contractEndTime",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
type: "date",
format: "YYYY-MM-DD",
valueFormat: "YYYY-MM-DD",
},
{
label: "道路运输许可证编号",
prop: "roadTransportNub",
type: "input",
labelWidth:'180',
span:11,
width:"120px",
align:'center',
rules: [{
required: true,
message: "请输入道路运输许可证编号",
trigger: "blur"
}],
},
{
label: "物流园",
prop: "logisticsPark",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "自由车辆数",
prop: "freeVehiclesNub",
type: "number",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "外部车辆数",
prop: "externalVehiclesNub",
type: "number",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "星级",
prop: "starRating",
type: "number",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "定位地址",
prop: "locationAddress",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
{
label: "经度",
prop: "longitude",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
tip:"小数点后4位",
rules: [ {pattern: /(^[1-9]\d{0,9}(\.\d{1,4})?$)|(^0(\.\d{1,2})?$)/, message: '格式不正确!'}],
},
{
label: "纬度",
prop: "latitude",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
tip:"小数点后4位",
rules: [ {pattern: /(^[1-9]\d{0,9}(\.\d{1,4})?$)|(^0(\.\d{1,2})?$)/, message: '格式不正确!'}],
},
{
label: "备注",
prop: "notes",
type: "input",
labelWidth:'150',
span:11,
width:"120px",
align:'center',
},
// {
// label: "照片信息",
// prop: "photo",
// type: 'upload',
// listType: 'picture-card',
// dataType: 'string',
// labelWidth:'150',
// span:11,
// multiple:true,
// width:"120px",
// align:'left',
// action: '/blade-resource/oss/endpoint/put-file',
// limit: 3,
// propsHttp: {
// res: 'data',
// url: 'link',
// },
// },
{
label: "道路运输许可证图片",
prop: "roadTransportPhoto",
type: 'upload',
listType: 'picture-card',
dataType: 'string',
labelWidth:'150',
span:11,
multiple:true,
width:"200px",
align:'left',
action: '/blade-resource/oss/endpoint/put-file',
limit: 3,
propsHttp: {
res: 'data',
url: 'link',
},
},
{
label: "合同附件",
prop: "contractAppendices",
type: "upload",
labelWidth:'150',
dataType: 'string',
span:11,
width:"120px",
align:'left',
limit: 3,
action: '/blade-resource/oss/endpoint/put-file',
multiple:true,
propsHttp: {
res: 'data',
url: 'link',
},
hide: true,
},
{
label: "预留1",
prop: "reserve1",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "预留2",
prop: "reserve2",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "预留3",
prop: "reserve3",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "预留4",
prop: "reserve4",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "预留5",
prop: "reserve5",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
]
}