export default {
  height:'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  viewBtn: true,
  selection: false,
  menu: false,
  menuFixed: true,
  menuWidth: 150,
  dialogClickModal: false,
  delBtn: false,
  viewBtn: false,
  addBtn: false,
  column: [
    {
      label: "物料编码",
      prop: "code",
      search: true,
      type: "input",
    },
    {
      label: "物料名称",
      prop: "name",
      search: true,
      type: "input",
    },
    {
      label: "物料类型",
      prop: "type",
      search: true,
      type: "input",
      dicUrl: '/blade-system/dict/dictionary?code=wl_type',
      search: true,
      dataType: "number",
      type: 'select',
      props: {
        label: 'dictValue',
        value: 'dictKey',
      }
    },
    {
      label: "物料型号",
      prop: "model",
      search: true,
      type: "input",
    },
    {
      label: "明细类型",
      prop: "outType",
      search: true,
      type: "input",
      dicUrl: '/blade-system/dict/dictionary?code=wl_out_type',
      search: true,
      dataType: "number",
      type: 'select',
      props: {
        label: 'dictValue',
        value: 'dictKey',
      }
    },
    {
      label: "明细数量",
      prop: "outCount",
      type: "input",
    },
    {
      label: "明细金额",
      prop: "outAmount",
      slot: true,
      type: "input",
    },
    {
      label: "功率(KW)",
      prop: "power",
      type: "input",
    },
    {
      label: "零售价",
      prop: "retailPrice",
      type: "input",
    },
    {
      label: "品牌",
      prop: "brand",
      dicUrl: '/blade-system/dict/dictionary?code=device_brand',
      search: true,
      dataType: "number",
      type: 'select',
      props: {
        label: 'dictValue',
        value: 'dictKey',
      }
    },
    {
      label: "物料描述",
      prop: "description",
      type: "textarea",
    },
    {
      label: "申请人",
      prop: "createUser",
      slot: true,
      type: "input",
    },
    {
      label: "审核人",
      prop: "allowUser",
      slot: true,
      type: "input",
    },
    {
      label: "出入库时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false
    },
  ]
}
