Browse Source

修改该完工验证方式

master_hella_20240701
zhousq 7 months ago
parent
commit
988c95ba4e
  1. 2
      src/views/mes/orderDay/components/schedule.vue
  2. 7
      src/views/mes/workScheduling/index.vue

2
src/views/mes/orderDay/components/schedule.vue

@ -706,7 +706,9 @@ const deleteEquipment=(row)=>{
/*删除选择的班组人员*/ /*删除选择的班组人员*/
const deleteUser=(row)=>{ const deleteUser=(row)=>{
console.log("workerData.value.709",workerData.value)
workerData.value.splice(workerData.value.indexOf(row),1) workerData.value.splice(workerData.value.indexOf(row),1)
console.log("workerData.value.711",workerData.value)
} }
/*班组人员保存接口*/ /*班组人员保存接口*/
const saveUser = async () =>{ const saveUser = async () =>{

7
src/views/mes/workScheduling/index.vue

@ -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("当前工序不是完工工序,不能进行完工操作!")
} }
} }

Loading…
Cancel
Save