修改特种纸印刷颜色

This commit is contained in:
2026-06-12 10:36:05 +08:00
parent 3f08207873
commit 71c7722514
2 changed files with 13 additions and 9 deletions
@@ -1641,7 +1641,7 @@ public class ProductService {
craft_price += 4 * itemCount / 100;
}
if (craft_list.contains("印刷颜色") && dto.getCo_number() != null && dto.getCo_number() > 0) {
craft_price += sePrice * (dto.getCo_number());
craft_price += sePrice * (dto.getCo_number() > 1 ? 6 : dto.getCo_number());
}
if ((craft_list.contains("单面烫金") || craft_list.contains("双面烫金") || craft_list.contains("烫镭射银"))) {
double tangPrice = 45 + 0.1 * itemCount;
@@ -3188,6 +3188,7 @@ public class ProductService {
}
}
return chucklePrice(role, priceList);
// 便签本/联单
case "16":
@@ -6706,7 +6707,7 @@ public class ProductService {
craft_price += Math.ceil(0.15 * dto.getCount() * dto.getNumber());
}
int number = dto.getNumber();
double designFee = 5.5 * (number - 1);
double designFee = 5 * (number - 1);
double cardDesignFee = 0.0;
int card_num = getNum((length - 4) / 10, (width - 4) / 10);
if (card_num <= 1) {
@@ -6719,7 +6720,7 @@ public class ProductService {
cardDesignFee = 20.5;
}
Product pro = new Product();
pro.setPrice(Math.ceil(Math.max((base_price * num + cardDesignFee) * number, min_price) + designFee + bao_price + (craft_price == 0 ? craft_price : Math.max(craft_price, 5))));
pro.setPrice(Math.ceil(Math.max((base_price * num) * number, min_price) + designFee + bao_price + (craft_price == 0 ? craft_price : Math.max(craft_price, 5))));
pro.setCount(dto.getCount());
pro.setNumber(dto.getNumber());
pro.setWeight(df.format(dto.getNumber() * (length - 4) / 1000 * (width - 4) / 1000 * dto.getCount() * 0.2 * 0.86));