Browse Source

加注释

release/version1.0
zhangjiming 4 months ago
parent
commit
99f2f628ef
  1. 4
      src/store/modules/consumables.ts

4
src/store/modules/consumables.ts

@ -104,7 +104,9 @@ export const useConsumablesStore = defineStore(
function setIdCardInserted(status: boolean) {
isIdCardInserted.value = status
}
// 每种项目还能做多少次,也就是项目对应的耗材总数。
// 比如 如果有两组同类型的反应板和缓冲液(假设都是PCT),一个剩余20,一个剩余15. 那PCT耗材数目就是35.
// 也就是反应板组 要经过 分组(去重)、累加。
const projectsAvailable = computed(() => {
return R.pipe(
R.filter<ReactionPlateGroup>(g => !!g.projName && g.projName !== 'null'),

Loading…
Cancel
Save