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', width: 'fit-content', addDisplay: false, editDisplay: false, viewDisplay: false, hide: true, }, { label: '租户号', prop: 'tenantId', type: 'input', width: 'fit-content', addDisplay: false, editDisplay: false, viewDisplay: false, hide: true, }, { label: '创建人', prop: 'createUser', type: 'input', width: 'fit-content', addDisplay: false, editDisplay: false, viewDisplay: false, hide: true, }, { label: '创建时间', prop: 'createTime', type: 'input', width: 'fit-content', addDisplay: false, editDisplay: false, viewDisplay: false, hide: true, }, { label: '更新人', prop: 'updateUser', type: 'input', width: 'fit-content', addDisplay: false, editDisplay: false, viewDisplay: false, hide: true, }, { label: '更新时间', prop: 'updateTime', type: 'input', width: 'fit-content', addDisplay: false, editDisplay: false, viewDisplay: false, hide: true, }, { label: '状态', prop: 'status', type: 'input', width: 'fit-content', addDisplay: false, editDisplay: false, viewDisplay: false, hide: true, }, { label: '是否已删除;1-未删除,2-已删除', prop: 'isDeleted', width: 'fit-content', type: 'input', addDisplay: false, editDisplay: false, viewDisplay: false, hide: true, }, { label: '创建部门', prop: 'createDept', type: 'input', width: 'fit-content', 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: 'fit-content', align: 'center', span: 11, props: { label: 'dictValue', value: 'dictKey', }, dataType: 'String', search: true, // rules: [{ // required: true, // message: "请选择类型", // trigger: "blur" // }], }, { label: '承运商编号', labelWidth: '150', width: 'fit-content', 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: 'fit-content', width: '100px', align: 'center', span: 11, prop: 'carrierPhone', type: 'input', }, // { // label: "绑定仓库Id", // prop: "warehouseId", // type: "input", // }, { label: '承运商名称', prop: 'carrierName', type: 'input', labelWidth: '150', span: 11, width: '150', align: 'center', }, { label: '负责人', prop: 'head', labelWidth: '150', span: 11, width: 'fit-content', align: 'center', type: 'input', search: true, }, { label: '手机号', prop: 'headPhone', labelWidth: '150', span: 11, width: 'fit-content', align: 'center', type: 'input', rules: [{ pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!' }], }, { label: '营业执照注册号', prop: 'licenseNub', // labelWidth: '150', // width: 'fit-content', width: '200px', align: 'center', span: 11, type: 'input', }, { label: '法人', prop: 'legalPerson', labelWidth: '150', span: 11, width: 'fit-content', align: 'center', type: 'input', rules: [ { required: true, message: '请输入法人', trigger: 'blur', }, ], }, { label: '法人电话', prop: 'legalPersonPhone', labelWidth: '150', span: 11, // width: 'fit-content', width: '150px', align: 'center', type: 'input', rules: [{ pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!' }], }, { label: '法人身份证', prop: 'legalPersonId', labelWidth: '150', span: 11, // width: 'fit-content', width: '150px', align: 'center', type: 'input', }, { label: '邮箱', prop: 'mailbox', type: 'input', labelWidth: '150', span: 11, width: 'fit-content', 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: 'fit-content', width: '150px', align: 'center', type: 'input', rules: [{ pattern: /^1[34578]\d{9}$/, message: '号码格式不正确!' }], }, { label: '合同开始时间', prop: 'contractStartTime', // labelWidth: '150', span: 11, // width: 'fit-content', width: '150px', align: 'center', type: 'date', format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', }, { label: '合同结束时间', prop: 'contractEndTime', // labelWidth: '150', span: 11, // width: 'fit-content', width: '150px', align: 'center', type: 'date', format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', }, { label: '道路运输许可证编号', prop: 'roadTransportNub', type: 'input', labelWidth: '180', span: 11, width: '200px', // width: 'fit-content', align: 'center', rules: [ { required: true, message: '请输入道路运输许可证编号', trigger: 'blur', }, ], }, { label: '物流园', prop: 'logisticsPark', type: 'input', labelWidth: '150', span: 11, width: 'fit-content', align: 'center', }, { label: '自由车辆数', prop: 'freeVehiclesNub', type: 'number', labelWidth: '150', span: 11, // width: 'fit-content', width: '150px', align: 'center', }, { label: '外部车辆数', prop: 'externalVehiclesNub', type: 'number', labelWidth: '150', span: 11, // width: 'fit-content', width: '150px', align: 'center', }, { label: '星级', prop: 'starRating', type: 'number', labelWidth: '150', span: 11, width: 'fit-content', align: 'center', }, { label: '定位地址', prop: 'locationAddress', type: 'input', labelWidth: '150', span: 11, // width: 'fit-content', width: '150px', align: 'center', }, { label: '经度', prop: 'longitude', type: 'input', labelWidth: '150', span: 11, width: 'fit-content', 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: 'fit-content', 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: 'fit-content', align: 'center', }, // { // label: "照片信息", // prop: "photo", // type: 'upload', // listType: 'picture-card', // dataType: 'string', // labelWidth:'150', // span:11, // multiple:true, // width:"fit-content", // 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: 'fit-content', 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, }, ], };