Browse Source

采购收货任务 隐藏按钮操作

master_hella_20240701
陈薪名 7 months ago
parent
commit
14a564c6c7
  1. 29
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

29
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

@ -201,20 +201,21 @@ const butttondata = (row,$index) => {
return []
}
return [
defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:close'}), //
defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), //
defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), //
{
label: '拒收',
name: 'mainJobClo',
hide: isShowMainButton(row, ['1']),
type: 'primary',
icon: '',
color: '',
hasPermi: 'wms:purchasereceipt-job-main:close',
link: true //
}]
// defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), //
// defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:close'}), //
// defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), //
// defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), //
// {
// label: '',
// name: 'mainJobClo',
// hide: isShowMainButton(row, ['1']),
// type: 'primary',
// icon: '',
// color: '',
// hasPermi: 'wms:purchasereceipt-job-main:close',
// link: true //
// }
]
}
// -

Loading…
Cancel
Save