|
|
|
@ -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 () { |
|
|
|
|