pay.data.tsx 1.64 KB
import { FormSchema } from '/@/components/Form';
import { BasicColumn } from '/@/components/Table';
import { icon } from 'ant-design-vue';
import { FolderAddOutlined } from '@ant-design/icons-vue';
import { size } from 'lodash-es';

export const searchFormSchema: FormSchema[] = [
  {
    field: 'phone',
    label: '生产科对账单号',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'nickName',
    label: '总经理审核',
    component: 'Input',
    colProps: { span: 8 },
  },
];

export const columns: BasicColumn[] = [
  {
    title: '生产科对账单号',
    dataIndex: 'no',
    width: 120,
    customRender: (column) => {
      return '5667';
    },
  },
  {
    title: '生产科应付款日期',
    dataIndex: 'no',
    width: 140,
  },
  {
    title: '生产科扣款金额',
    dataIndex: 'no',
    width: 120,
  },
  {
    title: '扣款责任部门',
    dataIndex: 'no',
    width: 120,
  },
  {
    title: '上传扣款单',
    dataIndex: 'no',
    width: 120,
  },
  {
    title: '生产科实际应付金额',
    dataIndex: 'no',
    width: 120,
  },
  {
    title: '生产科发票上传',
    dataIndex: 'no',
    width: 80,
    customRender: (column) => {
      return <FolderAddOutlined style="font-size:25px" />;
    },
  },
  {
    title: '实际付款金额1',
    dataIndex: 'no',
    width: 120,
  },
  {
    title: '实际付款金额2',
    dataIndex: 'no',
    width: 120,
  },
  {
    title: '实际付款金额3',
    dataIndex: 'no',
    width: 120,
  },
  {
    title: '生产科发票',
    dataIndex: 'no',
    width: 120,
  },
  {
    title: '总经理审核',
    dataIndex: 'no',
    width: 120,
  },
];