|
@ -142,6 +142,10 @@ const checkChange = () => { |
|
|
form.value.tubeNum = activeTube.value.map((item, index) => index + 1).filter(item => activeTube.value[item - 1]) |
|
|
form.value.tubeNum = activeTube.value.map((item, index) => index + 1).filter(item => activeTube.value[item - 1]) |
|
|
formRef.value.validateField('tubeNum') |
|
|
formRef.value.validateField('tubeNum') |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const delHandle = (index: number) => { |
|
|
|
|
|
addList.value.splice(index, 1) |
|
|
|
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<template> |
|
|
<template> |
|
@ -192,7 +196,9 @@ const checkChange = () => { |
|
|
<span>{{ solsList.find(i => i.id === item.solutionList[0].solutionId)!.name }}</span> |
|
|
<span>{{ solsList.find(i => i.id === item.solutionList[0].solutionId)!.name }}</span> |
|
|
<span>添加{{ item.solutionList[0].volume }}ml</span> |
|
|
<span>添加{{ item.solutionList[0].volume }}ml</span> |
|
|
</div> |
|
|
</div> |
|
|
<el-icon><Close /></el-icon> |
|
|
|
|
|
|
|
|
<el-icon @click="() => delHandle(key)"> |
|
|
|
|
|
<Close /> |
|
|
|
|
|
</el-icon> |
|
|
</el-tag> |
|
|
</el-tag> |
|
|
</template> |
|
|
</template> |
|
|
<div v-else style="width: 100%;height: 100%;display: flex; flex-direction: column;justify-content: center;align-items: center;color: #C6C6C6"> |
|
|
<div v-else style="width: 100%;height: 100%;display: flex; flex-direction: column;justify-content: center;align-items: center;color: #C6C6C6"> |
|
|