From 6bb12bfc6a2a71d9f1be2fe490237fef2de30a71 Mon Sep 17 00:00:00 2001 From: zhuyiyi <649091362@qq.com> Date: Tue, 13 Jan 2026 17:48:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B9=E5=B7=BE=E7=BA=B8?= =?UTF-8?q?=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/views/product/handkerchiefPaper.jsp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/views/product/handkerchiefPaper.jsp b/src/main/webapp/views/product/handkerchiefPaper.jsp index 264a2c8..ffab8bc 100644 --- a/src/main/webapp/views/product/handkerchiefPaper.jsp +++ b/src/main/webapp/views/product/handkerchiefPaper.jsp @@ -255,21 +255,22 @@ }); return false; } - if (size == "23*23" || size == "27*27") { + if (size == "27*27") { if (count < 3) { layer.msg("23*23、27*27尺寸3箱起做", {offset: ['300px', '300px']}, function () { }); return false; } } + if (size == "23*23") { + if (count < 5) { + layer.msg("23*23尺寸5箱起做", {offset: ['300px', '300px']}, function () { + }); + return false; + } + } let colorType = $("input[name='shen_color']:checked").val(); - if (size == "23*23" || size == "27*27") { - if (count < 3) { - layer.msg("23*23、27*27尺寸3箱起做", {offset: ['300px', '300px']}, function () { - }); - return false; - } - } + if (colorType == "双色" && count < 5) { layer.msg("双色5箱起做", {offset: ['300px', '300px']}, function () { });