From 4ca45e3b5f5d61bc23a6e9cfef99f00482819b93 Mon Sep 17 00:00:00 2001 From: "SGK\\17962" <1796293269@qq.com> Date: Thu, 18 Sep 2025 17:29:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cds-fontend-2025.V1/src/views/mps/market/index.vue | 13 +++++++++---- .../mps/service/impl/MpsMarketServiceImpl.java | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/cds-fontend-2025.V1/src/views/mps/market/index.vue b/cds-fontend-2025.V1/src/views/mps/market/index.vue index d2c5a4e..50814b2 100644 --- a/cds-fontend-2025.V1/src/views/mps/market/index.vue +++ b/cds-fontend-2025.V1/src/views/mps/market/index.vue @@ -389,6 +389,10 @@ const { if (!hasAuth('mps:market:edit')) { return null; } + // 只有当checkType为'9'时才显示编辑按钮 + if (row.checkFlag !== '9') { + return null; + } return ( {editBtn()} diff --git a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java index cdf52f1..bb2648b 100644 --- a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java +++ b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java @@ -610,7 +610,7 @@ public class MpsMarketServiceImpl implements IMpsMarketService { List trafficIds = new ArrayList<>(); for (MpsMarket market : marketList) { - if(!"9".equals(market.getCheckFlag())){//9-校验失败 + if(!"0".equals(market.getCheckFlag())){//0-未校验 throw new ServiceException("校验状态异常,不允许删除!"); } if (market.getMagneticCardId() != null) {