|
|
|
@ -578,11 +578,13 @@ export default { |
|
|
|
alternativeNo: '', |
|
|
|
routingType: null, |
|
|
|
} |
|
|
|
if (this.dataList.length > 0){ |
|
|
|
row = this.dataList[0]; |
|
|
|
}else { |
|
|
|
if (this.treeData.length === 0){ |
|
|
|
this.$message.warning("未维护BOM结构") |
|
|
|
return; |
|
|
|
}else if (this.dataList.length > 0){ |
|
|
|
row = this.dataList[0]; |
|
|
|
}else { |
|
|
|
|
|
|
|
} |
|
|
|
if (node){ |
|
|
|
this.routing = { |
|
|
|
|