|
|
@ -230,11 +230,14 @@ const finishReport=async(row)=>{ |
|
|
|
processCode:row.workingNode |
|
|
|
} |
|
|
|
//console.log("workscheduling-finishReport-213",row) |
|
|
|
let res=await WorkSchedulingApi.getNodePosition(params) |
|
|
|
if(res==='end'){ |
|
|
|
if(row.workingNode=='endNode'){ |
|
|
|
//reportFinishRef.value.openDetail(row,"完工") |
|
|
|
WorkSchedulingApi.completeHandle(params) |
|
|
|
}else{ |
|
|
|
// let res=await WorkSchedulingApi.getNodePosition(params) |
|
|
|
// if(res){ |
|
|
|
|
|
|
|
// } |
|
|
|
message.alert("当前工序不是完工工序,不能进行完工操作!") |
|
|
|
} |
|
|
|
} |
|
|
|