Browse Source

去掉编辑按钮

master
liuchen864 11 months ago
parent
commit
d6c117d19e
  1. 55
      src/views/wms/countManage/count/countRequestMain/index.vue

55
src/views/wms/countManage/count/countRequestMain/index.vue

@ -273,50 +273,17 @@ const searchTableRef = ref()
// -
const butttondata = (row) => {
return [
defaultButtons.mainListCloseBtn({
hide: isShowMainButton(row, ['1', '2', '3', '4', '6']),
hasPermi: 'wms:count-request-main:close'
}), //
defaultButtons.mainListReAddBtn({
hide: isShowMainButton(row, ['5']),
hasPermi: 'wms:count-request-main:reAdd'
}), //
defaultButtons.mainListSubmitBtn({
hide: isShowMainButton(row, ['1']),
hasPermi: 'wms:count-request-main:submit'
}), //
defaultButtons.mainListTurnDownBtn({
hide: isShowMainButton(row, ['2']),
hasPermi: 'wms:count-request-main:refused'
}), //
defaultButtons.mainListApproveBtn({
hide: isShowMainButton(row, ['2']),
hasPermi: 'wms:count-request-main:agree'
}), //
defaultButtons.mainListHandleBtn({
hide: isShowMainButton(row, ['3']),
hasPermi: 'wms:count-request-main:handle'
}), //
defaultButtons.mainListEditBtn({
hide: isShowMainButton(row, ['1']),
hasPermi: 'wms:count-request-main:update'
}), //
defaultButtons.mainReCountBtn({
hide: isShowReCountMainButton(row, ['1']),
hasPermi: 'wms:count-request-main:reCount'
}), //
defaultButtons.mainSuperviseCountBtn({
hide: isShowReCountMainButton(row, ['1']),
hasPermi: 'wms:count-request-main:supervise'
}), //
defaultButtons.mainCountAdjustRequesttBtn({
hide: isShowGenerateMainButton(row, ['2']),
hasPermi: 'wms:count-request-main:generate'
}), //
defaultButtons.mainThawRequesttBtn({
hide: isShowGenerateMainButton(row, ['3']),
hasPermi: 'wms:count-request-main:thaw'
}) //
defaultButtons.mainListCloseBtn({hide: isShowMainButton(row, ['1', '2', '3', '4', '6']),hasPermi: 'wms:count-request-main:close'}), //
defaultButtons.mainListReAddBtn({hide: isShowMainButton(row, ['5']),hasPermi: 'wms:count-request-main:reAdd'}), //
defaultButtons.mainListSubmitBtn({hide: isShowMainButton(row, ['1']),hasPermi: 'wms:count-request-main:submit'}), //
defaultButtons.mainListTurnDownBtn({hide: isShowMainButton(row, ['2']),hasPermi: 'wms:count-request-main:refused'}), //
defaultButtons.mainListApproveBtn({hide: isShowMainButton(row, ['2']),hasPermi: 'wms:count-request-main:agree'}), //
defaultButtons.mainListHandleBtn({hide: isShowMainButton(row, ['3']),hasPermi: 'wms:count-request-main:handle'}), //
// defaultButtons.mainListEditBtn({hide: isShowMainButton(row, ['1']),hasPermi: 'wms:count-request-main:update'}), //
defaultButtons.mainReCountBtn({hide: isShowReCountMainButton(row, ['1']),hasPermi: 'wms:count-request-main:reCount'}), //
defaultButtons.mainSuperviseCountBtn({hide: isShowReCountMainButton(row, ['1']),hasPermi: 'wms:count-request-main:supervise'}), //
defaultButtons.mainCountAdjustRequesttBtn({hide: isShowGenerateMainButton(row, ['2']),hasPermi: 'wms:count-request-main:generate'}), //
defaultButtons.mainThawRequesttBtn({hide: isShowGenerateMainButton(row, ['3']),hasPermi: 'wms:count-request-main:thaw'}) //
]
}

Loading…
Cancel
Save