import { BasicColumn } from '/@/components/Table'; import { FormSchema } from '/@/components/Table'; import { rules } from '/@/utils/helper/validator'; import { render } from '/@/utils/common/renderUtils'; import { getWeekMonthQuarterYear } from '/@/utils'; //列表数据 export const columns: BasicColumn[] = [ { title: '请领单单号', align: 'center', dataIndex: 'qldNo', }, { title: 'NUID', align: 'center', dataIndex: 'nuId_dictText', }, { title: '长者姓名', align: 'center', dataIndex: 'elderId_dictText', }, { title: '请领状态', align: 'center', dataIndex: 'status_dictText', }, { title: '提交人', align: 'center', dataIndex: 'tjBy_dictText', }, { title: '提交时间', align: 'center', dataIndex: 'tjTime', }, // { // title: '作废人', // align: "center", // dataIndex: 'zfBy_dictText' // }, // { // title: '作废时间', // align: "center", // dataIndex: 'zfTime' // }, // { // title: '回退人', // align: "center", // dataIndex: 'htBy_dictText' // }, // { // title: '回退时间', // align: "center", // dataIndex: 'htTime' // }, // { // title: '出库人', // align: "center", // dataIndex: 'ckBy_dictText' // }, // { // title: '出库时间', // align: "center", // dataIndex: 'ckTime' // }, { title: '收货人', align: 'center', dataIndex: 'shBy_dictText', }, { title: '收货时间', align: 'center', dataIndex: 'shTime', }, ]; // 高级查询数据 export const superQuerySchema = { qldNo: { title: '请领单单号', order: 0, view: 'text', type: 'string' }, status: { title: '请领状态', order: 1, view: 'list', type: 'string', dictCode: 'qld_status' }, tjBy: { title: '提交人', order: 2, view: 'sel_search', type: 'string', dictTable: 'sys_user', dictCode: 'id', dictText: 'realname' }, tjTime: { title: '提交时间', order: 3, view: 'datetime', type: 'string' }, zfBy: { title: '作废人', order: 4, view: 'sel_search', type: 'string', dictTable: 'sys_user', dictCode: 'id', dictText: 'realname' }, zfTime: { title: '作废时间', order: 5, view: 'datetime', type: 'string' }, htBy: { title: '回退人', order: 6, view: 'sel_search', type: 'string', dictTable: 'sys_user', dictCode: 'id', dictText: 'realname' }, htTime: { title: '回退时间', order: 7, view: 'datetime', type: 'string' }, ckBy: { title: '出库人', order: 8, view: 'sel_search', type: 'string', dictTable: 'sys_user', dictCode: 'id', dictText: 'realname' }, ckTime: { title: '出库时间', order: 9, view: 'datetime', type: 'string' }, shBy: { title: '收货人', order: 10, view: 'sel_search', type: 'string', dictTable: 'sys_user', dictCode: 'id', dictText: 'realname' }, shTime: { title: '收货时间', order: 11, view: 'datetime', type: 'string' }, nuId: { title: 'nuid nu_base_info.nu_id', order: 12, view: 'sel_search', type: 'string', dictTable: 'nu_base_info', dictCode: 'nu_id', dictText: 'nu_name', }, elderId: { title: '长者id nu_biz_elder_info.id', order: 13, view: 'sel_search', type: 'string', dictTable: 'nu_biz_elder_info', dictCode: 'id', dictText: 'name', }, };