Commit ea4f77c8 authored by 耿迪迪's avatar 耿迪迪

电子作业票修改 gengdidi

parent 66e20688
......@@ -239,6 +239,7 @@
this.produceComfirm = JSON.parse(this.certificateData.produceComfirm);
}
this.specialWorkPermit();
this.active = "workPermit";
}
},
methods:{
......
......@@ -617,7 +617,8 @@
}
},
//更新作业单状态
updateWorkPermitStatus(){
async updateWorkPermitStatus(){
await judgeSignUpdateTWorkPermit({workPermitId:this.workPermitId,applyStatus:"2"});
getSpecialWorkPermitByWorkPermitId({workPermitId:this.workPermitId}).then(res =>{
let specialWorkPermits = res.data.specialWorkPermits;
let flag = true;
......@@ -635,7 +636,6 @@
this.cancelApproval();
this.$parent.$parent.getList();
}
judgeSignUpdateTWorkPermit({workPermitId:this.workPermitId,applyStatus:"2"});
})
},
cancelApproval(){
......
......@@ -829,7 +829,8 @@
}
},
//更新作业单状态
updateWorkPermitStatus(){
async updateWorkPermitStatus(){
await judgeSignUpdateTWorkPermit({workPermitId:this.workPermitId,applyStatus:"2"});
getSpecialWorkPermitByWorkPermitId({workPermitId:this.workPermitId}).then(res =>{
let specialWorkPermits = res.data.specialWorkPermits;
let flag = true;
......@@ -847,7 +848,6 @@
this.cancelApproval();
this.$parent.$parent.getList();
}
judgeSignUpdateTWorkPermit({workPermitId:this.workPermitId,applyStatus:"2"});
})
},
cancelApproval(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment