diff --git a/src/main/java/lingtao/net/service/ProductService.java b/src/main/java/lingtao/net/service/ProductService.java index d569d14..70857cb 100644 --- a/src/main/java/lingtao/net/service/ProductService.java +++ b/src/main/java/lingtao/net/service/ProductService.java @@ -577,7 +577,7 @@ public class ProductService { if ("1".equals(dto.getKindValue())) { priceList = new PriceUtils().getInsertCard(size, count); } else { - if ("9".equals(dto.getKindValue()) || "10".equals(dto.getKindValue())) { + if ("9".equals(dto.getKindValue()) || "10".equals(dto.getKindValue()) || "14".equals(dto.getKindValue()) || "15".equals(dto.getKindValue())) { dto.setKindValue("4"); } else if ("11".equals(dto.getKindValue())) { dto.setKindValue("8"); diff --git a/src/main/webapp/views/product/fan.jsp b/src/main/webapp/views/product/fan.jsp index 300dc7d..b583eb8 100644 --- a/src/main/webapp/views/product/fan.jsp +++ b/src/main/webapp/views/product/fan.jsp @@ -26,11 +26,11 @@ 款式
<%-- --%> - + <%-- - + --%>规格 diff --git a/src/main/webapp/views/product/insertCard.jsp b/src/main/webapp/views/product/insertCard.jsp index d03a586..c0ef3a4 100644 --- a/src/main/webapp/views/product/insertCard.jsp +++ b/src/main/webapp/views/product/insertCard.jsp @@ -1,360 +1,408 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" - pageEncoding="UTF-8"%> - <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + pageEncoding="UTF-8" %> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- -