|
|
@ -189,6 +189,7 @@ const tableProcess = ref() |
|
|
|
const productData = ref({ name: '', code: '', desc1: '--' }) //产品数据 |
|
|
|
const materialData=ref() |
|
|
|
const mouldData = ref() |
|
|
|
//const bomVersion=ref() |
|
|
|
const page=ref({ |
|
|
|
total:0, |
|
|
|
current:1, |
|
|
@ -327,6 +328,7 @@ const getProcessBomList = async (pcode,processCode) => { |
|
|
|
processCode:processCode |
|
|
|
} |
|
|
|
return await ProcessrouteApi.getProcessBomList(params); |
|
|
|
//return await ProcessrouteApi.getBomListByProductBomAndProcess(params); |
|
|
|
} |
|
|
|
/** 查询模具基本信息列表 */ |
|
|
|
const getPatternPage = async (code) => { |
|
|
@ -363,10 +365,10 @@ const nodeClick = (e, x, y, node, view) => { |
|
|
|
currentNode.value.name=node.attrs.title.text |
|
|
|
Promise.all([ |
|
|
|
getProcessInfo(node.id), |
|
|
|
getProcessBomList(productCode.value,node.id), |
|
|
|
getProcessBomList(productCode.value,node.id),// rowData.value |
|
|
|
getPatternPage(node.id), |
|
|
|
getWorkstationPage(node.id) |
|
|
|
]).then(([processInfoList,basicBom, patternPage,workstationInfoList]) => { |
|
|
|
]).then(([processInfo,basicBom, patternPage,workstationInfoList]) => { |
|
|
|
// 在这里处理所有异步操作的结果 |
|
|
|
//message.info(JSON.stringify(processIndoList)) |
|
|
|
//console.log('basicBom',basicBom) |
|
|
|