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