zhuyiyi пре 2 месеци
родитељ
комит
fc23b9d62e

+ 1 - 1
src/main/java/lingtao/net/service/ProductService.java

@@ -6085,7 +6085,7 @@ public class ProductService {
                 product.setPrice(price + ((dto.getN_mq_num() - 1) * base_price));
             }
         }
-        if ("彩色印刷+烫金/银".equals(dto.getCraftTang()) || "纯烫金".equals(dto.getCraftTang())) {
+        if ("彩色印刷+烫金/银".equals(dto.getCraftTang()) || "纯烫金".equals(dto.getCraftTang()) || "烫镭射银".equals(dto.getCraftTang())) {
             double[] basePrice = getStickersTanBasePrice(area * 10000);
             int[] bigCountArr = {500, 1000, 2000, 3000, 5000, 10000};
             if ("彩色印刷+烫金/银".equals(dto.getCraftTang())) {

+ 13 - 1
src/main/webapp/views/product/stickers.jsp

@@ -337,6 +337,9 @@
                 <span style="float:left;margin-top:12px">烫金 : </span>
                 <input type="checkbox" name="craftTang" lay-filter="switch" class="pvcHide tang" value="纯烫金" title="纯烫金"
                        lay-skin="primary">
+                <input type="checkbox" name="craftTang" lay-filter="switch" class="pvcHide tang" value="烫镭射银"
+                       title="烫镭射银"
+                       lay-skin="primary">
                 <input type="checkbox" name="craftTang" lay-filter="switch" class="tang" value="彩色印刷+烫金/银"
                        title="彩色印刷+烫金/银" lay-skin="primary">
             </div>
@@ -714,6 +717,8 @@
                         html += "广东:(5-6天发货) 中通 圆通 顺丰"
                     } else if (TJValue == "彩色印刷+烫金/银") {
                         html += "广东:(5-6天发货) 中通 圆通 顺丰"
+                    } else if (TJValue == '烫镭射银') {
+                        html += "广东: (2-3天发货) 中通 圆通 顺丰"
                     } else {
                         html += "广东:数量500-1000张(顺丰14点前当天发货  普通快递16点前当天发货) 中通 圆通 顺丰;<br>江苏:(3-4天发货) 韵达  顺丰;"
                     }
@@ -747,6 +752,8 @@
                         html += "广东:(5-6天发货) 中通 圆通 顺丰"
                     } else if (TJValue == "彩色印刷+烫金/银") {
                         html += "广东:(5-6天发货) 中通 圆通 顺丰"
+                    } else if (TJValue == '烫镭射银') {
+                        html += "广东: (2-3天发货) 中通 圆通 顺丰"
                     } else {
                         html += "广东:覆亮膜 (15点前上传系统的当天发货,15点后上传系统的隔天发货);<br>广东:覆哑膜 (2-3天发货);<br>广东:不覆膜 (48小时发货);"
                     }
@@ -757,6 +764,8 @@
                         html += "广东:(5-6天发货) 中通 圆通 顺丰"
                     } else if (TJValue == "彩色印刷+烫金/银") {
                         html += "广东:(5-6天发货) 中通 圆通 顺丰"
+                    } else if (TJValue == '烫镭射银') {
+                        html += "广东: (2-3天发货) 中通 圆通 顺丰"
                     } else {
                         html += "广东:透明亮膜(15点上传的当天发货,15点过后的隔天发);<br>广东:透明哑膜(2-3天发货);<br>广东:透明亮膜/哑膜印白(3-4天发货)"
                     }
@@ -1441,6 +1450,9 @@
                     data.craftValue = aotu;
                 }
             }
+            if (craftTang == '烫镭射银') {
+                data.craftValue = "4";
+            }
             if (nmq) {
                 data.craftValue = "内部模切";
             }
@@ -1454,7 +1466,7 @@
                     let html;
                     if (result.length > 0) {
                         for (let i = 0; i < result.length; i++) {
-                            html += '<div><img style="width:' + result[0]?.imgWidth + 'px" src="' + result[i]?.imgUrl + '"></div>';
+                            html += '<div><img style="width:100%;height: 100%;object-fit: contain" src="' + result[i].imgUrl + '"></div>';
                         }
 
                         $("#carousel").append(html);