|
|
@ -280,7 +280,15 @@ const handleActivateChange = async (index: number) => { |
|
|
|
} |
|
|
|
|
|
|
|
const updateTubeSettings = async (rackIdx: number, tubeIdx: number) => { |
|
|
|
if (!selectedBloodTypeKey.value) { |
|
|
|
if (!consumablesStore.projectsAvailable.length) { |
|
|
|
eMessage.error('请先添加项目') |
|
|
|
return |
|
|
|
} |
|
|
|
if (!selectedProjIds.value.length) { |
|
|
|
eMessage.error('请选择项目') |
|
|
|
return |
|
|
|
} |
|
|
|
if (!selectedBloodTypeKey.value) { |
|
|
|
eMessage.error('请选择血液类型') |
|
|
|
return |
|
|
|
} |
|
|
|