新增银平光价格

This commit is contained in:
2025-11-18 14:32:53 +08:00
parent f74e72958f
commit 32310477d6
2 ha cambiato i file con 9 aggiunte e 3 eliminazioni
@@ -5927,6 +5927,9 @@ public class ProductService {
for (Product product : stickersList) { for (Product product : stickersList) {
product.setPrice(Math.ceil(product.getPrice() * 1.5)); product.setPrice(Math.ceil(product.getPrice() * 1.5));
} }
if ("印白墨".equals(dto.getYinbai())) {
stickersList = PriceUtils.getYinBaiPrice(stickersList, width, length);
}
break; break;
} }
} else { } else {
@@ -6196,6 +6199,9 @@ public class ProductService {
product.setPrice(Math.ceil(product.getPrice() * 1.1)); product.setPrice(Math.ceil(product.getPrice() * 1.1));
} }
} }
if ("印白墨".equals(dto.getYinbai())) {
stickersList = PriceUtils.getYinBaiPrice(stickersList, width, length);
}
break; break;
} }
} }
@@ -6271,7 +6277,7 @@ public class ProductService {
// } // }
// } // }
if ("印白墨".equals(dto.getYinbai()) && !"6".equals(kind) && !"拉丝银".equals(kind)) { if ("印白墨".equals(dto.getYinbai()) && !"6".equals(kind) && !"拉丝银".equals(kind) && !"银平光".equals(kind)) {
stickersList = new PVCStickersPrice().acountYinbaiPrice(length, width, stickersList); stickersList = new PVCStickersPrice().acountYinbaiPrice(length, width, stickersList);
} }
// 价格*款数 铜版纸放到外面执行 // 价格*款数 铜版纸放到外面执行
@@ -961,7 +961,7 @@
$('.at').prop('disabled', 'disabled'); $('.at').prop('disabled', 'disabled');
} }
// 透明不干胶带白墨工艺 // 透明不干胶带白墨工艺
if (data.value == 2 || data.value == 13 || data.value == 6 || data.value == "拉丝银") { if (data.value == 2 || data.value == 13 || data.value == 6 || data.value == "拉丝银" || data.value == "银平光") {
// 复选框的disabled // 复选框的disabled
$(".yb").show(); $(".yb").show();
$(".yb").find(":input").attr("disabled", false); $(".yb").find(":input").attr("disabled", false);
@@ -1813,7 +1813,7 @@
var yaqian = '' var yaqian = ''
if ($("input[name='yinbai']:checked").val() != "") { if ($("input[name='yinbai']:checked").val() != "") {
yaqian = $("input[name='yinbai']:checked").val(); yaqian = $("input[name='yinbai']:checked").val();
if (kindValue == 6 || kindValue == "拉丝银") { if (kindValue == 6 || kindValue == "拉丝银" || kindValue == "银平光") {
craft_list.push(yaqian) craft_list.push(yaqian)
} }
} }