|
|
@ -191,7 +191,8 @@ const butttondata=(row) =>{ return [ |
|
|
|
defaultButtons.mainListHandleBtn({label:"暂停",name:'pause',hide: isShowMainButton(row,['1']),hasPermi:'mes:workScheduling:update'}), |
|
|
|
defaultButtons.mainListHandleBtn({label:"恢复",name:'resume',hide: isShowMainButton(row,['3']),hasPermi:'mes:workScheduling:update'}), |
|
|
|
defaultButtons.mainListHandleBtn({label:"开工",name:'start',hide: isShowMainButton(row,['-1','0']),hasPermi:'mes:workScheduling:update'}), |
|
|
|
defaultButtons.mainListHandleBtn({label:"报工",name:'report',hide: isShowMainButton(row,['1'] ),hasPermi:'mes:workScheduling:update'}), |
|
|
|
defaultButtons.mainListHandleBtn({label:"报工",name:'report',hide: isShowMainButton(row,['4'] ),hasPermi:'mes:workScheduling:update'}), |
|
|
|
defaultButtons.mainListHandleBtn({label:"质检",name:'check',hide: isShowMainButton(row,['5'] ),hasPermi:'mes:workScheduling:update'}), |
|
|
|
defaultButtons.mainListHandleBtn({label:"完工",name:'finish',hide: isShowMainButton(row,['1']),hasPermi:'mes:workScheduling:update'}), |
|
|
|
//defaultButtons.mainListHandleBtn({label:"叫料",name:'callMaterial',hide: isShowMainButton(row,['1']),hasPermi:'mes:workScheduling:update'}), |
|
|
|
|
|
|
@ -212,6 +213,8 @@ const buttonTableClick = async (val, row) => { |
|
|
|
changeBillStatus(row,"1") |
|
|
|
}else if(val=='report'){ |
|
|
|
reportRef.value.openDetail(row,"报工") |
|
|
|
}else if(val=='check'){ |
|
|
|
//reportRef.value.openDetail(row,"报工") |
|
|
|
}else if(val=='finish'){ |
|
|
|
finishReport(row) |
|
|
|
} else if(val=='callMaterial'){ |
|
|
|