Commit 8d95b228 by wuwx

合并master

2 parents 449e9cdd 57d6708c
......@@ -336,19 +336,22 @@ export default {
if (list.length && pIdx != -1) {
list[pIdx].labelList.push({
id: item.labelId,
name: item.labelName
name: item.labelName,
labelType: item.labelGroupType
})
} else {
groupIdList.push(item.labelGroupId)
list.push({
labelGroup: {
id: item.labelGroupId,
name: item.labelGroupName
name: item.labelGroupName,
labelType: item.labelGroupType
},
labelList: [
{
id: item.labelId,
name: item.labelName
name: item.labelName,
labelType: item.labelGroupType
}
]
})
......@@ -405,7 +408,6 @@ export default {
getInfo() {
this.$apis.sop.getSopInfoDetailApi({ sopId: this.routeInfo.id }).then(res => {
// console.log(res)
this.editForm = res
this.currentCustomerIdx = this.customerDataList.findIndex(item => item.confId == this.editForm.customerOptType)
this.recoverCustomerList()
......@@ -661,7 +663,7 @@ export default {
list.push({
labelGroupId: item.labelGroup.id,
labelGroupName: item.labelGroup.name,
labelGroupType: item.labelType,
labelGroupType: item.labelType || subItem.labelType,
labelId: subItem.id,
labelName: subItem.name
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!