Browse Source

2024-05-21 工单增加完工提示;备注字段改为默认显示

master_hella_20240701
zhousq 6 months ago
parent
commit
b1e12bbdb5
  1. 6
      src/views/mes/workScheduling/components/Detail.vue
  2. 12
      src/views/mes/workScheduling/index.vue

6
src/views/mes/workScheduling/components/Detail.vue

@ -833,8 +833,10 @@ const opensearchTable = (
// }
const buttonClick=(type,row)=>{
if (type == 'pfinished') {
WorkSchedulingDetailApi.processFinished(row.id)
getList()
message.confirm("是否确认进行完工操作?").then (()=>{
WorkSchedulingDetailApi.processFinished(row.id)
getList()})
}else if (type == 'reprotProcess') {
refreport.value.openDetail(row,"工序报工", planDayCode.value)
}else if (type == 'checkProcess') {

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

@ -192,7 +192,7 @@ const butttondata=(row) =>{ return [
]}
const reportRef=ref()
const reportFinishRef=ref()
const qualifiedCheck=ref()
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
@ -231,8 +231,16 @@ const finishReport=async(row)=>{
}
//console.log("workscheduling-finishReport-213",row)
if(row.workingNode=='endNode'){
message.confirm("是否确认进行完工操作?").then (()=>{
WorkSchedulingApi.completeHandle(params)})
// if(ret =='ddd'){
// WorkSchedulingApi.completeHandle(params)
// }
//reportFinishRef.value.openDetail(row,"")
WorkSchedulingApi.completeHandle(params)
}else{
// let res=await WorkSchedulingApi.getNodePosition(params)
// if(res){

Loading…
Cancel
Save