/*
 *    Copyright (c) 2018-2025, cyweb All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 */
const  PAY_STATUS=[
  {label:'未退补',value:'0'},
  {label:'已退补',value:'1'},
]
export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  column: [
	  // {
    //   label: '主键',
    //   prop: 'id'
    // },
	  // {
    //   label: '创建人',
    //   prop: 'createBy'
    // },
	  // {
    //   label: '创建时间',
    //   prop: 'createTime'
    // },
	  // {
    //   label: '更新人',
    //   prop: 'updateBy'
    // },
	  // {
    //   label: '更新时间',
    //   prop: 'updateTime'
    // },
	  // {
    //   label: '删除标记',
    //   prop: 'delFlag'
    // },
	  // {
    //   label: '备注',
    //   prop: 'remarks'
    // },
    {
      label: '异动项目',
      prop: 'settingId',
      type:"select",
      dicUrl:'/finance/recruitturnoversetting/queryAllList',
      search:true,
      hide:true,
      props:{
        label:'settingName',
        value:'id'
      },

    },
    {
      label: '退补状态',
      prop: 'isPayAll',
      type:"select",
      dicData:PAY_STATUS,
      search:true,
      hide:true,
      props:{
        label:'label',
        value:'value'
      },
    },

    {
      label: '唯一号/姓名/电话',
      prop: 'userInfo',
      hide:true,
      display:false,
      search:true
    },
	  {
      label: '新生标识',
      prop: 'serialNumber',
      rules: [{
        required: true,
        message: '请输入新生唯一号',
        trigger: 'blur'
      }]
    },
	  {
      label: '姓名',
      prop: 'realName',
      rules: [{
        required: true,
        message: '请输入姓名',
        trigger: 'blur'
      }]
    },
    {
      label: '手机',
      prop: 'phone',
    },
	  {
      label: '生源',
      prop: 'stuSource',
      type:'select',
      search:true,
      dicUrl: '/admin/dict/item/type/finance_student_source',
      props:{
        label:'label',
        value:'value'
      },
      rules: [{
        required: true,
        message: '请输入选择生源',
        trigger: 'blur'
      }]
    },
    {
      label: '学费',
      prop: 'tuition'
    },
    {
      label: '代办费',
      prop: 'agencyFee'
    },
    {
      label: '捐资助学费',
      prop: 'donationAndTuition'
    },
    {
      label: '退/补',
      prop: 'type',
      type:'select',
      dicUrl: '/admin/dict/item/type/recruit_turnover_stu_type',
      props:{
        label:'label',
        value:'value'
      },
      search:true
    },
    {
      label: '应退/补',
      prop: 'shouldPay'
    },
    {
      label: '已退/补',
      prop: 'realPay'
    },
    {
      label: '欠退/补',
      prop: 'oweFee'
    },
	  {
      label: '经办人姓名',
      prop: 'operaterName'
    },
  ]
}
