Browse Source

SBBJ-831是否已审批为否的,显示审批按钮

master
zhaoyiran 1 month ago
parent
commit
abc5adc72a
  1. 10
      src/views/eam/item/applicationRecord/index.vue

10
src/views/eam/item/applicationRecord/index.vue

@ -179,10 +179,18 @@
}
}
const isShowApproveButton = (row) => {
if (row.isApprove == 'FALSE') {
return false
} else {
return true
}
}
// -
const butttondata = (row) => {
return [
defaultButtons.approveBtn({ hide: isShowMainButton(row, ['0']) ,hasPermi:'item:itemApplyMain:approve'}), //
defaultButtons.approveBtn({ hide: isShowApproveButton(row) ,hasPermi:'item:itemApplyMain:approve'}), //
defaultButtons.mainListOrderCloBtn({ hide: isShowCloseButton(row) ,hasPermi:'item:itemApplyMain:close'}), //
// defaultButtons.mainListEditBtn(null), //
// defaultButtons.mainListDeleteBtn(null), //

Loading…
Cancel
Save