| | |
| | | </el-col> |
| | | </el-row> --> |
| | | <el-table |
| | | v-if="operationIndex" |
| | | id="operationTable" |
| | | ref="operationTable" |
| | | class="basic-template-table" |
| | |
| | | currentRow: [], |
| | | currentRouting: {}, // 当前选择的工艺 |
| | | operations: [], // 当前选择工艺对应的工序 |
| | | operationIndex: 0, |
| | | currentBom: {}, // 当前选择的产品结构 |
| | | components: [], // 当前选择产品结构对应的结构组件 |
| | | factoryOptions: [], |
| | |
| | | getMoRoutingOption(this.dataForm.id).then((response) => { |
| | | if (response.data.code === 0) { |
| | | this.operations = response.data.data |
| | | this.operationIndex += 1 |
| | | } else { |
| | | this.operations = [] |
| | | } |
| | |
| | | getMoRoutingOption(this.dataForm.id).then((response) => { |
| | | if (response.data.code === 0) { |
| | | this.operations = response.data.data |
| | | this.operationIndex += 1 |
| | | } else { |
| | | this.operations = [] |
| | | } |