新增电线胶材质
This commit is contained in:
@@ -4818,7 +4818,11 @@ public class ProductService {
|
||||
};
|
||||
int[] counts = {500, 1000, 2000, 3000, 5000, 10000, 20000};
|
||||
priceList = getAreaCenterPrice(counts, count, width * length, prices, areas, number);
|
||||
|
||||
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));
|
||||
}
|
||||
return priceList;
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<div class="layui-form-item">
|
||||
<select name="kind" class="select" lay-search>
|
||||
<option value="1">PP合成</option>
|
||||
<option value="2">PET哑银</option>
|
||||
</select>
|
||||
</div>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user