const columns = [
  {
    prop: "bk_code",
    label: "申请编码",
    width: "160"
  },
  {
    prop: "company_name",
    label: "申请人部门",
    minWidth: "150px",
  },

  {
    prop: "apply_name",
    label: "申请人",
    width: "60",
  },
  {
    prop: "good_name",
    label: "商品名称",
    'min-width': "120",
  },
  {
    prop: "spuCode",
    label: "SPU编码",
    width: "155",
  },
  {
    prop: "good_num",
    label: "数量",
    'min-width': "50"
  },
  // {
  //   prop: "lasttime",
  //   label: "最晚入库时间",
  //   width:"150",
  // },
  {
    prop: "status",
    label: "状态",
    _slot_: "status",
    width: "120px",
  },
  {
    prop: "addtime",
    label: "创建时间",
    sortable: true,
    width: "150",
  },
  {
    prop: "",
    label: "操作",
    fixed: "right",
    _noset_: true,
    width: "50px",
    _slot_: "operation",
  },
]
const showColumns = [
  {
    prop: "bk_code",
    label: "申请编码",
    span: 6,
  },

  {
    prop: "status",
    label: "状态",
    _slot_: "status",
    span: 6,
  },
  {
    prop: "apply_name",
    label: "申请人",
    span: 6,
  },
  {
    prop: "addtime",
    label: "创建时间",
    span: 6,
  },
  {
    prop: "good_num",
    label: "采购数量",
    span: 6,
  },
  {
    prop: "lasttime",
    label: "最晚入库时间",
    span: 6,
  },
  {
    prop: "file_url",
    label: "附件",
    _slot_: "file_url",
    span: 12,
  },

  {
    prop: "remark",
    label: "备注",
    span: 24
  },

]
export { columns, showColumns }