import type { VxeGridProps } from '#/adapter/vxe-table';

// 价格明细表格列配置
export const priceDetailColumns: VxeGridProps['columns'] = [
  { field: 'oilType', title: '油品', width: 100, align: 'center' },
  { field: 'weilai0', title: '未来路加油站', width: 150, align: 'center' },
  {
    field: 'dongming0',
    title: '东明石化海源加油站',
    width: 180,
    align: 'center',
  },
  {
    field: 'zhongshihua0',
    title: '中石化东站路加油站',
    width: 180,
    align: 'center',
  },
  {
    field: 'dashiqiao0',
    title: '大石桥石化麟瑞加油站',
    width: 180,
    align: 'center',
  },
  { field: 'weilai1', title: '未来路加油站', width: 150, align: 'center' },
  {
    field: 'dongming1',
    title: '东明石化海源加油站',
    width: 180,
    align: 'center',
  },
  {
    field: 'zhongshihua1',
    title: '中石化东站路加油站',
    width: 180,
    align: 'center',
  },
  {
    field: 'dashiqiao1',
    title: '大石桥石化麟瑞加油站',
    width: 180,
    align: 'center',
  },
];

// 价格明细表格数据
export const priceDetailData = [
  {
    oilType: '95#',
    weilai0: '7.31',
    dongming0: '7.31',
    zhongshihua0: '7.31',
    dashiqiao0: '7.31',
    weilai1: '7.31',
    dongming1: '7.31',
    zhongshihua1: '7.31',
    dashiqiao1: '7.31',
  },
  {
    oilType: '92#车',
    weilai0: '6.85',
    dongming0: '6.85',
    zhongshihua0: '6.85',
    dashiqiao0: '6.85',
    weilai1: '6.85',
    dongming1: '6.85',
    zhongshihua1: '6.85',
    dashiqiao1: '6.85',
  },
  {
    oilType: '92#车',
    weilai0: '6.85',
    dongming0: '6.85',
    zhongshihua0: '6.85',
    dashiqiao0: '6.85',
    weilai1: '6.85',
    dongming1: '6.85',
    zhongshihua1: '6.85',
    dashiqiao1: '6.85',
  },
  {
    oilType: '92#的士',
    weilai0: '6.85',
    dongming0: '6.85',
    zhongshihua0: '6.85',
    dashiqiao0: '6.85',
    weilai1: '6.85',
    dongming1: '6.85',
    zhongshihua1: '6.85',
    dashiqiao1: '6.85',
  },
  {
    oilType: '92#运卡',
    weilai0: '6.85',
    dongming0: '6.85',
    zhongshihua0: '6.85',
    dashiqiao0: '6.85',
    weilai1: '6.85',
    dongming1: '6.85',
    zhongshihua1: '6.85',
    dashiqiao1: '6.85',
  },
  {
    oilType: '合计',
    weilai0: '',
    dongming0: '',
    zhongshihua0: '',
    dashiqiao0: '',
    weilai1: '',
    dongming1: '',
    zhongshihua1: '',
    dashiqiao1: '',
  },
];

// 油站策略表格列配置
export const stationStrategyColumns: VxeGridProps['columns'] = [
  { field: 'station', title: '油站', width: 100, align: 'center' },
  { field: 'stationNature', title: '油站性质', width: 120, align: 'center' },
  {
    field: 'competitiveRelation',
    title: '竞争关系',
    width: 120,
    align: 'center',
  },
  { field: 'distance', title: '距离（KM）', width: 120, align: 'center' },
  { field: 'discountPolicy', title: '优惠活动', width: 300, align: 'center' },
  {
    field: 'valueAddedService',
    title: '增值服务',
    width: 250,
    align: 'center',
  },
  {
    field: 'equipmentConfiguration',
    title: '油站设备配置变化',
    width: 250,
    align: 'center',
  },
];

// 油站策略表格数据
export const stationStrategyData = [
  {
    station: '未来路...',
    stationNature: '-',
    competitiveRelation: '-',
    distance: '-',
    discountPolicy:
      '92#汽：会员满200优惠0.6元/升 优惠后单价6.46元/升；95#汽：会员满200优惠0.6元/升 优惠后单价6.94元/升 充值500送40元，折合优惠0.9元/升 充值1000送100元，折合优惠1.0元/升 充值2000送260元，折合优惠1.2元/升',
    valueAddedService:
      '免费洗车、免费加注玻璃水、免费充气、手机充电、免费茶水、免费糖果、赠品、无线网络',
    equipmentConfiguration: '冠德双屏机+ic卡加油机+自助收银机',
  },
  {
    station: '东明石...',
    stationNature: '民营',
    competitiveRelation: '1级（主要）',
    distance: '3.4',
    discountPolicy:
      '非会员日优惠6毛，周二、周五优惠8毛；6日、16日、26日优惠8毛；平台优惠5毛',
    valueAddedService: '抽纸、自助洗车',
    equipmentConfiguration: '正常油站基本配置',
  },
  {
    station: '中石化...',
    stationNature: '民营',
    competitiveRelation: '1级（主要）',
    distance: '2.8',
    discountPolicy: '非会员优惠6毛，周二、周四优惠8毛；平台优惠8毛',
    valueAddedService:
      '抽纸、自助洗车、水、饮料、牙膏、洗洁精、抽纸、玻璃水、洗衣液、牙刷、人工清洗',
    equipmentConfiguration: '基本加油设备',
  },
  {
    station: '大石桥...',
    stationNature: '民营',
    competitiveRelation: '1级（主要）',
    distance: '3.4',
    discountPolicy: '油价直降7毛，平台优惠1毛，共计优惠8毛',
    valueAddedService: '抽纸、自助洗车',
    equipmentConfiguration: '油站基本配置',
  },
];
