|
|
@ -202,9 +202,9 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { |
|
|
|
|
|
|
|
// 列表头部按钮 |
|
|
|
const HeadButttondata = [ |
|
|
|
defaultButtons.defaultAddBtn({ hasPermi: `wms:purchaseClaimRequest:create` }), // 新增 |
|
|
|
defaultButtons.defaultImportBtn({ hasPermi: `wms:purchaseClaimRequest:import` }), // 导入 |
|
|
|
defaultButtons.defaultExportBtn({ hasPermi: `wms:purchaseClaimRequest:export` }), // 导出 |
|
|
|
defaultButtons.defaultAddBtn({ hasPermi: 'wms:purchaseClaimRequest:create' }), // 新增 |
|
|
|
defaultButtons.defaultImportBtn({ hasPermi: 'wms:purchaseClaimRequest:import' }), // 导入 |
|
|
|
defaultButtons.defaultExportBtn({ hasPermi: 'wms:purchaseClaimRequest:export' }), // 导出 |
|
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
|
defaultButtons.defaultSetBtn(null) // 设置 |
|
|
@ -263,23 +263,23 @@ const butttondata = (row, $index) => { |
|
|
|
return [ |
|
|
|
defaultButtons.mainListPlanSubBtn({ |
|
|
|
hide: isShowMainButton(row, ['1']), |
|
|
|
hasPermi: `wms:purchaseClaimRequest:sub` |
|
|
|
hasPermi: 'wms:purchaseClaimRequest:sub' |
|
|
|
}), // 提交审批 |
|
|
|
defaultButtons.mainListPlanAppBtn({ |
|
|
|
hide: isShowMainButton(row, ['2']), |
|
|
|
hasPermi: `wms:purchaseClaimRequest:agree` |
|
|
|
hasPermi: 'wms:purchaseClaimRequest:agree' |
|
|
|
}), // 审批通过 |
|
|
|
defaultButtons.mainListPlanTurBtn({ |
|
|
|
hide: isShowMainButton(row, ['2']), |
|
|
|
hasPermi: `wms:purchaseClaimRequest:reject` |
|
|
|
hasPermi: 'wms:purchaseClaimRequest:reject' |
|
|
|
}), // 驳回 |
|
|
|
defaultButtons.mainListEditBtn({ |
|
|
|
hide: isShowMainButton(row, ['1']), |
|
|
|
hasPermi: `wms:purchaseClaimRequest:update` |
|
|
|
hasPermi: 'wms:purchaseClaimRequest:update' |
|
|
|
}), // 编辑 |
|
|
|
defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3']),hasPhasPermiermi:`wms:purchaseClaimRequest:close`}), // 关闭 |
|
|
|
defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3']),hasPermi:'wms:purchaseClaimRequest:close'}), // 关闭 |
|
|
|
|
|
|
|
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4']),hasPhasPermiermi:`wms:purchaseClaimRequest:reAdd`}), // 重新添加 |
|
|
|
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:purchaseClaimRequest:reAdd'}), // 重新添加 |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|