修改卡片尺寸价格
This commit is contained in:
@@ -821,18 +821,7 @@ public class ProductService {
|
||||
int min = getNum(length, width);
|
||||
String[] kind_list = {"3", "4", "5", "7"};
|
||||
dto.setD("");
|
||||
if (!"7".equals(dto.getKind()) && !"8".equals(dto.getKind()) && !"1".equals(dto.getKind())) {
|
||||
if ((length < 4 || width < 4)) {
|
||||
Product product = new Product();
|
||||
product.setProTypeValue("3");
|
||||
product.setCount(dto.getCount());
|
||||
product.setKindValue("0");
|
||||
priceList = productMapper.getThanPrice(product);
|
||||
}
|
||||
}
|
||||
if (priceList.size() == 0) {
|
||||
priceList = getHekaPrice(min, dto, priceList, count);
|
||||
}
|
||||
priceList = getHekaPrice(min, dto, priceList, count);
|
||||
boolean isyaofeng = false;
|
||||
|
||||
double moqiePrice = 0;
|
||||
|
||||
@@ -3286,7 +3286,7 @@
|
||||
var w2 = Math.ceil(size.split("*")[0] / 5.4);
|
||||
var min = Math.min(l1 * w1, l2 * w2);
|
||||
if (couponKind == '常用种类') {
|
||||
if (kind ==1) {
|
||||
if (kind != 7 && kind != 8) {
|
||||
if ((size.split("*")[0] <= 9 && size.split("*")[1] <= 5.4) || (size.split("*")[0] <= 5.4 && size.split("*")[1] <= 9)) {
|
||||
if ((size.split("*")[0] < 4 || size.split("*")[1] < 4)) {
|
||||
layer.msg("[ 卡片 ]9*5.4 cm以内,尺寸小于4 cm请以 [ 插卡 - 异形插牌 ] 报价!", {offset: ['300px', '300px']}, function () {
|
||||
|
||||
Reference in New Issue
Block a user