|
|
@@ -1319,10 +1319,10 @@ public class ProductService {
|
|
|
if (!("6".equals(kind) && "无".equals(kind2))) {
|
|
|
if (num == 1) {
|
|
|
product.setPrice(Math.floor(product.getPrice() * 1.3));
|
|
|
- }
|
|
|
- if (num == 2) {
|
|
|
+ } else {
|
|
|
product.setPrice(Math.floor(product.getPrice() * 1.2));
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
if ("4".equals(kind)) {
|
|
|
product.setPrice(Math.floor(product.getPrice() * 1.3));
|
|
|
@@ -5653,6 +5653,9 @@ public class ProductService {
|
|
|
last_price = 1100;
|
|
|
}
|
|
|
price = PriceUtils.TableUnitPrice(area, prices, areas, last_price);
|
|
|
+ if (carft_list.contains("激光") && carft_list.contains("滴胶")) {
|
|
|
+ price = price * 1.3;
|
|
|
+ }
|
|
|
price = Math.max(price, min_price) + ((dto.getNumber() - 1) * 8);
|
|
|
weight = df.format(width * length * 4.17 * dto.getCount() * 0.1 * number / 1000 * Double.parseDouble(cailiao));
|
|
|
}
|
|
|
@@ -5677,7 +5680,11 @@ public class ProductService {
|
|
|
if ("2.3滴塑".equals(cailiao)) {
|
|
|
cailiao = "2.3";
|
|
|
}
|
|
|
- price = Math.ceil(Math.max((basePrice * count * number), min_price) + 8 * number);
|
|
|
+ price = basePrice * count * number;
|
|
|
+ if (carft_list.contains("激光") && carft_list.contains("滴胶")) {
|
|
|
+ price = price * 1.3;
|
|
|
+ }
|
|
|
+ price = Math.ceil(Math.max((price), min_price) + 8 * number);
|
|
|
weight = df.format(width * length * 4.17 * dto.getCount() * number * 0.1 / 100000 * Double.parseDouble(cailiao));
|
|
|
}
|
|
|
|
|
|
@@ -6242,7 +6249,7 @@ public class ProductService {
|
|
|
{79, 79, 79, 79, 79, 79, 79, 79, 79, 91, 92, 92, 95, 125, 135, 139, 152, 186, 340, 345, 435, 450},
|
|
|
{97, 97, 97, 97, 97, 97, 97, 97, 97, 114, 115, 116, 118, 158, 162, 162, 185, 194, 358, 363, 459, 465},
|
|
|
{153, 153, 153, 153, 153, 153, 153, 153, 153, 169, 171, 172, 175, 234, 251, 256, 286, 291, 480, 490, 620, 635},
|
|
|
- {250, 250, 250, 250, 250, 250, 250, 250, 250, 266, 273, 275, 278, 330, 360, 370, 429, 442, 640, 655, 825, 877},
|
|
|
+ {250, 250, 250, 250, 250, 250, 250, 250, 250, 266, 273, 275, 278, 330, 380, 390, 429, 442, 640, 655, 825, 877},
|
|
|
{370, 370, 370, 370, 370, 370, 370, 370, 370, 371, 372, 373, 375, 480, 500, 515, 545, 632, 800, 886, 1030, 1240},
|
|
|
{510, 510, 510, 510, 510, 510, 510, 510, 510, 589, 600, 605, 610, 750, 800, 820, 932, 1022, 1160, 1458, 1488, 2000},
|
|
|
{945, 945, 945, 945, 945, 945, 945, 945, 945, 1030, 1040, 1045, 1050, 1200, 1440, 1460, 1798, 2000, 2400, 2950, 3012, 4000},
|