修改腰封压痕价格,修改冷转印无法选择
Bu işleme şunda yer alıyor:
@@ -825,6 +825,7 @@ public class ProductService {
|
|||||||
boolean isyaofeng = false;
|
boolean isyaofeng = false;
|
||||||
|
|
||||||
double moqiePrice = 0;
|
double moqiePrice = 0;
|
||||||
|
craft_list = new ArrayList<>(craft_list);
|
||||||
if (!craft_list.contains("模切") && (craft_list.contains("压痕") || craft_list.contains("压点线"))) {
|
if (!craft_list.contains("模切") && (craft_list.contains("压痕") || craft_list.contains("压点线"))) {
|
||||||
//压1痕最小尺寸10.8*5.4cm,压2痕最小尺寸13.5*5.4CM按照贺卡模切价格算
|
//压1痕最小尺寸10.8*5.4cm,压2痕最小尺寸13.5*5.4CM按照贺卡模切价格算
|
||||||
boolean is_moqie = false;
|
boolean is_moqie = false;
|
||||||
@@ -838,6 +839,12 @@ public class ProductService {
|
|||||||
is_moqie = true;
|
is_moqie = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (craft_list.contains("压痕") && dto.getYaheng() == 3 || (craft_list.contains("压点线") && dto.getDadianxian() == 3)) {
|
||||||
|
craft_list.add("模切");
|
||||||
|
}
|
||||||
|
if (craft_list.contains("压痕") && dto.getYaheng() == 4 || (craft_list.contains("压点线") && dto.getDadianxian() == 4)) {
|
||||||
|
craft_list.add("模切");
|
||||||
|
}
|
||||||
if (is_moqie) {
|
if (is_moqie) {
|
||||||
isyaofeng = true;
|
isyaofeng = true;
|
||||||
for (int i = 0; i < dto.getCraft().length; i++) {
|
for (int i = 0; i < dto.getCraft().length; i++) {
|
||||||
@@ -4440,7 +4447,8 @@ public class ProductService {
|
|||||||
if (craLists.contains("手绘")) {
|
if (craLists.contains("手绘")) {
|
||||||
product.setPrice(150.00 * number);
|
product.setPrice(150.00 * number);
|
||||||
}
|
}
|
||||||
product.setWeight(df.format(0.075 * length * width * product.getCount() / 10000 * number + product.getCount() * wei));
|
product.setWeight(df.format(0.075 * length * width * product.getCount() / 10000 * number + product.getCount() * wei * number
|
||||||
|
));
|
||||||
}
|
}
|
||||||
return priceList;
|
return priceList;
|
||||||
case "卡贴":
|
case "卡贴":
|
||||||
|
|||||||
@@ -317,7 +317,9 @@
|
|||||||
$("#ui_des").hide();
|
$("#ui_des").hide();
|
||||||
$("input[name='craft'][value='烫金']").prop("checked", false);
|
$("input[name='craft'][value='烫金']").prop("checked", false);
|
||||||
$(".tjselect").hide();
|
$(".tjselect").hide();
|
||||||
|
$("#sehu_number").hide();
|
||||||
$(".tjselect select").prop("disabled", true);
|
$(".tjselect select").prop("disabled", true);
|
||||||
|
$("#sehu_number select").prop("disabled", true);
|
||||||
if (kindData.value == "金属标") {
|
if (kindData.value == "金属标") {
|
||||||
// 切换为品种单选框
|
// 切换为品种单选框
|
||||||
$(".metal").show();
|
$(".metal").show();
|
||||||
@@ -336,6 +338,7 @@
|
|||||||
$(".count").find(":input").attr("disabled", false);
|
$(".count").find(":input").attr("disabled", false);
|
||||||
$(".metal").hide();
|
$(".metal").hide();
|
||||||
$(".metal").find(":input").attr("disabled", true);
|
$(".metal").find(":input").attr("disabled", true);
|
||||||
|
$("input[name='craft']").prop("checked", false);
|
||||||
if ($("#number").val() > 1) {
|
if ($("#number").val() > 1) {
|
||||||
// $("#ui_des").show();
|
// $("#ui_des").show();
|
||||||
}
|
}
|
||||||
@@ -401,6 +404,7 @@
|
|||||||
if (data.value == "冷转印") {
|
if (data.value == "冷转印") {
|
||||||
if ($(data.elem).is(":checked")) {
|
if ($(data.elem).is(":checked")) {
|
||||||
$("#sehu_number").show();
|
$("#sehu_number").show();
|
||||||
|
$("#sehu_number select").prop("disabled", false);
|
||||||
} else {
|
} else {
|
||||||
$("#sehu_number").hide();
|
$("#sehu_number").hide();
|
||||||
}
|
}
|
||||||
|
|||||||
Yeni konuda referans
Bir kullanıcı engelle