/* eslint-disable prettier/prettier */
import { ContentConfig } from "/@/components/PageContent";
import apis from "./apis";

const columns = [
  {
    prop: 'person',
    label: '采购方',
  },
  {
    label: '业务公司编码',
    prop: 'companyNo',
    minWidth: '155px',
  },
  {
    label: '业务公司名称',
    prop: 'companyName',
    minWidth: '165px',
  },
  {
    prop: 'total_cgd',
    label: '采购订单总量'
  },
  {
    prop: 'tag_1',
    label: '线上库存品采购单',
    width: '140px'
  },
  {
    prop: 'tag_2',
    label: '线上非库存品采购单',
    width: '140px'
  },
  {
    prop: 'tag_c',
    label: 'ToC采购单'
  },
  {
    prop: 'tag_b',
    label: 'ToB采购单'
  },
  {
    prop: 'tag_zx',
    label: '咨询采返采购单',
    width: '120px'
  }
]


const contentConfig: ContentConfig = {
  columns,
  showTitle: false,
  responseCode: 1,
  superUserNoAction: false,
  notPagination: true,
  root: true,
  apis: { httpList: apis.list }
};


export default contentConfig;
