|
|
@ -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 // 文本展现按钮 |
|
|
|
// } |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|
// 列表-操作按钮事件 |
|
|
|