From 36862b93ec048ef1514fb37413ca12cb050cfa34 Mon Sep 17 00:00:00 2001 From: wangjiuyun <1595161655@qq.com> Date: Fri, 6 Jun 2025 19:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=96=B0=E5=BB=BA=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/project/info/add.html | 2 + .../templates/project/info/edit.html | 2 + .../templates/project/info/project.html | 44 +- .../templates/project/order/add.html | 93 +- .../templates/project/order/edit.html | 1100 ++++++++++++++--- 5 files changed, 1023 insertions(+), 218 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/project/info/add.html b/ruoyi-admin/src/main/resources/templates/project/info/add.html index 8d7d0aa7..c2733382 100644 --- a/ruoyi-admin/src/main/resources/templates/project/info/add.html +++ b/ruoyi-admin/src/main/resources/templates/project/info/add.html @@ -334,6 +334,8 @@ function submitHandler() { if ($.validate.form()) { $.operate.save(prefix + "/add", $('#form-product-add').serialize()); + }else{ + $.modal.alertWarning("请完善表单"); } } diff --git a/ruoyi-admin/src/main/resources/templates/project/info/edit.html b/ruoyi-admin/src/main/resources/templates/project/info/edit.html index f9266a17..4c6e8ac4 100644 --- a/ruoyi-admin/src/main/resources/templates/project/info/edit.html +++ b/ruoyi-admin/src/main/resources/templates/project/info/edit.html @@ -371,6 +371,8 @@ function submitHandler() { if ($.validate.form()) { $.operate.save(prefix + "/edit", $('#form-product-add').serialize()); + }else{ + $.modal.alertWarning("请完善表单"); } } diff --git a/ruoyi-admin/src/main/resources/templates/project/info/project.html b/ruoyi-admin/src/main/resources/templates/project/info/project.html index 45833749..74529426 100644 --- a/ruoyi-admin/src/main/resources/templates/project/info/project.html +++ b/ruoyi-admin/src/main/resources/templates/project/info/project.html @@ -34,6 +34,10 @@ .highlightRow { color: red; } + + .disableBtnfalse { + color: #ccc; + }