From c7a73e079ecc568ecb870292098bf589312619f2 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Wed, 19 Jul 2023 09:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=A5=E6=83=85=E5=90=8C=E6=84=8F=E4=B9=A6?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E9=80=89=E6=8B=A9=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page-subspecialty/views/modules/formList/mraForm.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/page-subspecialty/views/modules/formList/mraForm.vue b/src/page-subspecialty/views/modules/formList/mraForm.vue index fc08be5..587f725 100644 --- a/src/page-subspecialty/views/modules/formList/mraForm.vue +++ b/src/page-subspecialty/views/modules/formList/mraForm.vue @@ -318,15 +318,14 @@ export default { this.$message.error('签字未成功请重新签字后再保存') return } - const start = this.$moment(this.startTime).format('yyyy-MM-DD HH:mm') - const end = this.$moment(this.endTime).format('yyyy-MM-DD HH:mm') + const start = this.startTime ? this.$moment(this.startTime).format('yyyy-MM-DD HH:mm') : '' + const end = this.endTime ? this.$moment(this.endTime).format('yyyy-MM-DD HH:mm') : '' this.formData.negativeTime = start + '~' + end this.formData.jzNumber = window.sessionStorage.getItem('jzNumber') || this.$route.query.jzNumber || '' this.formData.patientSign = this.formListValue.fundusDocSign this.formData.dependantSign = this.formListValue.kinSign this.formData.performerSign = this.formListValue.performerSign this.formData.checkerSign = this.formListValue.checkerSign - console.log(this.formData) this.$http.post('/mzbl/saveMzblYdxgzyzqtys', { caseId: this.caseId, ...this.formData