|
|
@ -153,7 +153,7 @@ const clickBloodTypeItem = (type) => { |
|
|
|
} |
|
|
|
|
|
|
|
const projIdCntMap = computed(() => { |
|
|
|
return R.reduce( |
|
|
|
let projMap = R.reduce( |
|
|
|
(acc, curr) => { |
|
|
|
const projIdCntRack = R.reduce( |
|
|
|
(ac, cur) => { |
|
|
@ -174,6 +174,8 @@ const projIdCntMap = computed(() => { |
|
|
|
{}, |
|
|
|
testTubeStore.tubeRacks, |
|
|
|
) |
|
|
|
console.log('projMap===', projMap) |
|
|
|
return projMap; |
|
|
|
}) |
|
|
|
|
|
|
|
//编辑患者信息 |
|
|
@ -277,9 +279,11 @@ const updateTubeSettings = async (rackIdx: number, tubeIdx: number) => { |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
console.log('rack.tubeSettings---', rack.tubeSettings) |
|
|
|
|
|
|
|
//检查耗材 |
|
|
|
// console.log('tubeRack---', testTubeStore.tubeRacks) |
|
|
|
// console.log('rack---', rack.tubeSettings) |
|
|
|
// let hasExistProject = existValidProject(rack) |
|
|
|
// if(!hasExistProject){ |
|
|
|
// //检查耗材 |
|
|
|
// if(consumablesStore.consumableData && consumablesStore.consumableData.reactionPlateGroup){ |
|
|
|
// let reactionPlateGroup = consumablesStore.consumableData.reactionPlateGroup |
|
|
|
// let list:reactionPlateGroupItem[] = [] |
|
|
@ -293,6 +297,8 @@ const updateTubeSettings = async (rackIdx: number, tubeIdx: number) => { |
|
|
|
// return; |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
//超出现有数量 |
|
|
|
// if(consumablesStore.projectsAvailable){ |
|
|
|