//是否定制
const options1 = [
  { id: "0", name: "是" },
  { id: "1", name: "否" },
];
//专属类型
const options2 = [
  { id: "0", name: "非泰康" },
  { id: "1", name: "泰康" },
];
//销售权限
const options3 = [
  { id: "0", name: "有销售权限" },
  { id: "1", name: "无销售权限" },
];

//是否库存品
const options4 = [
  { id: "0", name: "库存品" },
  { id: "1", name: "非库存品" },
];
//是否启用实时金价
const options5 = [
  { id: "0", name: "是" },
  { id: "1", name: "否" },
];
//供货区域
const options6 = [
  { id: "0", name: "全国" },
  { id: "1", name: "全国除偏远" },
];
const listCol = [
  {
    prop: "activity_code",
    label: "活动编码",
    fixed: "left",
    width: "155",
  },
  {
    prop: "activity_name",
    label: "活动名称",
  },
  {
    prop: "status",
    label: "状态",
    width: "105",
    _slot_: "status",
  },

  {
    prop: "atime",
    label: "活动时间",
    _slot_: "atime",
    width: "270",
  },
  // {
  //   prop: "platform_code",
  //   label: "平台编号",
  // },
  {
    prop: "platform_name",
    label: "平台名称",
  },
  {
    prop: "company_name",
    label: "创建人部门",
    minWidth: "150px",
  },
  {
    prop: "creater",
    label: "创建人",
    width: "60",
  },
  {
    prop: "addtime",
    label: "创建时间",
    width: "142",
  },
  {
    prop: "",
    label: "操作",
    fixed: "right",
    _noset_: true,
    _slot_: "operation",
    width: "50",
  },
];
const showColumns = [
  {
    prop: "skuCode",
    label: "商品编码",
  },
  {
    prop: "sale_price",
    label: "非活动价",
    append: "元",
    span: 6,
  },
  {
    prop: "activity_price",
    label: "活动价",
    append: "元",
    span: 6,
  },
  {
    prop: "good_name",
    label: "商品名称",
    span: 24,
  },
];

export {
  options1,
  options2,
  options3,
  options4,
  options5,
  options6,
  listCol,
  showColumns,
};
