Update dailyInspection.vue

This commit is contained in:
TimSpan 2024-11-08 17:07:47 +08:00
parent 59d96b7d17
commit 5369190b1d
1 changed files with 13 additions and 12 deletions

View File

@ -282,14 +282,14 @@ const onSubmit = async function () {
ckStandardId: item.selectedID, //ID
})
}
})
if (item.hasOwnProperty('selectedGroup')) {
item.selectedGroup.forEach((selectedItem) => {
console.log(selectedItem)
if (selectedItem != 'null') {
// console.log(selectedItem)
// console.log(ele)
if (ele.ckItemId != 'null' && selectedItem != 'null') {
assessmentRecordDetails.value.push({
ckGroupId: element.snowFlakeId, //Id
ckItemId: item.snowFlakeId, //ID
ckItemId: ele.ckItemId, //ID
ckStandardId: selectedItem, //ID
})
}
@ -297,6 +297,7 @@ const onSubmit = async function () {
}
})
})
})
const assessmentRecordParams = {
assessmentRecordDetails: [] as any[],