|
@@ -271,7 +271,7 @@
|
|
|
warehouseId,
|
|
warehouseId,
|
|
|
...i,
|
|
...i,
|
|
|
instanceId: i.id,
|
|
instanceId: i.id,
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -286,16 +286,16 @@
|
|
|
selectVal(e, val, index) {
|
|
selectVal(e, val, index) {
|
|
|
if (this.isType == 'feed' && val.rootCategoryLevelId == 1) {
|
|
if (this.isType == 'feed' && val.rootCategoryLevelId == 1) {
|
|
|
this.$set(this.list[index], 'checked', false)
|
|
this.$set(this.list[index], 'checked', false)
|
|
|
- if( val.mattList.length > 0) {
|
|
|
|
|
|
|
+ if (val.mattList.length > 0) {
|
|
|
this.mattList = val.mattList
|
|
this.mattList = val.mattList
|
|
|
} else {
|
|
} else {
|
|
|
this.memoList.forEach(m => {
|
|
this.memoList.forEach(m => {
|
|
|
- if(m.rootCategoryLevelId == 1) {
|
|
|
|
|
- this.mattList = this.mattList.concat(m.mattList)
|
|
|
|
|
|
|
+ if (m.rootCategoryLevelId == 1) {
|
|
|
|
|
+ this.mattList = this.mattList.concat(m.mattList)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.categoryId = val.categoryId
|
|
this.categoryId = val.categoryId
|
|
|
this.matterId = val.id
|
|
this.matterId = val.id
|
|
|
this.matterShow = true
|
|
this.matterShow = true
|
|
@@ -355,13 +355,14 @@
|
|
|
|
|
|
|
|
//跳转回添加页面
|
|
//跳转回添加页面
|
|
|
jumpAdd() {
|
|
jumpAdd() {
|
|
|
- if(this.isType == 'pick') {
|
|
|
|
|
|
|
+ if (this.isType == 'pick') {
|
|
|
|
|
+ uni.$emit('setSelectList', this.memoList, this.pid)
|
|
|
|
|
+ uni.navigateBack()
|
|
|
|
|
+ } else if (this.isType == 'feed') {
|
|
|
uni.$emit('setSelectList', this.memoList, this.pid)
|
|
uni.$emit('setSelectList', this.memoList, this.pid)
|
|
|
uni.navigateBack()
|
|
uni.navigateBack()
|
|
|
- } else if(this.isType == 'feed') {
|
|
|
|
|
- console.log(this.memoList)
|
|
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|