From d6c117d19e2b762f9177664b27eb0af971a5ee27 Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Thu, 28 Dec 2023 15:02:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=BC=96=E8=BE=91=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../count/countRequestMain/index.vue | 55 ++++--------------- 1 file changed, 11 insertions(+), 44 deletions(-) diff --git a/src/views/wms/countManage/count/countRequestMain/index.vue b/src/views/wms/countManage/count/countRequestMain/index.vue index 0cd37b1ba..9f4b2bb70 100644 --- a/src/views/wms/countManage/count/countRequestMain/index.vue +++ b/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'}) // 解冻 ] }