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 []
} }
return [ return [
defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // // defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:close'}), // // defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:close'}), //
defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // // defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), //
defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // // defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), //
{ // {
label: '拒收', // label: '',
name: 'mainJobClo', // name: 'mainJobClo',
hide: isShowMainButton(row, ['1']), // hide: isShowMainButton(row, ['1']),
type: 'primary', // type: 'primary',
icon: '', // icon: '',
color: '', // color: '',
hasPermi: 'wms:purchasereceipt-job-main:close', // hasPermi: 'wms:purchasereceipt-job-main:close',
link: true // // link: true //
}] // }
]
} }
// - // -

Loading…
Cancel
Save