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.
631 lines
12 KiB
631 lines
12 KiB
export default { |
|
height:'auto', |
|
calcHeight: 30, |
|
tip: false, |
|
searchShow: true, |
|
searchMenuSpan: 6, |
|
border: true, |
|
index: true, |
|
viewBtn: true, |
|
selection: true, |
|
indexLabel:"序号", |
|
indexWidth:'80', |
|
dialogClickModal: false, |
|
column: [ |
|
{ |
|
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: "是否已删除", |
|
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: "id", |
|
type: "input", |
|
addDisplay: false, |
|
editDisplay: false, |
|
viewDisplay: false, |
|
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", |
|
viewDisplay: false, |
|
addDisplay: false, |
|
editDisplay: false, |
|
hide: true, |
|
}, |
|
{ |
|
label: "仓库名称", |
|
prop: "name", |
|
type: "input", |
|
search:true, |
|
rules:[{ |
|
required: true, |
|
message: "请输入仓库名称", |
|
trigger: "blur" |
|
}], |
|
span:12, |
|
labelWidth:'120', |
|
width:'120' |
|
}, |
|
{ |
|
label: "仓库代码", |
|
prop: "code", |
|
type: "input", |
|
rules:[{ |
|
required: true, |
|
message: "请输入仓库代码", |
|
trigger: "blur" |
|
}], |
|
span:12, |
|
labelWidth:'120', |
|
width:'100' |
|
|
|
|
|
}, |
|
{ |
|
label: "仓库简称", |
|
prop: "abbreviation", |
|
type: "input", |
|
labelWidth:'120', |
|
width:'100' |
|
|
|
}, |
|
{ |
|
label: "联系人", |
|
prop: "linkman", |
|
type: "input", |
|
search:true, |
|
span:12, |
|
labelWidth:'120', |
|
width:'120', |
|
rules:[{ |
|
required: true, |
|
message: "请填写联系人", |
|
trigger: "blur" |
|
}], |
|
}, |
|
{ |
|
label: "联系电话", |
|
prop: "contactNumber", |
|
type: "input", |
|
search: true, |
|
|
|
rules:[{ |
|
required: true, |
|
message: "请填写联系电话", |
|
trigger: "blur" |
|
}], |
|
span:12, |
|
labelWidth:'120', |
|
width:'120' |
|
|
|
|
|
}, |
|
{ |
|
label: "管理区域", |
|
prop: "administrativeAreas", |
|
type: "input", |
|
search:true, |
|
span:12, |
|
labelWidth:'120', |
|
width:'100' |
|
|
|
|
|
}, |
|
// { |
|
// label: "配送商场", |
|
// prop: "distributionMall", |
|
// type: "input", |
|
// span:12, |
|
// labelWidth:'120', |
|
// width:'100' |
|
// }, |
|
{ |
|
label: "事业线", |
|
prop: "businessLine", |
|
type: "input", |
|
search:true, |
|
span:12, |
|
labelWidth:'120', |
|
width:'90' |
|
|
|
|
|
}, |
|
{ |
|
label: "基地仓", |
|
prop: "depotBase", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'90' |
|
|
|
}, |
|
{ |
|
label: "备注", |
|
prop: "remarks", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'70' |
|
|
|
|
|
}, |
|
//数据库数据 |
|
{ |
|
label: "仓库地址", |
|
prop: "warehouseAddress", |
|
type: "input", |
|
search:true, |
|
span:12, |
|
labelWidth:'120', |
|
width:'180', |
|
addDisplay: false, |
|
editDisplay: false, |
|
viewDisplay: false, |
|
hide: false, |
|
|
|
}, |
|
//表单数据 |
|
{ |
|
label: "仓库地址", |
|
prop: "address", |
|
type: "map", |
|
span:12, |
|
labelWidth:'120', |
|
width:'180', |
|
params:{ |
|
zoom: 8, |
|
//地图是否能够鼠拖移 |
|
zoomEnable: true, |
|
//地图是否能够缩放 |
|
dragEnable: true, |
|
value:'' |
|
}, |
|
rules:[{ |
|
required: true, |
|
message: "请输入仓库地址", |
|
trigger: "blur" |
|
}], |
|
clearable:false, |
|
addDisplay: true, |
|
editDisplay: true, |
|
hide: true, |
|
|
|
}, |
|
{ |
|
label: "经度", |
|
prop: "longitude", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'120', |
|
addDisplay: false, |
|
editDisplay: false, |
|
hide: true, |
|
|
|
|
|
}, |
|
{ |
|
label: "纬度", |
|
prop: "latitude", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'120', |
|
addDisplay: false, |
|
editDisplay: false, |
|
hide: true, |
|
|
|
|
|
|
|
}, |
|
{ |
|
label: "所属部门", |
|
prop: "department", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'100' |
|
|
|
|
|
}, |
|
{ |
|
label: "仓库类型", |
|
prop: "warehouseType", |
|
type: "select", |
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=warehouse_type", |
|
dataType: "number", |
|
props:{ |
|
label: "dictValue", |
|
value: "dictKey" |
|
}, |
|
search:true, |
|
span:12, |
|
labelWidth:'120', |
|
width:'100', |
|
rules:[{ |
|
required: true, |
|
message: "请选择仓库类型", |
|
trigger: "change" |
|
}], |
|
|
|
|
|
}, |
|
{ |
|
label: "消防等级", |
|
prop: "fireGrade", |
|
type: "select", |
|
search: true, |
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=warehouse_grade", |
|
props: { |
|
label: "dictValue", |
|
value: "dictKey" |
|
}, |
|
span:12, |
|
labelWidth:'120', |
|
width:'100', |
|
rules:[{ |
|
required: true, |
|
message: "请选择消防等级", |
|
trigger: "change" |
|
}], |
|
|
|
|
|
}, |
|
{ |
|
label: "是否有消防等级", |
|
prop: "fireRatingNot", |
|
type: "select", |
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=yes_no", |
|
props: { |
|
label: "dictValue", |
|
value: "dictKey" |
|
}, |
|
span:12, |
|
labelWidth:'120', |
|
width:'130' |
|
|
|
|
|
}, |
|
// { |
|
// label: "商家仓", |
|
// prop: "merchantFactory", |
|
// type: "select", |
|
// dicUrl: "/api/blade-system/dict-biz/dictionary?code=yes_no", |
|
// props: { |
|
// label: "dictValue", |
|
// value: "dictKey" |
|
// }, |
|
// span:12, |
|
// labelWidth:'120', |
|
// width:'90' |
|
// |
|
// }, |
|
{ |
|
label: "仓库结构", |
|
prop: "warehouseStructure", |
|
type: "select", |
|
search: true, |
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=warehouse_structure", |
|
props: { |
|
label: "dictValue", |
|
value: "dictKey" |
|
}, |
|
span:12, |
|
labelWidth:'120', |
|
width:'100', |
|
rules:[{ |
|
required: true, |
|
message: "请选择仓库结构", |
|
trigger: "change" |
|
}], |
|
|
|
|
|
}, |
|
{ |
|
label: "是否高架", |
|
prop: "elevatedNot", |
|
type: "select", |
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=yes_no", |
|
props: { |
|
label: "dictValue", |
|
value: "dictKey" |
|
}, |
|
span:12, |
|
labelWidth:'120', |
|
width:'100', |
|
rules:[{ |
|
required: true, |
|
message: "请选择是否为高架", |
|
trigger: "change" |
|
}], |
|
|
|
|
|
}, |
|
{ |
|
label: "仓库层高", |
|
prop: "storeyHeight", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'120' |
|
|
|
|
|
}, |
|
{ |
|
label: "电力类型", |
|
prop: "powerCondition", |
|
type: "select", |
|
span:12, |
|
labelWidth:'120', |
|
search: true, |
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=power_condition", |
|
props: { |
|
label: "dictValue", |
|
value: "dictKey" |
|
}, |
|
width:'100', |
|
rules:[{ |
|
required: true, |
|
message: "请选择用电类型", |
|
trigger: "change" |
|
}], |
|
|
|
|
|
|
|
}, |
|
{ |
|
label: "面积", |
|
prop: "acreage", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'70' |
|
}, |
|
{ |
|
label: "租金单价", |
|
prop: "unitPrice", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'70' |
|
}, |
|
{ |
|
label: "日期范围", |
|
prop: "daterange", |
|
type: "daterange", |
|
format:'YYYY-MM-DD', |
|
valueFormat:'YYYY-MM-DD', |
|
startPlaceholder: '租赁开始日期', |
|
endPlaceholder: '租赁结束日期', |
|
span:12, |
|
labelWidth:'120', |
|
width:'120', |
|
search: true, |
|
searchRange: true, |
|
searchSpan: 12, |
|
rules:[{ |
|
required: true, |
|
message: "请选择租赁时间", |
|
trigger: "change" |
|
}], |
|
viewDisplay: false, |
|
addDisplay: true, |
|
editDisplay: true, |
|
hide: true, |
|
}, |
|
{ label: "开始时间", |
|
prop: "startDate", |
|
type: "date", |
|
format:'YYYY-MM-DD', |
|
valueFormat:'YYYY-MM-DD', |
|
placeholder:'请选择租赁开始时间', |
|
span:12, |
|
labelWidth:'120', |
|
width:'120', |
|
viewDisplay: true, |
|
addDisplay: false, |
|
editDisplay: false, |
|
hide: false, |
|
}, |
|
{ label: "到期时间", |
|
prop: "endDate", |
|
type: "date", |
|
format:'YYYY-MM-DD', |
|
valueFormat:'YYYY-MM-DD', |
|
placeholder:'请选择租赁结束时间', |
|
span:12, |
|
labelWidth:'120', |
|
width:'120', |
|
viewDisplay: true, |
|
addDisplay: false, |
|
editDisplay: false, |
|
hide: false, |
|
}, |
|
{ |
|
label: "管理费", |
|
prop: "administrativeFee", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'90' |
|
}, |
|
{ |
|
label: "库位数", |
|
prop: "seating", |
|
type: "input", |
|
span:12, |
|
labelWidth:'120', |
|
width:'90' |
|
}, |
|
{ |
|
label: "仓库等级", |
|
prop: "grade", |
|
type: "select", |
|
search: true, |
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=warehouse_grade", |
|
props: { |
|
label: "dictValue", |
|
value: "dictKey" |
|
}, |
|
span:12, |
|
labelWidth:'120', |
|
width:'100', |
|
rules:[{ |
|
required: true, |
|
message: "请选择仓库等级", |
|
trigger: "change" |
|
}], |
|
}, |
|
{ |
|
label: "租金类型", |
|
prop: "rentType", |
|
type: "select", |
|
search: true, |
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=rent_type", |
|
props: { |
|
label: "dictValue", |
|
value: "dictKey" |
|
}, |
|
span:12, |
|
labelWidth:'120', |
|
width:'100', |
|
rules:[{ |
|
required: true, |
|
message: "请选择租金类型", |
|
trigger: "change" |
|
}], |
|
}, |
|
|
|
{ |
|
label: "收款码", |
|
prop: "moneyReceivingCode", |
|
type: "upload", |
|
span:12, |
|
labelWidth:'120', |
|
width:'120', |
|
listType: 'picture-card', |
|
action: '/blade-resource/oss/endpoint/put-file', |
|
limit: 3, |
|
propsHttp: { |
|
res: 'data', |
|
url: 'link', |
|
}, |
|
rules:[{ |
|
required: true, |
|
message: "请上传收款码", |
|
trigger: "blur" |
|
}], |
|
}, |
|
// { |
|
// label: '坐标', |
|
// prop: 'map', |
|
// type: 'map', |
|
// } |
|
] |
|
}
|
|
|