| culture/src/views/strain-library/breeding-record/add.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
culture/src/views/strain-library/breeding-record/add.vue
@@ -519,7 +519,9 @@ } }) } if (this.form.id && this.form.isDraft == 0) { console.log(this.form,this.form.isDraft); if (this.form.id && (this.form.isDraft == 0 || this.form.isDraft == null)) { edit(this.form).then(res => { if (res.code === 200) { this.$message.success('编辑成功'); @@ -530,8 +532,6 @@ }) } else { add(this.form).then(res => { console.log('//////', res); if (res.code === 200) { this.$message.success('添加成功'); this.$router.back();