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