| | |
| | | }, |
| | | created() { |
| | | document.title = '工艺文件审核' |
| | | console.log(window.location.href) |
| | | var url = window.location.href |
| | | var param = url.split('?')[1] |
| | | const params = param.split('&') |
| | |
| | | getDocumentForOa(id).then((response) => { |
| | | if (response.data.code === 0) { |
| | | const resData = response.data.data |
| | | console.log(resData) |
| | | const bomRoutings = resData.bomRoutings |
| | | const testStandards = resData.testStandards |
| | | const materialCosts = resData.materialCosts |
| | |
| | | } |
| | | } |
| | | this.processConfigContentData.processConfigDataList = processConfigDataList |
| | | console.log(this.processConfigContentData) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | i = i + keyValues.length |
| | | } |
| | | this.materialCostList = allKeyValues |
| | | console.log(this.rowColSplitNodes) |
| | | console.log(this.materialCostList) |
| | | }, |
| | | technologyDocumentSpanMethod({ row, column, rowIndex, columnIndex }) { |
| | | if (columnIndex === 0 || columnIndex === 1) { |
| | | var rowColSplitNode = this.rowColSplitNodes.find( |
| | | (item) => item.key == row.bomId && item.node === rowIndex |
| | | ) |
| | | console.log(row.bomId, rowIndex) |
| | | if (rowColSplitNode !== undefined) { |
| | | return { |
| | | rowspan: rowColSplitNode.num, |