const columns = [
  {
    prop: 'stockCode',
    label: '库存申请编码',
    fixed: 'left',
    width: '160px'
  },
  {
    prop: 'spuCode',
    label: '商品编码',
    width: '160px'
  },
  {
    prop: 'good_name',
    label: '商品名称',
    minWidth: '125px',
  },
  {
    label: '商品分类',
    minWidth: '125px',
    _slot_:'catinfo'
  },
  {
    prop:'stock_num',
    label:'本次解除数量',
    width:'100px'
  },
  {
    prop: 'specInfo',
    label: '商品规格',
    minWidth: '125px',
    _slot_:'specInfo'
  },
  {
    prop: 'status',
    _slot_: 'status',
    label: '状态',
    width: '100px'
  },
  {
    prop: 'TODO',
    label: '业务公司',
    width: '160px',
    _slot_:'company'
  },
  {
    prop: 'apply_name',
    label: '申请人',
    width: '90px'
  },
  {
    prop: 'createtime',
    label: '创建时间',
    width: '155px'
  },
  {
    prop: '',
    label: '操作',
    fixed: 'right',
    _noset_: true,
    width: '50px',
    _slot_: 'operation'
  }
]
const showColumns = [
  {
    prop: 'orderCode',
    label: '订单编号',
    span: 6
  },
  {
    prop: 'order_type',
    label: '订单来源',
    _slot_: 'order_type',
    span: 6
  },
  {
    prop: 'status',
    label: '工差单状态',
    _slot_: 'status',
    span: 6
  },
  {
    prop: 'addtime',
    label: '创建时间',
    span: 6
  },

  {
    prop: 'diff_weight',
    label: '工差总重量',
    span: 6
  },
  {
    prop: 'diff_price',
    label: '工差总金额',
    span: 6
  },
  {
    prop: 'gold_price',
    label: '金价',
    span: 6
  },
  {
    prop: 'is_act',
    label: '客户反馈',
    _slot_: 'is_act',
    span: 6
  },
  {
    prop: 'customer_remark',
    label: '客户意愿',
    _slot_: 'customer_remark',
    span: 6
  },
  {
    prop: 'remark',
    label: '业务审核备注',
    span: 18
  }
]

const detailColumns = [
  {
    prop: 'stockCode',
    label: '库存申请编号',
    span: 8
  },
  {
    prop:'good_name',
    label:'商品名称',
    span:8
  },
  {
    label: '状态',
    prop: 'status',
    span: 8,
    _slot_: 'status'
  },
  {
    label:'仓库名称',
    prop:'wsm_name',
    span:8
  },
  {
    label:'解除库存数',
    prop:'stock_num',
    span:8
  },
  {
    label:'创建时间',
    prop:'createtime',
    span:8
  },
  {
    label: '备注',
    prop: 'remark',
    span: 24
  }
]

export { columns, showColumns, detailColumns }
