修改插旗价格,修改腰封价格
Esse commit está contido em:
@@ -437,12 +437,13 @@ public class ProductService {
|
||||
}
|
||||
}
|
||||
|
||||
if ("覆哑膜".equals(dto.getCraftMo()) && !"1".equals(kind)) {
|
||||
if ("覆哑膜".equals(dto.getCraftMo()) && !"1".equals(kind) && !("插旗".equals(dto.getStickerKind()) && "铜版纸不干胶".equals(kind))) {
|
||||
for (Product product : priceList) {
|
||||
product.setPrice(Math.ceil(product.getPrice() * 1.2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (priceList.size() >= 3) {
|
||||
priceList = priceList.subList(0, 3);
|
||||
}
|
||||
@@ -506,6 +507,11 @@ public class ProductService {
|
||||
}
|
||||
}
|
||||
}
|
||||
if ("覆哑膜".equals(dto.getCraftMo()) && !"1".equals(kind) && "铜版纸不干胶".equals(kind)) {
|
||||
for (Product product : priceList) {
|
||||
product.setPrice(Math.ceil(product.getPrice() * 1.3));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(dto.getCraft())) {
|
||||
|
||||
@@ -421,6 +421,7 @@
|
||||
<%@include file="/views/copyResult.jsp" %>
|
||||
<script>
|
||||
setNumberOptions();
|
||||
|
||||
function setNumberOptions() {
|
||||
let html = '';
|
||||
if (window.parent.system_isPdd) {
|
||||
@@ -943,13 +944,16 @@
|
||||
if (data.value == "铜版纸不干胶") {
|
||||
$(".ui_guagua2").show();
|
||||
$(".ui_guagua2").removeAttr('disabled');
|
||||
|
||||
$(".fm").show();
|
||||
$(".fm").find(":input").attr("disabled", false);
|
||||
$(".fm input[name='craftMo'][value='覆亮膜']").attr("checked", true)
|
||||
} else if (data.value == "250克白卡纸对裱") {
|
||||
$(".fm input").removeAttr('checked');
|
||||
$(".ui_guagua2").hide();
|
||||
$(".caiqie").show();
|
||||
$(".cha_fm").show();
|
||||
$(".cha_fm").find(":input").attr("disabled", false);
|
||||
$(".cha_fm input[name='craftMo'][value='覆哑膜']").attr("checked", true)
|
||||
$(".peishua").hide();
|
||||
$(".peishua").find(":input").attr("disabled", true);
|
||||
$("input[name='craft']").prop('checked', false);
|
||||
@@ -1412,34 +1416,12 @@
|
||||
|
||||
if (kindValue == "封口贴铜版纸不干胶") {
|
||||
size = $("#ui_size").val();
|
||||
$(".tj").hide();
|
||||
$(".tj").find(":input").attr("disabled", true);
|
||||
$(".fm").hide();
|
||||
$(".fm").find(":input").attr("disabled", true);
|
||||
$(".yb").hide();
|
||||
$(".yb").find(":input").attr("disabled", true);
|
||||
$(".at").hide();
|
||||
$(".at").find(":input").attr("disabled", true);
|
||||
|
||||
} else if (stickerKind == "插旗") {
|
||||
size = $("#ui_cqSize").val();
|
||||
$(".tj").hide();
|
||||
$(".tj").find(":input").attr("disabled", true);
|
||||
$(".fm").hide();
|
||||
$(".fm").find(":input").attr("disabled", true);
|
||||
$(".yb").hide();
|
||||
$(".yb").find(":input").attr("disabled", true);
|
||||
$(".at").hide();
|
||||
$(".at").find(":input").attr("disabled", true);
|
||||
|
||||
} else if (stickerKind == "双面印刷不干胶") {
|
||||
size = $("#ui_doubleSize").val();
|
||||
$(".tj").hide();
|
||||
$(".tj").find(":input").attr("disabled", true);
|
||||
$(".fm").hide();
|
||||
$(".fm").find(":input").attr("disabled", true);
|
||||
$(".yb").hide();
|
||||
$(".yb").find(":input").attr("disabled", true);
|
||||
$(".at").hide();
|
||||
$(".at").find(":input").attr("disabled", true);
|
||||
}
|
||||
|
||||
let TJValue = $("input[name='craftTang']:checked").val()
|
||||
@@ -1686,11 +1668,14 @@
|
||||
} else {
|
||||
span_result = "";
|
||||
if (stickerKind == "插旗") {
|
||||
craftMo = "模切-" + $("input[name='craftShua']:checked").val();
|
||||
// craftMo = "模切-" + $("input[name='craftShua']:checked").val();
|
||||
craft_list.push("模切")
|
||||
if ($("input[name='craftShua']:checked").val() != "") {
|
||||
craft_list.push($("input[name='craftShua']:checked").val());
|
||||
}
|
||||
if ($(".fm input[name='craftMo']:checked").val() != "") {
|
||||
craft_list.push($(".fm input[name='craftMo']:checked").val());
|
||||
}
|
||||
} else if (stickerKind == "双面印刷不干胶") {
|
||||
craftMo = "模切-覆哑膜";
|
||||
craft_list.push("模切-覆哑膜")
|
||||
@@ -1708,9 +1693,13 @@
|
||||
}
|
||||
yaqian = $("select[name='toothpick_size'] option:selected").val() + '厘米';
|
||||
craft_list.push(yaqian)
|
||||
|
||||
}
|
||||
if (craftMo != "") {
|
||||
craft_list.push(craftMo)
|
||||
}
|
||||
craft_list.push(...yinbai)
|
||||
craft_list.push(...craftMo)
|
||||
//craft_list.push(...craftMo)
|
||||
craft_list.push(...aotu)
|
||||
craft_list.push(...tangjin)
|
||||
craftList = craftMo + aotu + tangjin + yinbai;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário