From 1867df764c4f311e1a039bd753ddfc36eb955605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Fri, 12 Jan 2024 11:17:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E6=96=99=E8=AE=A1=E5=88=92=20?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=8F=AF=E7=94=A8=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=8F=90=E4=BA=A4=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../issueManage/preparetoissueplan/preparetoissueMain/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue b/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue index 7949496c0..c488fd07e 100644 --- a/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue +++ b/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue @@ -262,6 +262,7 @@ const buttonTableClick = async (val, row) => { console.log(err) }) } else if (val == 'mainPlanSub') { // 提交审批 + if (row.available == 'FALSE') return message.warning('当前数据:【不可用】') await message.confirm('确认要提交审批吗?') PreparetoissueMainApi.submit(row.id).then(() => { message.success(t('common.updateSuccess')) @@ -278,6 +279,7 @@ const buttonTableClick = async (val, row) => { console.log(err) }) } else if (val == 'mainPlanApp') { // 审批通过 + if (row.available == 'FALSE') return message.warning('当前数据:【不可用】') await message.confirm('确认要审批通过吗?') PreparetoissueMainApi.agree(row.id).then(() => { message.success(t('common.updateSuccess'))