|
@ -534,31 +534,31 @@ const butttondata = (row, $index) => { |
|
|
return [ |
|
|
return [ |
|
|
defaultButtons.mainListCloseBtn({ |
|
|
defaultButtons.mainListCloseBtn({ |
|
|
hide: isShowMainButton(row, ['1', '2', '3', '4', '6']), |
|
|
hide: isShowMainButton(row, ['1', '2', '3', '4', '6']), |
|
|
hasPermi: 'wms:purchasereceipt-request-main:close' |
|
|
hasPermi: 'wms:purchasereturn-request-main:close' |
|
|
}), // 关闭 |
|
|
}), // 关闭 |
|
|
defaultButtons.mainListReAddBtn({ |
|
|
defaultButtons.mainListReAddBtn({ |
|
|
hide: isShowMainButton(row, ['5']), |
|
|
hide: isShowMainButton(row, ['5']), |
|
|
hasPermi: 'wms:purchasereceipt-request-main:reAdd' |
|
|
hasPermi: 'wms:purchasereturn-request-main:reAdd' |
|
|
}), //重新添加 |
|
|
}), //重新添加 |
|
|
defaultButtons.mainListSubmitBtn({ |
|
|
defaultButtons.mainListSubmitBtn({ |
|
|
hide: isShowMainButton(row, ['1']), |
|
|
hide: isShowMainButton(row, ['1']), |
|
|
hasPermi: 'wms:purchasereceipt-request-main:submit' |
|
|
hasPermi: 'wms:purchasereturn-request-main:submit' |
|
|
}), // 提交审批 |
|
|
}), // 提交审批 |
|
|
defaultButtons.mainListTurnDownBtn({ |
|
|
defaultButtons.mainListTurnDownBtn({ |
|
|
hide: isShowMainButton(row, ['2']), |
|
|
hide: isShowMainButton(row, ['2']), |
|
|
hasPermi: 'wms:purchasereceipt-request-main:refused' |
|
|
hasPermi: 'wms:purchasereturn-request-main:refused' |
|
|
}), // 驳回 |
|
|
}), // 驳回 |
|
|
defaultButtons.mainListApproveBtn({ |
|
|
defaultButtons.mainListApproveBtn({ |
|
|
hide: isShowMainButton(row, ['2']), |
|
|
hide: isShowMainButton(row, ['2']), |
|
|
hasPermi: 'wms:purchasereceipt-request-main:agree' |
|
|
hasPermi: 'wms:purchasereturn-request-main:agree' |
|
|
}), // 审批通过 |
|
|
}), // 审批通过 |
|
|
defaultButtons.mainListHandleBtn({ |
|
|
defaultButtons.mainListHandleBtn({ |
|
|
hide: isShowMainButton(row, ['3']), |
|
|
hide: isShowMainButton(row, ['3']), |
|
|
hasPermi: 'wms:purchasereceipt-request-main:handle' |
|
|
hasPermi: 'wms:purchasereturn-request-main:handle' |
|
|
}), // 处理 |
|
|
}), // 处理 |
|
|
defaultButtons.mainListEditBtn({ |
|
|
defaultButtons.mainListEditBtn({ |
|
|
hide: isShowMainButton(row, ['1']), |
|
|
hide: isShowMainButton(row, ['1']), |
|
|
hasPermi: 'wms:purchasereceipt-request-main:update' |
|
|
hasPermi: 'wms:purchasereturn-request-main:update' |
|
|
}) // 编辑 |
|
|
}) // 编辑 |
|
|
// { |
|
|
// { |
|
|
// label: '生成标签', |
|
|
// label: '生成标签', |
|
|