Esse commit está contido em:
2025-05-08 17:15:55 +08:00
commit 7650802c30
12 arquivos alterados com 1094 adições e 950 exclusões
@@ -399,7 +399,7 @@ public class ProductService {
// 选择少数量/打印不干胶按钮
if ("少数量".contentEquals(dto.getStickerKind()) || "专版打印".contentEquals(dto.getStickerKind())) {
stickersList = lessSticker(dto, kind, number, width, length, count, stickersList);
stickersList = lessSticker(dto, kind, number, width, length, count, stickersList, role);
if (stickersList.get(0) == null) {
return null;
@@ -1364,6 +1364,21 @@ public class ProductService {
//第二款开始的设计费按照式设计内容
if (number > 1) {
double desFee = 0;
if (role.indexOf("1045") == -1) {
if (number == 2) {
desFee = 5.5;
}
if (number == 3) {
desFee = 5.5 + 3.5;
}
if (number > 3) {
desFee = 5.5 + 3.5 + 2.5 * (number - 3);
}
for (Product product : priceList) {
product.setPrice(Math.ceil(product.getPrice() + desFee));
}
} else {
if (dto.getP() == 1) {
desFee = 0.6;
} else if (dto.getP() == 2 || dto.getP() == 3) {
@@ -1379,6 +1394,8 @@ public class ProductService {
product.setPrice(Math.floor(product.getPrice() + desFee * (number - 1)));
}
}
}
return priceList;
} else {
// 产品位数
@@ -2320,7 +2337,6 @@ public class ProductService {
} else {
priceList = new PriceUtils().UVStickerPrice(length, width, count, number, dto.getCraftMo(), dto.getCraft());
}
if (priceList.get(0).getCount() != count) {
priceList.get(0).setCount(count);
}
@@ -2655,6 +2671,37 @@ public class ProductService {
}
}
}
if (role.indexOf("1045") == -1) {
if (number > 1) {
double designFee = 0;
if (!dto.getProTypeLabel().equals("婚礼报纸") && !dto.getProTypeLabel().equals("菜单")) {
if (number == 2) {
designFee = 5.5;
}
if (number == 3) {
designFee = 5.5 + 3.5;
}
if (number > 3) {
designFee = 5.5 + 3.5 + 2.5 * (number - 3);
}
}
if (dto.getProTypeLabel().equals("菜单") || dto.getProTypeLabel().equals("婚礼报纸")) {
if (number == 2) {
designFee = 17;
}
if (number == 3) {
designFee = 17 + 17;
}
if (number > 3) {
designFee = 17 + 17 + 12 * (number - 3);
}
}
for (Product product : priceList) {
product.setPrice(Math.ceil(product.getPrice() + designFee));
}
}
} else {
//第二款开始的设计费按照式设计内容
if (!dto.getProTypeLabel().equals("婚礼报纸") && !dto.getProTypeLabel().equals("菜单") && number > 1) {
@@ -2688,6 +2735,7 @@ public class ProductService {
product.setPrice(Math.floor(product.getPrice() + desFee * (number - 1)));
}
}
}
return priceList;
// 便签本/联单
@@ -3101,6 +3149,20 @@ public class ProductService {
if (("0".equals(kind) && "0".equals(kind2)) || ("1".equals(kind) && ("1".equals(kind2) || "3".equals(kind2) || "8".equals(kind2) || "15".equals(kind2))) || "2".equals(kind)) {
double desFee = 0;
if (role.indexOf("1045") == -1) {
if (number == 2) {
desFee = 11;
}
if (number == 3) {
desFee = 11 + 11;
}
if (number > 3) {
desFee = 11 + 11 + 11 * (number - 3);
}
for (Product product : priceList) {
product.setPrice(Math.ceil(product.getPrice() + desFee));
}
} else {
if (dto.getP() == 1 || dto.getP() == 2 || dto.getP() == 3) {
desFee = 3;
} else if (dto.getP() == 4) {
@@ -3114,6 +3176,8 @@ public class ProductService {
for (Product product : priceList) {
product.setPrice(Math.floor(product.getPrice() + desFee * (number - 1)));
}
}
}
}
@@ -3319,7 +3383,7 @@ public class ProductService {
* if (priceList.size() >= 4) { priceList = priceList.subList(0, 4); }
*/
String[] ztCraft = {"背胶"};
priceList = ZsPrice.getSmPrice(count, length, width, priceList, number, ztCraft, dto);
priceList = ZsPrice.getSmPrice(count, length, width, priceList, number, ztCraft, dto, role);
for (Product product : priceList) {
if (dto.getKindValue().equals("0") || dto.getKindValue().equals("10")) {
wei = 0.38;
@@ -3792,7 +3856,7 @@ public class ProductService {
product.setPrice(Math.floor(product.getPrice() * number));
}
} else {// 打印的价格和pvc不干胶打印价格一样--23.8.17更新后取消这个
priceList = lessSticker(dto, proType, number, width, length, count, priceList);
priceList = lessSticker(dto, proType, number, width, length, count, priceList, role);
return priceList;
}
// 重量
@@ -3932,7 +3996,7 @@ public class ProductService {
return priceList;
case "数码PVC":
// 价格按照大纸裁
priceList = ZsPrice.getSmPrice(count, length, width, priceList, number, dto.getCraft(), dto);
priceList = ZsPrice.getSmPrice(count, length, width, priceList, number, dto.getCraft(), dto, role);
for (Product product : priceList) {
if (dto.getKindValue().equals("1") || dto.getKindValue().equals("2") || dto.getKindValue().equals("3")) {
wei = 0.38;
@@ -4348,7 +4412,7 @@ public class ProductService {
}
private List<Product> lessSticker(Product dto, String kind, Integer number, Double width, Double length,
int count, List<Product> stickersList) {
int count, List<Product> stickersList, String role) {
double price = 0.0;
// 一张大纸收费
double addPrice = 0.0;
@@ -4418,6 +4482,17 @@ public class ProductService {
}
if (number > 1) {
double desFee = 0;
if (role.indexOf("1045") == -1) {
if (number == 2) {
desFee = 3.5;
}
if (number == 3) {
desFee = 3.5 + 2.5;
}
if (number > 3) {
desFee = 3.5 + 2.5 + 1.5 * (number - 3);
}
} else {
if (dto.getP() == 1) {
desFee = 0.6;
} else if (dto.getP() == 2 || dto.getP() == 3) {
@@ -4429,11 +4504,14 @@ public class ProductService {
} else {
desFee = 5;
}
desFee = desFee * number;
}
for (Product product : stickersList) {
if ("0".equals(kind) && "纯烫金".equals(dto.getCraftTang())) {
product.setPrice(product.getPrice() * number);
} else {
product.setPrice(Math.floor(product.getPrice() + desFee * number));
product.setPrice(Math.ceil(product.getPrice() + desFee));
}
}
+16 -1
Ver Arquivo
@@ -36,7 +36,7 @@ public class ZsPrice {
return list;
}
public static List<Product> getSmPrice(int count, Double length, Double width, List<Product> list, Integer number, String[] craft, Product dto) {
public static List<Product> getSmPrice(int count, Double length, Double width, List<Product> list, Integer number, String[] craft, Product dto, String role) {
double price = 60;
double l = 438.0;
double w = 304.0;
@@ -68,6 +68,19 @@ public class ZsPrice {
if (number > 1) {
double desFee = 0;
if (role.indexOf("1045") == -1) {
if (number == 2) {
desFee = 5.75;
}
if (number == 3) {
desFee = 5.75 + 3.75;
}
if (number > 3) {
desFee = 5.75 + 3.75 + 2.75 * (number - 3);
}
price += desFee;
} else {
if (dto.getP() == 1 || dto.getP() == 2 || dto.getP() == 3) {
desFee = 3;
} else if (dto.getP() == 4) {
@@ -79,6 +92,8 @@ public class ZsPrice {
}
price += desFee * (number - 1);
}
}
Product pro = new Product();
pro.setPrice(Math.ceil(price));
+49 -8
Ver Arquivo
@@ -18,6 +18,7 @@
right: 205px;
top: -45px;
}
.layui-input-block {
min-height: 0px;
}
@@ -25,18 +26,23 @@
.ui-menu {
z-index: 999;
}
.layui-tab-card > .layui-tab-title {
background-color: #009688;
}
.layui-tab-content {
padding: 0px;
}
.layui-show {
height: 100%;
}
.layui-tab-title li .layui-tab-close {
margin-left: 30px;
}
a.site-demo-active {
cursor: pointer;
}
@@ -45,6 +51,7 @@ p {
font-size: 16px;
line-height: 30px;
}
.middle {
position: absolute;
top: 50%;
@@ -53,9 +60,11 @@ p {
text-align: center;
user-select: none;
}
.label {
font-size: 2.2rem;
}
.time {
color: #d99c3b;
text-transform: uppercase;
@@ -168,6 +177,7 @@ p {
--w: 140px;
--half: calc(var(--w) / 2);
}
#wrap {
height: 100vh;
display: flex;
@@ -209,6 +219,7 @@ p {
border: 20px solid;
border-color: transparent #000 transparent transparent;
}
.balloon:nth-child(1) {
background: rgba(182, 15, 97, 0.5);
box-shadow: inset 10px 10px 10px rgba(135, 11, 72, 0.5);
@@ -216,51 +227,62 @@ p {
/* animation-fill-mode: forwards; */
animation: rise 2s forwards, fly1 6s 4s ease-in-out infinite;
}
.balloon:nth-child(1):before {
border-color: transparent rgba(182, 15, 97, 0.7) transparent transparent;
}
.balloon:nth-child(2) {
background: rgba(45, 181, 167, 0.7);
box-shadow: inset 10px 10px 10px rgba(35, 140, 129, 0.7);
animation: rise 3s forwards, fly4 6s 3s ease-in-out infinite;
}
.balloon:nth-child(2):before {
border-color: transparent rgba(45, 181, 167, 0.7) transparent transparent;
}
.balloon:nth-child(3) {
background: rgba(190, 61, 244, 0.7);
box-shadow: inset 10px 10px 10px rgba(173, 14, 240, 0.7);
animation: rise 3.5s forwards, fly1 3s 3s ease-in-out infinite;
}
.balloon:nth-child(3):before {
border-color: transparent rgba(190, 61, 244, 0.7) transparent transparent;
}
.balloon:nth-child(4) {
background: rgba(180, 224, 67, 0.7);
box-shadow: inset 10px 10px 10px rgba(158, 206, 34, 0.7);
animation: rise 5s forwards, fly3 5s 5s ease-in-out infinite;
}
.balloon:nth-child(4):before {
border-color: transparent rgba(180, 224, 67, 0.7) transparent transparent;
}
.balloon:nth-child(5) {
background: rgba(242, 194, 58, 0.7);
box-shadow: inset 10px 10px 10px rgba(234, 177, 15, 0.7);
animation: rise 4s forwards, fly2 4s 4s ease-in-out infinite;
}
.balloon:nth-child(5):before {
border-color: transparent rgba(242, 194, 58, 0.7) transparent transparent;
}
.balloon:nth-child(6) {
background: rgba(242, 112, 45, 0.7);
box-shadow: inset 10px 10px 10px rgba(222, 85, 14, 0.7);
animation: rise 3s forwards, fly2 6s 5s ease-in-out infinite;
}
.balloon:nth-child(6):before {
border-color: transparent rgba(242, 112, 45, 0.7) transparent transparent;
}
@@ -325,6 +347,7 @@ p {
background-size: 100% 100%;
background-image: url("../images/birthDay.png");
}
#view {
position: absolute;
left: 650px;
@@ -380,7 +403,8 @@ p {
</div>
<div class="layui-layout layui-layout-admin">
<div class="layui-header" id="flake" style="background-color: #780f0f">
<div class="layui-logo" style="font-weight: bolder;color: orange;font-family: STXingkai;"><span style="font-size: 25px;"><i>lingtao·领淘</i></span></div>
<div class="layui-logo" style="font-weight: bolder;color: orange;font-family: STXingkai;"><span
style="font-size: 25px;"><i>lingtao·领淘</i></span></div>
<%-- <c:if test ="${ !sessionScope.USER_SESSION.role.contains('999')}"> --%>
<!-- 雪花背景 -->
<canvas id="canvas"></canvas>
@@ -421,7 +445,8 @@ p {
<a data-url="system/bug/addBug.jsp" data-id="问题反馈" data-title="问题反馈" class="site-demo-active">问题反馈</a>
</dd>
<dd>
<a data-url="system/user/updatePassword.jsp" data-id="修改密码" data-title="修改密码" class="site-demo-active">修改密码</a>
<a data-url="system/user/updatePassword.jsp" data-id="修改密码" data-title="修改密码"
class="site-demo-active">修改密码</a>
</dd>
<dd>
<a class="site-demo-active" href="${pageContext.request.contextPath}/SysUser/logout">退出</a>
@@ -450,22 +475,33 @@ p {
<c:if test="${Schild.parentId == 1}">
<c:if test="${Schild.thirdOrderName != null}">
<dd>
<a href="javascript:;">${Schild.thirdOrderName}<span class="layui-nav-more"></span></a>
<a href="javascript:;">${Schild.thirdOrderName}<span
class="layui-nav-more"></span></a>
<dl class="layui-nav-child">
<c:forEach items="${sessionScope.USERPERS_SESSION}" var="Tchild">
<c:forEach items="${sessionScope.USERPERS_SESSION}"
var="Tchild">
<c:if test="${Tchild.thirdParentId != null && Tchild.thirdParentId == Schild.perId}">
<dd><a data-url="${pageContext.request.contextPath}/${Tchild.url}" data-id="${Tchild.perName}" data-title="${Tchild.perName}" class="site-demo-active">${Tchild.perName}</a></dd>
<dd>
<a data-url="${pageContext.request.contextPath}/${Tchild.url}"
data-id="${Tchild.perName}"
data-title="${Tchild.perName}"
class="site-demo-active">${Tchild.perName}</a>
</dd>
</c:if>
</c:forEach>
</dl>
</dd>
</c:if>
<c:if test="${Schild.thirdParentId == null}">
<dd><a data-url="${pageContext.request.contextPath}/${Schild.url}" data-id="${Schild.perName}" data-title="${Schild.perName}" class="site-demo-active">${Schild.perName}</a></dd>
<dd><a data-url="${pageContext.request.contextPath}/${Schild.url}"
data-id="${Schild.perName}" data-title="${Schild.perName}"
class="site-demo-active">${Schild.perName}</a></dd>
</c:if>
</c:if>
<c:if test="${Schild.parentId != 1}">
<dd><a data-url="${pageContext.request.contextPath}/${Schild.url}" data-id="${Schild.perName}" data-title="${Schild.perName}" class="site-demo-active">${Schild.perName}</a></dd>
<dd><a data-url="${pageContext.request.contextPath}/${Schild.url}"
data-id="${Schild.perName}" data-title="${Schild.perName}"
class="site-demo-active">${Schild.perName}</a></dd>
</c:if>
</c:if>
</c:forEach>
@@ -519,6 +555,7 @@ p {
}
</script>
<script>
var system_isPdd = ${ sessionScope.USER_SESSION.role.contains('1045') };
// 不给客服看
/* if(${ !sessionScope.USER_SESSION.role.contains('999') }){ */
// 春节倒计时
@@ -566,6 +603,7 @@ p {
constructor() {
this.init(); //构造函数,调用定义好的init()方法;
}
init() {
this.position = { //雪花对象的位置;
x: Math.random() * width, //x坐标随机;
@@ -580,6 +618,7 @@ p {
b: Math.random() * 255,
}
}
draw() {//雪花绘制方法;
this.position.y++; //y坐标每次递增1像素;
this.position.x--;
@@ -609,6 +648,7 @@ p {
}
requestAnimationFrame(cartoon);//递归调用动画效果;
}
/* } */
@@ -922,7 +962,8 @@ p {
})
},
//右上角关闭回调
cancel: function(){}
cancel: function () {
}
});
}
}
+8 -8
Ver Arquivo
@@ -342,12 +342,12 @@
lay-skin="primary">
<!--<input type="checkbox" name="aotu" lay-filter="switch" value="印2色+凹凸" title="印2色+凹凸" class="aotu" lay-skin="primary">-->
</div>
<hr class="layui-bg-orange">
</form>
<form class="layui-form cq" style="display: none;">
<p>
工艺
</p>
<%-- <p>--%>
<%-- 工艺--%>
<%-- </p>--%>
<div class="layui-form-item yq">
<span class="ui_craftShua">
|&nbsp;&nbsp;&nbsp;&nbsp;
@@ -454,7 +454,7 @@
});
$("#number").on("input", function (e) {
var number = e.delegateTarget.value;
if ($("input[name='stickerKind']:checked").val() == "专版打印" && number > 1) {
if (window.parent.system_isPdd && $("input[name='stickerKind']:checked").val() == "专版打印" && number > 1) {
$("#ui_des").show();
} else {
$("#ui_des").hide();
@@ -559,7 +559,7 @@
$(".ui_cq").find(":input").attr("disabled", true);
$(".normal").hide();
$('.normal input').prop("checked", false);
if ($("#number").val() > 1) {
if (window.parent.system_isPdd && $("#number").val() > 1) {
$("#ui_des").show();
}
$(".ui_sm").hide();
@@ -1545,7 +1545,7 @@
if (kindValue == "拉丝金" || kindValue == "拉丝银" || kindValue == "PP合成纸") {
craftMo = ""
}
if (number > 1) {
if (window.parent.system_isPdd && number > 1) {
if ($("#desType option:selected").val() == "" || $("#desType option:selected").val() == null) {
layer.msg('请选择设计内容!', {offset: ['300px', '300px']}, function () {
});
@@ -1705,7 +1705,7 @@
span_result += kind + ' - ' + size + "厘米 - " + craft_list.join("-") + '\n';
if (number > 1) {
if (stickerKind == "专版打印") {
if (window.parent.system_isPdd && stickerKind == "专版打印") {
let numberType = $("#desType option:selected").text();
span_result += "款数:" + number + "-" + numberType + "\n";
}
+7 -5
Ver Arquivo
@@ -980,7 +980,7 @@
$("#number").on("input", function (e) {
var number = e.delegateTarget.value;
var kind = $("input[name='kind']:checked").val();
if ($("input[name='couponKind']:checked").val() == "少数量" && number > 1 && kind != "婚礼报纸" && kind != "菜单") {
if (window.parent.system_isPdd && $("input[name='couponKind']:checked").val() == "少数量" && number > 1 && kind != "婚礼报纸" && kind != "菜单") {
$("#ui_des").show();
} else {
$("#ui_des").hide();
@@ -1176,8 +1176,10 @@
if (kind != "婚礼报纸" || kind != "菜单") {
$("#ui_des").hide();
} else {
if (window.parent.system_isPdd) {
$("#ui_des").show();
}
}
form.render();
} else {
$("#ui_des").hide();
@@ -1764,7 +1766,7 @@
$(".ui_tzmp").find(":input").attr("disabled", true);
$(".kindValue6").hide();
$(".kindValue6").find(":input").attr("disabled", true);
if ($("#number").val() > 1) {
if (window.parent.system_isPdd && $("#number").val() > 1) {
$("#ui_des").show();
}
$("#kindValueForm").show();
@@ -1846,7 +1848,7 @@
$(".lessCountHideCraft").find(":input").attr("disabled", true);
$(".ui_yh").hide();
$(".ui_tz_yh").show();
if ($("#number").val() > 1) {
if (window.parent.system_isPdd && $("#number").val() > 1) {
$("#ui_des").show();
}
@@ -3031,7 +3033,7 @@
return false;
}
}
if (number > 1) {
if (window.parent.system_isPdd && number > 1) {
if ($("#desType option:selected").val() == "" || $("#desType option:selected").val() == null) {
if (kind != "婚礼报纸" && kind != "菜单") {
layer.msg('请选择设计内容!', {offset: ['300px', '300px']}, function () {
@@ -3297,7 +3299,7 @@
}
if (number > 1) {
if (couponKind == "少数量") {
if (window.parent.system_isPdd && couponKind == "少数量") {
let numberType = $("#desType option:selected").text();
span_result += "款数:" + number + "-" + numberType + "\n";
}
+1 -1
Ver Arquivo
@@ -192,7 +192,7 @@
});
$("#number").on("input", function (e) {
var number = e.delegateTarget.value;
if (number > 1) {
if (window.parent.system_isPdd && number > 1) {
$("#ui_des").show();
} else {
$("#ui_des").hide();
+2 -2
Ver Arquivo
@@ -171,7 +171,7 @@
$("#number").on("input", function (e) {
var number = e.delegateTarget.value;
if (number > 1 && $("input[name='stickerKind']:checked").val() == "专版打印") {
if (window.parent.system_isPdd && number > 1 && $("input[name='stickerKind']:checked").val() == "专版打印") {
$("#ui_des").show();
} else {
$("#ui_des").hide();
@@ -262,7 +262,7 @@
});
return false;
}
if (number > 1 && stickerKind == "专版打印") {
if (window.parent.system_isPdd && number > 1 && stickerKind == "专版打印") {
if ($("#desType option:selected").val() == "" || $("#desType option:selected").val() == null) {
layer.msg('请选择设计内容!', {offset: ['300px', '300px']}, function () {
});
+2 -2
Ver Arquivo
@@ -554,7 +554,7 @@
var number = $("#number").val();
let number_kindValue = $("input[name='kindValue']:checked").val();
let number_kind2Value = $("select[name='kind2Value'] option:selected").val();
if (number > 1 && ((number_kindValue == 0 && number_kind2Value == 0) || (number_kindValue == 1 && (number_kind2Value == 3 || number_kind2Value == 8 || number_kind2Value == 15)) || number_kindValue == 2)) {
if (window.parent.system_isPdd && number > 1 && ((number_kindValue == 0 && number_kind2Value == 0) || (number_kindValue == 1 && (number_kind2Value == 3 || number_kind2Value == 8 || number_kind2Value == 15)) || number_kindValue == 2)) {
$("#ui_des").show();
} else {
$("#ui_des").hide();
@@ -1644,7 +1644,7 @@
if (number > 1) {
if ($("#ui_des").css("display") != "none") {
if (window.parent.system_isPdd && $("#ui_des").css("display") != "none") {
let numberType = $("#desType option:selected").text();
span_result += "款数:" + number + "-" + numberType + "\n";
}
+6 -1
Ver Arquivo
@@ -223,7 +223,7 @@
})
$("#number").on("input", function (e) {
var number = e.delegateTarget.value;
if (number > 1) {
if (window.parent.system_isPdd && number > 1) {
$("#ui_des").show();
} else {
$("#ui_des").hide();
@@ -257,6 +257,11 @@
});
return false;
}
if ((length < 2 || width < 2)) {
layer.msg("尺寸不能小于2*2 cm", {offset: ['300px', '300px']}, function () {
});
return false;
}
}
var kindValueData = {
1: "0.38mm亮光",
+3 -1
Ver Arquivo
@@ -225,7 +225,7 @@
$("#number").on("input", function (e) {
var number = e.delegateTarget.value;
var kind = $("input[name='kind']:checked").val();
if (number > 1) {
if (window.parent.system_isPdd && number > 1) {
$("#ui_des").show();
} else {
$("#ui_des").hide();
@@ -609,8 +609,10 @@
var span_result = '特种纸名片(不配绳子)' + "-不覆膜-" + kindValueSelect + "-" + size
+ "厘米-(同款内容) \n" + "工艺 :" + arr + "\n"
if (number > 1) {
if (window.parent.system_isPdd) {
let numberType = $("#desType option:selected").text();
span_result += "款数:" + number + "-" + numberType + "\n";
}
for (let i = 0; i < data.length; i++) {
span_result += number + '款 各' + data[i].count + "张,共" + data[i].price + "元" + '\n'
data[i].number = number;
+5 -5
Ver Arquivo
@@ -348,7 +348,6 @@
lay-skin="primary">
<!--<input type="checkbox" name="aotu" lay-filter="switch" value="印2色+凹凸" title="印2色+凹凸" class="aotu" lay-skin="primary">-->
</div>
<hr class="layui-bg-orange">
</form>
<form class="layui-form cq" style="display: none;">
<p>
@@ -391,6 +390,7 @@
<input type="radio" name="craftshua" value="模切(切穿排废)" title="模切(切穿排废)" checked>
</div>
</form>
<form class="layui-form">
<div class="layui-form-item">
<button class="layui-btn" lay-submit="" lay-filter="acount_btn" id="queryCondBtn">计算</button>
@@ -460,7 +460,7 @@
});
$("#number").on("input", function (e) {
var number = e.delegateTarget.value;
if ($("input[name='stickerKind']:checked").val() == "专版打印" && number > 1) {
if (window.parent.system_isPdd && $("input[name='stickerKind']:checked").val() == "专版打印" && number > 1) {
$("#ui_des").show();
} else {
$("#ui_des").hide();
@@ -566,7 +566,7 @@
$(".ui_cq").find(":input").attr("disabled", true);
$(".normal").hide();
$('.normal input').prop("checked", false);
if ($("#number").val() > 1) {
if (window.parent.system_isPdd && $("#number").val() > 1) {
$("#ui_des").show();
}
$(".ui_sm").hide();
@@ -1567,7 +1567,7 @@
if (kindValue == "拉丝金" || kindValue == "拉丝银" || kindValue == "PP合成纸") {
craftMo = ""
}
if (number > 1) {
if (window.parent.system_isPdd && number > 1) {
if ($("#desType option:selected").val() == "" || $("#desType option:selected").val() == null) {
layer.msg('请选择设计内容!', {offset: ['300px', '300px']}, function () {
});
@@ -1733,7 +1733,7 @@
span_result += kind + ' - ' + size + "厘米 - " + craft_list.join("-") + '\n';
if (number > 1) {
if (stickerKind == "专版打印") {
if (window.parent.system_isPdd && stickerKind == "专版打印") {
let numberType = $("#desType option:selected").text();
span_result += "款数:" + number + "-" + numberType + "\n";
}
+1
Ver Arquivo
@@ -116,6 +116,7 @@
{{# }); }}
</script>
<script>
console.log(window.parent.system_isPdd)
/* function videoClick(){
//iframe层
layer.open({