export const columns = [
  { dataIndex: 'warehouseRoomName', title: '库房名称' },
  { dataIndex: 'warehouseRoomCode', title: '库房编码' },
  { dataIndex: 'warehouseRoomType', title: '库房类型', scopedSlots: { customRender: 'warehouseRoomType' } },
  { dataIndex: 'dcName', title: '所属仓配中心', width: 80 },
  { dataIndex: 'warehouseName', title: '仓库名称', width: 80 },
  { dataIndex: 'bldgName', title: '建筑物名称', width: 80 },
  { dataIndex: 'warehouseRoomDistance', title: '作业距离(米)', width: 80 },
  { dataIndex: 'floorNum', title: '所在楼层', width: 80 },
  { dataIndex: 'isEnable', title: '是否启用', customRender:text=> text=='1'?'是':'否', width: 80 },
  /* {dataIndex: 'accessLevel', title: '数据访问控制级别',scopedSlots: { customRender: 'accessLevel' },width:80,}, */
  //   { dataIndex: 'attribute1', title: '预留字段1', scopedSlots: { customRender: 'attribute1' }, width: 80, },
  //   { dataIndex: 'attribute2', title: '预留字段2', scopedSlots: { customRender: 'attribute2' }, width: 80, },
  //   { dataIndex: 'segment1', title: '预留字段3', scopedSlots: { customRender: 'segment1' }, width: 80, },
  //   { dataIndex: 'segment2', title: '预留字段4', scopedSlots: { customRender: 'segment2' }, width: 80, },
  { dataIndex: 'creatorName', title: '创建人', width: 80 },
  { dataIndex: 'modifierName', title: '最后修改人', width: 80 },
  { dataIndex: 'gmtCreate', title: '创建日期', width: 80 },
  { dataIndex: 'gmtModified', title: '最后修改日期', width: 80 },
  {
    dataIndex: 'action',
    title: '操作',
    scopedSlots: { customRender: 'action' },
    width: 90,
    fixed: 'right',
    align: 'center'
  }
]