From 04d5e6007c81fdddadd0793298bc63d5cadf5710 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Sat, 8 May 2021 18:10:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=8A=B6=E6=80=81=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/epidemic/regist.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 () {