|
@ -29,7 +29,7 @@ |
|
|
> |
|
|
> |
|
|
<template #schedulingCode="{row}"> |
|
|
<template #schedulingCode="{row}"> |
|
|
<el-button type="primary" link @click="openDetail(row, '工单详情', row.schedulingCode)"> |
|
|
<el-button type="primary" link @click="openDetail(row, '工单详情', row.schedulingCode)"> |
|
|
<span>{{ row.planMaserCode }}</span> |
|
|
<span>{{ row.planMasterCode }}</span> |
|
|
</el-button> |
|
|
</el-button> |
|
|
</template> |
|
|
</template> |
|
|
<template #action="{ row }"> |
|
|
<template #action="{ row }"> |
|
@ -169,10 +169,10 @@ const buttonBaseClick = (val, item) => { |
|
|
const butttondata=(row) =>{ return [ |
|
|
const butttondata=(row) =>{ return [ |
|
|
defaultButtons.mainListEditBtn({label:"调序",hasPermi:'mes:workScheduling:update'}), // 编辑 |
|
|
defaultButtons.mainListEditBtn({label:"调序",hasPermi:'mes:workScheduling:update'}), // 编辑 |
|
|
//defaultButtons.mainListDeleteBtn({hasPermi:'mes:workScheduling:delete'}), // 删除 |
|
|
//defaultButtons.mainListDeleteBtn({hasPermi:'mes:workScheduling:delete'}), // 删除 |
|
|
defaultButtons.mainListHandleBtn({label:"终止",name:'terminate',hide: isShowMainButton(row,['-1','0']),hasPermi:'mes:workScheduling:update'}), // |
|
|
defaultButtons.mainListHandleBtn({label:"终止",name:'terminate',hide: isShowMainButton(row,['-1','0']),hasPermi:'mes:workScheduling:update'}), // |
|
|
defaultButtons.mainListHandleBtn({label:"暂停",name:'pause',hide: isShowMainButton(row,['1']),hasPermi:'mes:workScheduling:update'}), |
|
|
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:'resume',hide: isShowMainButton(row,['3']),hasPermi:'mes:workScheduling:update'}), |
|
|
//defaultButtons.mainListHandleBtn({label:"变更",name:'change', hasPermi:'mes:workScheduling:update'}), // |
|
|
//defaultButtons.mainListHandleBtn({label:"变更",name:'change', hasPermi:'mes:workScheduling:update'}), // |
|
|
]} |
|
|
]} |
|
|
|
|
|
|
|
|
// 列表-操作按钮事件 |
|
|
// 列表-操作按钮事件 |
|
|