fix
13404089107
2025-06-27 b6716e2487bfdaa82720d85607c2070a07f6adb1
fix
1个文件已修改
6 ■■■■■ 已修改文件
culture/src/views/strain-library/breeding-record/add.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | 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();