|
|
@ -264,14 +264,16 @@ const isShowMainButton = (row, val) => { |
|
|
|
// 列表-操作按钮 |
|
|
|
const butttondata = (row, $index) => { |
|
|
|
return [ |
|
|
|
defaultButtons.mainListPlanOpeBtn({ |
|
|
|
hide: isShowMainButton(row, ['5']), |
|
|
|
hasPermi: 'wms:count-plan-main:open' |
|
|
|
}), // 打开 |
|
|
|
// defaultButtons.mainListPlanOpeBtn({ |
|
|
|
// hide: isShowMainButton(row, ['5']), |
|
|
|
// hasPermi: 'wms:count-plan-main:open' |
|
|
|
// }), |
|
|
|
// 打开 |
|
|
|
defaultButtons.mainListPlanCloBtn({ |
|
|
|
hide: isShowMainButton(row, ['1', '2', '3', '4']), |
|
|
|
hasPermi: 'wms:count-plan-main:close' |
|
|
|
}), // 关闭 |
|
|
|
}), |
|
|
|
// 关闭 |
|
|
|
defaultButtons.mainListPlanSubBtn({ |
|
|
|
hide: isShowMainButton(row, ['1']), |
|
|
|
hasPermi: 'wms:count-plan-main:submit' |
|
|
|