标准入库归档位置赋值
This commit is contained in:
@@ -2314,25 +2314,27 @@ export default {
|
||||
}, {}, res => {
|
||||
if (res.ok) {
|
||||
this.treeListOptions = res.data
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/getStandMenuId', {
|
||||
standId: bringData.id,
|
||||
}, {}, reson => {
|
||||
if (reson.ok) {
|
||||
let treeList = ''
|
||||
let treeListId = ''
|
||||
reson.data.forEach(item=>{
|
||||
this.treeCheckedKeys.push(item.menuId)
|
||||
if (treeList.length > 0) {
|
||||
treeList += ','
|
||||
treeListId += ','
|
||||
}
|
||||
treeList += item.menuName
|
||||
treeListId += item.menuId
|
||||
})
|
||||
this.form.treeListName = treeList
|
||||
this.form.treeListId = treeListId
|
||||
}
|
||||
})
|
||||
if(bringData.standNumber){
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/getStandMenuId', {
|
||||
standId: bringData.id,
|
||||
}, {}, reson => {
|
||||
if (reson.ok) {
|
||||
let treeList = ''
|
||||
let treeListId = ''
|
||||
reson.data.forEach(item=>{
|
||||
this.treeCheckedKeys.push(item.menuId)
|
||||
if (treeList.length > 0) {
|
||||
treeList += ','
|
||||
treeListId += ','
|
||||
}
|
||||
treeList += item.menuName
|
||||
treeListId += item.menuId
|
||||
})
|
||||
this.form.treeListName = treeList
|
||||
this.form.treeListId = treeListId
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -2985,6 +2987,7 @@ export default {
|
||||
|
||||
},
|
||||
treeHideCancel() {
|
||||
this.treeListOptions = []
|
||||
this.modalShowTree = false
|
||||
},
|
||||
popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
|
||||
Reference in New Issue
Block a user