修改特种纸印刷颜色
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -200,7 +200,10 @@
|
||||
</select>
|
||||
<span class="printColor" style="display: none;align-items: center;">
|
||||
<input type="checkbox" name="craft" lay-filter="mianka" value="印刷颜色" title="印刷颜色" checked disabled>
|
||||
<input type="text" name="co_number" class="layui-input" value="1">
|
||||
<select name="co_number" class="layui-select">
|
||||
<option value="1">单色印刷</option>
|
||||
<option value="2">彩色印刷</option>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
@@ -902,7 +905,7 @@
|
||||
} else if ($(this).val() == "压凹" || $(this).val() == "击凸") {
|
||||
arrs.push($("#color_type select option:selected").val() + $(this).val());
|
||||
} else if ($(this).val() == "印刷颜色") {
|
||||
arrs.push($(this).val() + $(".printColor input[name='co_number']").val());
|
||||
arrs.push( $(".printColor select[name='co_number'] option:selected").text());
|
||||
} else {
|
||||
arrs.push($(this).val());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user