修改扇子尺寸
This commit is contained in:
@@ -2764,10 +2764,11 @@ public class ProductService {
|
||||
priceList.add(dto2);
|
||||
} else if (dto.getProTypeLabel().equals("种子纸")) {
|
||||
int av_count = count;
|
||||
if ("4".equals(dto.getZ3type())) {
|
||||
count = Math.max(count, 300);
|
||||
}
|
||||
|
||||
double price = Math.ceil((length * width * count * 200) / 10000);//价格计算尺寸*数量*200/10000
|
||||
if ("4".equals(dto.getZ3type())) {
|
||||
price = Math.ceil((length * width * count * 140) / 10000);//价格计算尺寸*数量*200/10000
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(crafts) && Arrays.asList(crafts).contains("编码")) {//起步价10
|
||||
price += Math.max(count * 0.5, 10);
|
||||
@@ -2789,9 +2790,9 @@ public class ProductService {
|
||||
price += Math.ceil(Math.max(count * 0.15 * number, 5));
|
||||
}
|
||||
|
||||
if ("4".equals(dto.getZ3type())) {
|
||||
price += 100;
|
||||
}
|
||||
// if ("4".equals(dto.getZ3type())) {
|
||||
// price += 100;
|
||||
// }
|
||||
craft_list = crafts != null ? Arrays.asList(crafts) : new ArrayList<>();
|
||||
if (craft_list.size() > 0 && craft_list.contains("绳子")) {
|
||||
price += Math.max(5, Math.ceil(0.1 * number * count));
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<select name="kind2Value" id="kind4Value" lay-filter="kind2Value" class="select">
|
||||
<option value="0">20*28</option>
|
||||
<option value="1">24*33</option>
|
||||
<option value="2">21.5*34</option>
|
||||
<option value="2">22*34</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="layui-form-item kind4" style="display:none">
|
||||
|
||||
Reference in New Issue
Block a user