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) => { const butttondata = (row) => {
return [ return [
defaultButtons.mainListCloseBtn({ defaultButtons.mainListCloseBtn({hide: isShowMainButton(row, ['1', '2', '3', '4', '6']),hasPermi: 'wms:count-request-main:close'}), //
hide: isShowMainButton(row, ['1', '2', '3', '4', '6']), defaultButtons.mainListReAddBtn({hide: isShowMainButton(row, ['5']),hasPermi: 'wms:count-request-main:reAdd'}), //
hasPermi: 'wms:count-request-main:close' 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.mainListReAddBtn({ defaultButtons.mainListApproveBtn({hide: isShowMainButton(row, ['2']),hasPermi: 'wms:count-request-main:agree'}), //
hide: isShowMainButton(row, ['5']), defaultButtons.mainListHandleBtn({hide: isShowMainButton(row, ['3']),hasPermi: 'wms:count-request-main:handle'}), //
hasPermi: 'wms:count-request-main:reAdd' // 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.mainListSubmitBtn({ defaultButtons.mainSuperviseCountBtn({hide: isShowReCountMainButton(row, ['1']),hasPermi: 'wms:count-request-main:supervise'}), //
hide: isShowMainButton(row, ['1']), defaultButtons.mainCountAdjustRequesttBtn({hide: isShowGenerateMainButton(row, ['2']),hasPermi: 'wms:count-request-main:generate'}), //
hasPermi: 'wms:count-request-main:submit' defaultButtons.mainThawRequesttBtn({hide: isShowGenerateMainButton(row, ['3']),hasPermi: 'wms:count-request-main:thaw'}) //
}), //
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