|
@ -141,10 +141,15 @@ const openForm = (type: string, row?: any) => { |
|
|
if('create'==type){ |
|
|
if('create'==type){ |
|
|
const currentTime = new Date().getTime() |
|
|
const currentTime = new Date().getTime() |
|
|
const fileId = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='fileId') |
|
|
const fileId = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='fileId') |
|
|
fileId['value'] = currentTime |
|
|
|
|
|
const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile') |
|
|
const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile') |
|
|
|
|
|
if(fileId){ |
|
|
|
|
|
fileId['value'] = currentTime |
|
|
|
|
|
} |
|
|
|
|
|
if(uploadFile){ |
|
|
uploadFile['componentProps']['upData']['tableId'] = currentTime |
|
|
uploadFile['componentProps']['upData']['tableId'] = currentTime |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
basicFormRef.value.open(type, row) |
|
|
basicFormRef.value.open(type, row) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|