import {BasicColumn} from '/@/components/Table'; import {FormSchema} from '/@/components/Table'; //列表数据 export const columns: BasicColumn[] = [ { title: '编码(code)', align:"center", dataIndex: 'code' }, { title: '名称(name)', align:"center", dataIndex: 'name' }, { title: '客户(customer)', align:"center", dataIndex: 'customerId_dictText' }, { title: '备注(notes)', align:"center", dataIndex: 'notes' }, { title: '创建时间(create time)', align:"center", dataIndex: 'createTime' }, { title: '创建人(create by)', align:"center", dataIndex: 'createBy' }, ]; //查询数据 export const searchFormSchema: FormSchema[] = [ { label: "编码(code)", field: 'code', component: 'Input', componentProps:{ }, //colProps: {span: 6}, }, { label: "名称(name)", field: 'name', component: 'Input', //colProps: {span: 6}, }, { label: "客户(customer)", field: 'customerId', component: 'JDictSelectTag', componentProps:{ dictCode: 'customer', }, //colProps: {span: 6}, }, { label: "创建时间(create time)", field: "createTime", component: 'RangePicker', labelWidth: 150, componentProps: { valueType: 'Date', showTime:true }, //colProps: {span: 6}, }, { label: "创建人(create by)", field: 'createBy', component: 'Input', labelWidth: 120, //colProps: {span: 6}, }, ];