修改金属徽章价格
This commit is contained in:
@@ -4829,7 +4829,7 @@ public class ProductService {
|
||||
priceList = getAreaCenterPrice(counts, count, width * length, prices, areas, number);
|
||||
|
||||
for (Product product : priceList) {
|
||||
if("2".equals(dto.getKind())){
|
||||
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));
|
||||
@@ -5564,6 +5564,10 @@ public class ProductService {
|
||||
if (width <= 4 && length <= 4) {
|
||||
base_price = 4;
|
||||
}
|
||||
if (width > 6 || length > 6) {
|
||||
base_price = 5.5;
|
||||
mo_price = 300;
|
||||
}
|
||||
if (base_price < 4.5) {
|
||||
if (count > 100 && count <= 500) {
|
||||
base_price = 3.5;
|
||||
|
||||
@@ -1560,6 +1560,13 @@
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if(kindValue == "15"){
|
||||
if ((size.split("*")[0] > 42 || size.split("*")[1] > 28.5) && (size.split("*")[0] > 28.5 || size.split("*")[1] > 42)) {
|
||||
layer.msg("草香纸不干胶-彩色印刷尺寸不能超过42*28.5 cm", {offset: ['300px', '300px']}, function () {
|
||||
});
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (kindValue == "16" && TJValue == "彩色印刷") {
|
||||
if ((size.split("*")[0] > 42 || size.split("*")[1] > 28) && (size.split("*")[0] > 28 || size.split("*")[1] > 42)) {
|
||||
layer.msg("草香纸不干胶-彩色印刷尺寸不能超过42*28 cm", {offset: ['300px', '300px']}, function () {
|
||||
|
||||
Reference in New Issue
Block a user