| | |
| | | }) |
| | | }, |
| | | |
| | | |
| | | /** |
| | | * 点击零件创建零件下级工序 |
| | | */ |
| | | handlePartsAddRelative() { |
| | | this.isAddNextLevel = true |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | if (this.$refs.realForm) { |
| | | this.$refs.realForm.add({ |
| | | productId: this.currentTreeNodeInfo.entity.productId, |
| | | componentId: this.currentTreeNodeInfo.entity.componentId, |
| | | partsId: this.currentTreeNodeInfo.entity.partsId |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | /** |
| | | * 点击工序添加同级工序 |
| | | */ |
| | |
| | | }) |
| | | }, |
| | | |
| | | // 创建工艺规程版本下级工序 |
| | | handleVersionAddChild() { |
| | | this.isAddNextLevel = true |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | if (this.$refs.realForm) { |
| | | this.$refs.realForm.add({ |
| | | productId: this.currentTreeNodeInfo.entity.productId, |
| | | componentId: this.currentTreeNodeInfo.entity.componentId, |
| | | partsId: this.currentTreeNodeInfo.entity.partsId, |
| | | psvId: this.currentTreeNodeInfo.id |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | /** |
| | | * 编辑工序信息 |
| | | */ |