123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- 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},
- },
-
- ];
|