|
|
@ -62,6 +62,9 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '申请时间', |
|
|
|
field: 'requestTime', |
|
|
|
isForm:false, |
|
|
|
isTable:false, |
|
|
|
isTableForm:false, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
@ -83,6 +86,9 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '截止时间', |
|
|
|
field: 'dueTime', |
|
|
|
isForm:false, |
|
|
|
isTable:false, |
|
|
|
isTableForm:false, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
@ -259,6 +265,9 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '备注', |
|
|
|
field: 'remark', |
|
|
|
isForm:false, |
|
|
|
isTable:false, |
|
|
|
isTableForm:false, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
@ -341,12 +350,12 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
|
|
//表单校验
|
|
|
|
export const UnplannedissueRequestMainRules = reactive({ |
|
|
|
requestTime: [ |
|
|
|
{ required: true, message: '请输入申请时间', trigger: 'blur' } |
|
|
|
], |
|
|
|
dueTime: [ |
|
|
|
{ required: true, message: '请输入截止时间', trigger: 'blur' } |
|
|
|
], |
|
|
|
// requestTime: [
|
|
|
|
// { required: true, message: '请输入申请时间', trigger: 'blur' }
|
|
|
|
// ],
|
|
|
|
// dueTime: [
|
|
|
|
// { required: true, message: '请输入截止时间', trigger: 'blur' }
|
|
|
|
// ],
|
|
|
|
departmentCode: [ |
|
|
|
{ required: true, message: '请输入部门', trigger: 'blur' } |
|
|
|
], |
|
|
|