qinzhipeng_v 5 years ago
parent
commit
f2a0d55024
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/views/projectManage/requirement/list/create.vue

+ 1 - 3
src/views/projectManage/requirement/list/create.vue

@@ -125,7 +125,7 @@ export default {
       form: {
         source: 1,
         name: null,
-        belongingProject: null,
+        belongingProject: '-1',
         priority: null,
         sourceType: null,
         bizId: null,
@@ -165,7 +165,6 @@ export default {
       if (newVisible) {
         if (this.title === '编辑需求') {
           this.form = JSON.parse(JSON.stringify(this.data))
-          console.log(this.form, 'dddd')
           this.form.pm = this.form.pm[0].idap
           this.init()
           this.form.modifier = localStorage.getItem('username')
@@ -185,7 +184,6 @@ export default {
       }
     },
     isVisible: function(newIsVisible, oldIsVisible) {
-      this.$set(this.form, 'belongingProject', '-1')
       this.form.bizId = Number(localStorage.getItem('bizId'))
       if (!newIsVisible) {
         if (this.title === '新建需求') {