Browse Source

采购索赔按钮权限

intex
zhaoyiran 3 days ago
parent
commit
21308d923a
  1. 18
      src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue

18
src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue

@ -202,9 +202,9 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => {
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({ hasPermi: `wms:purchaseClaimRequest:create` }), // defaultButtons.defaultAddBtn({ hasPermi: 'wms:purchaseClaimRequest:create' }), //
defaultButtons.defaultImportBtn({ hasPermi: `wms:purchaseClaimRequest:import` }), // defaultButtons.defaultImportBtn({ hasPermi: 'wms:purchaseClaimRequest:import' }), //
defaultButtons.defaultExportBtn({ hasPermi: `wms:purchaseClaimRequest:export` }), // defaultButtons.defaultExportBtn({ hasPermi: 'wms:purchaseClaimRequest:export' }), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null) // defaultButtons.defaultSetBtn(null) //
@ -263,23 +263,23 @@ const butttondata = (row, $index) => {
return [ return [
defaultButtons.mainListPlanSubBtn({ defaultButtons.mainListPlanSubBtn({
hide: isShowMainButton(row, ['1']), hide: isShowMainButton(row, ['1']),
hasPermi: `wms:purchaseClaimRequest:sub` hasPermi: 'wms:purchaseClaimRequest:sub'
}), // }), //
defaultButtons.mainListPlanAppBtn({ defaultButtons.mainListPlanAppBtn({
hide: isShowMainButton(row, ['2']), hide: isShowMainButton(row, ['2']),
hasPermi: `wms:purchaseClaimRequest:agree` hasPermi: 'wms:purchaseClaimRequest:agree'
}), // }), //
defaultButtons.mainListPlanTurBtn({ defaultButtons.mainListPlanTurBtn({
hide: isShowMainButton(row, ['2']), hide: isShowMainButton(row, ['2']),
hasPermi: `wms:purchaseClaimRequest:reject` hasPermi: 'wms:purchaseClaimRequest:reject'
}), // }), //
defaultButtons.mainListEditBtn({ defaultButtons.mainListEditBtn({
hide: isShowMainButton(row, ['1']), 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'}), //
] ]
} }

Loading…
Cancel
Save