|
@@ -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 === '新建需求') {
|