diff --git a/src/views/modules/epidemic/regist.vue b/src/views/modules/epidemic/regist.vue index e7089d8..95c57a3 100644 --- a/src/views/modules/epidemic/regist.vue +++ b/src/views/modules/epidemic/regist.vue @@ -287,15 +287,16 @@ export default { } }, doseChange (event) { - if (this.dataForm.distinctNum < 2){ - if (event === this.maxDose && this.dataForm.vaccinationNum + 1 === event && this.dataForm.companyId === this.historyCompanyId){ + // if (this.dataForm.distinctNum < 2){ + if (event === this.maxDose && (this.dataForm.companyId === this.historyCompanyId || this.historyCompanyId === 0)){ + // if (event === this.maxDose && this.dataForm.vaccinationNum + 1 === event && this.dataForm.companyId === this.historyCompanyId){ this.dataForm.vaccinationState = 2 } else { this.dataForm.vaccinationState = 1 } - } else { - this.dataForm.vaccinationState = 1 - } + // } else { + // this.dataForm.vaccinationState = 1 + // } }, // 获取信息 getInfo () {