luojun 1 år sedan
förälder
incheckning
5c752377f0
1 ändrade filer med 6 tillägg och 1 borttagningar
  1. 6 1
      src/views/resumption/plan/dialog.edit.vue

+ 6 - 1
src/views/resumption/plan/dialog.edit.vue

@@ -403,10 +403,15 @@ export default {
     },
     NowBuild() {
       //如果新增或者是草稿状态的立即生效的编辑
+      // if (
+      //   this.id == null ||
+      //   this.id == undefined ||
+      //   (this.defbuildTaskNow && this.formData.planStatus == 0)
+      // )
       if (
         this.id == null ||
         this.id == undefined ||
-        (this.defbuildTaskNow && this.formData.planStatus == 0)
+        ( this.formData.planStatus == 0)
       )
         return true;
       else return false;