1 changed files with 0 additions and 83 deletions
@ -1,83 +0,0 @@ |
|||
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|||
import { dateFormatter } from '@/utils/formatTime' |
|||
|
|||
// 表单校验
|
|||
export const MesOrderMonthMainRules = reactive({ |
|||
}) |
|||
|
|||
export const MesOrderMonthMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|||
{ |
|||
label: '备注', |
|||
field: 'remark', |
|||
sort: 'custom', |
|||
isTable: false |
|||
}, |
|||
{ |
|||
label: '创建时间', |
|||
field: 'createTime', |
|||
sort: 'custom', |
|||
formatter: dateFormatter, |
|||
isSearch: true, |
|||
search: { |
|||
component: 'DatePicker', |
|||
componentProps: { |
|||
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|||
type: 'daterange', |
|||
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|||
} |
|||
}, |
|||
isForm: false |
|||
}, |
|||
{ |
|||
label: '创建者用户名', |
|||
field: 'creator', |
|||
sort: 'custom', |
|||
isSearch: true, |
|||
isForm: false |
|||
}, |
|||
{ |
|||
label: '主计划编码', |
|||
field: 'planMasterCode', |
|||
sort: 'custom', |
|||
isTable: false, |
|||
isSearch: true |
|||
}, |
|||
{ |
|||
label: '计划辅助编码', |
|||
field: 'planSubCode', |
|||
sort: 'custom', |
|||
isTable: false, |
|||
isSearch: true |
|||
}, |
|||
{ |
|||
label: '计划类型', |
|||
field: 'planType', |
|||
sort: 'custom', |
|||
isSearch: true, |
|||
form: { |
|||
component: 'SelectV2' |
|||
} |
|||
}, |
|||
{ |
|||
label: '工厂编码', |
|||
field: 'factoryCode', |
|||
sort: 'custom', |
|||
isTable: false |
|||
}, |
|||
{ |
|||
label: '工厂名称', |
|||
field: 'factoryName', |
|||
sort: 'custom', |
|||
isSearch: true, |
|||
isForm: false |
|||
}, |
|||
{ |
|||
label: '操作', |
|||
field: 'action', |
|||
isForm: false, |
|||
table: { |
|||
width: 150, |
|||
fixed: 'right' |
|||
} |
|||
} |
|||
])) |
Loading…
Reference in new issue