bug修复
This commit is contained in:
parent
21946389ea
commit
1decab330c
|
|
@ -244,7 +244,6 @@ const getDetailData = async (row: any) => {
|
|||
insurancePdf,
|
||||
examinationPdf,
|
||||
devInfoProperties,
|
||||
identifyCode,
|
||||
tableList,
|
||||
} = res
|
||||
|
||||
|
|
@ -284,7 +283,6 @@ const getDetailData = async (row: any) => {
|
|||
insuranceATempPdf: [],
|
||||
examinationPdfs: [],
|
||||
examinationTempPdf: [],
|
||||
identifyCode,
|
||||
})
|
||||
descriptionFormList.value[0].insurancePdfs = insurancePdf
|
||||
descriptionFormList.value[0].examinationPdfs = examinationPdf
|
||||
|
|
@ -687,13 +685,13 @@ const submitFun = (type: any) => {
|
|||
addAndEditFormRef.value.validate(async (valid: any) => {
|
||||
if (valid) {
|
||||
let isDescription = false
|
||||
addAndEditForm.identifyCode = []
|
||||
// addAndEditForm.identifyCode = []
|
||||
descriptionFormList.value.forEach((e: any, index: number) => {
|
||||
e.insurancePdfs = [...e.insurancePdfs, ...e.insuranceATempPdf]
|
||||
e.examinationPdfs = [...e.examinationPdfs, ...e.examinationTempPdf]
|
||||
|
||||
if (type == 3 || type == 4) {
|
||||
addAndEditForm.identifyCode = e.identifyCode
|
||||
// addAndEditForm.identifyCode = e.identifyCode
|
||||
addAndEditForm.insurancePdf = e.insurancePdfs.map((e: any) => {
|
||||
return { fileNam: e.fileName, fileUrl: e.fileUrl }
|
||||
})
|
||||
|
|
@ -703,7 +701,7 @@ const submitFun = (type: any) => {
|
|||
} else {
|
||||
addAndEditForm.insurancePdfs[index] = e.insurancePdfs
|
||||
addAndEditForm.examinationPdfs[index] = e.examinationPdfs
|
||||
addAndEditForm.identifyCode.push(e.identifyCode)
|
||||
// addAndEditForm.identifyCode.push(e.identifyCode)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
@ -994,7 +992,6 @@ const onAddDescription = () => {
|
|||
insuranceATempPdf: [],
|
||||
examinationPdfs: [],
|
||||
examinationTempPdf: [],
|
||||
identifyCode: '',
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -1023,7 +1020,6 @@ const addAndEditForm = reactive<any>({
|
|||
insurancePdfs: [],
|
||||
examinationPdfs: [],
|
||||
devInfoProperties: [],
|
||||
identifyCode: [],
|
||||
tableList: [],
|
||||
})
|
||||
// const addAndEditFormTemp = reactive<any>()
|
||||
|
|
@ -1037,7 +1033,6 @@ const descriptionFormList = ref<any>([
|
|||
insuranceATempPdf: [],
|
||||
examinationPdfs: [],
|
||||
examinationTempPdf: [],
|
||||
identifyCode: '',
|
||||
},
|
||||
])
|
||||
const descriptionFormRefList = ref<any>([])
|
||||
|
|
@ -1158,7 +1153,6 @@ const onDialogClose = () => {
|
|||
examinationPdf: [],
|
||||
insurancePdfs: [],
|
||||
examinationPdfs: [],
|
||||
identifyCode: [],
|
||||
})
|
||||
}
|
||||
const propertyNames = ref<any>([])
|
||||
|
|
@ -2110,7 +2104,7 @@ const changeDate = (row:any,index:number) => {
|
|||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="操作" align="center" width="150px">
|
||||
<el-table-column label="操作" align="center" width="150px" >
|
||||
<template #default="{row,$index}">
|
||||
<div
|
||||
style="
|
||||
|
|
|
|||
Loading…
Reference in New Issue