新增电线胶材质

This commit is contained in:
2026-01-04 14:18:20 +08:00
parent 4b1a74bf13
commit f4319613e4
2 changed files with 5 additions and 0 deletions
@@ -4818,7 +4818,11 @@ public class ProductService {
}; };
int[] counts = {500, 1000, 2000, 3000, 5000, 10000, 20000}; int[] counts = {500, 1000, 2000, 3000, 5000, 10000, 20000};
priceList = getAreaCenterPrice(counts, count, width * length, prices, areas, number); priceList = getAreaCenterPrice(counts, count, width * length, prices, areas, number);
for (Product product : priceList) { for (Product product : priceList) {
if("2".equals(dto.getKind())){
product.setPrice(Math.ceil(product.getPrice() * 1.1));
}
product.setWeight(df.format(number * length / 100 * width / 100 * product.getCount() * 0.3)); product.setWeight(df.format(number * length / 100 * width / 100 * product.getCount() * 0.3));
} }
return priceList; return priceList;
@@ -26,6 +26,7 @@
<div class="layui-form-item"> <div class="layui-form-item">
<select name="kind" class="select" lay-search> <select name="kind" class="select" lay-search>
<option value="1">PP合成</option> <option value="1">PP合成</option>
<option value="2">PET哑银</option>
</select> </select>
</div> </div>
<p> <p>