From 31ed14ceed1fa270e7933aa64a52f3d1e1317079 Mon Sep 17 00:00:00 2001 From: zhuyiyi <649091362@qq.com> Date: Wed, 12 Nov 2025 09:59:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EUV=E5=B7=A5=E8=89=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/views/product/metal.jsp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/views/product/metal.jsp b/src/main/webapp/views/product/metal.jsp index e8e2519..089da5e 100644 --- a/src/main/webapp/views/product/metal.jsp +++ b/src/main/webapp/views/product/metal.jsp @@ -164,6 +164,11 @@ +
+ 常见工艺: + +
配件: -1 && (craft_list.indexOf("烫画") > -1 || craft_list.indexOf("冷转印") > -1 || craftZhuan.length > 0)) { + $(data.elem).next().attr("class", "layui-unselect layui-form-checkbox"); + $(data.elem).prop("checked", false); + layer.msg('[哑光]不能选择其他工艺!', {offset: ['300px', '300px']}, {icon: 5}); + return false; + } if (craft_list.indexOf("刮板") > -1 && (craft_list.indexOf("烫画") > -1 || craft_list.indexOf("冷转印") > -1)) { $(data.elem).next().attr("class", "layui-unselect layui-form-checkbox"); $(data.elem).prop("checked", false); @@ -392,7 +403,7 @@ } else { $("#guaban").hide(); } - var craftZhuan = $(".craftZhuan:checked").length; + if (craftZhuan > most) { $(data.elem).next().attr("class", "layui-unselect layui-form-checkbox"); $(data.elem).prop("checked", false);