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