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