From 906e8d68ff4c6ce852fc9c64e1041fdd3990b826 Mon Sep 17 00:00:00 2001 From: 13404089107 <puwei@sinata.cn> Date: 星期四, 26 六月 2025 17:36:49 +0800 Subject: [PATCH] fix --- culture/src/views/strain-library/validation/chief-cell/add.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/culture/src/views/strain-library/validation/chief-cell/add.vue b/culture/src/views/strain-library/validation/chief-cell/add.vue index dbfbc51..10506cf 100644 --- a/culture/src/views/strain-library/validation/chief-cell/add.vue +++ b/culture/src/views/strain-library/validation/chief-cell/add.vue @@ -104,7 +104,7 @@ handleSignatureConfirm(signatureImage) { this.signatureVisible = false; const id = this.$route.query.id || this.$route.params.id; - const submitData = { ...this.form, strainType: 2, isDraft: this.currentAction == 'submit' ? 0 : 1, handleSignature: signatureImage.signature, experimentTime: moment(this.form.experimentTime).format('YYYY-MM-DD') }; + const submitData = { ...this.form, strainType: 2, isDraft: this.currentAction == 'submit' ? 0 : 1, handleSignature: signatureImage.signature, experimentTime:this.form.experimentTime?moment(this.form.experimentTime).format('YYYY-MM-DD'):''}; if (this.currentAction === 'submit') { if (id) { // 编辑 -- Gitblit v1.7.1