|
|
@@ -43,8 +43,21 @@
|
|
|
<input type="radio" name="kindValue" lay-filter="kindValue" value="4" title="900克双胶纸">
|
|
|
<input type="radio" name="kindValue" lay-filter="kindValue" value="10" title="轻羽(1.5mm厚度)">
|
|
|
<input type="radio" name="kindValue" lay-filter="kindValue" value="11" title="简单(1.0mm厚度)">
|
|
|
+ <input type="radio" name="kindValue" lay-filter="kindValue" value="12" title="透明PVC">
|
|
|
</div>
|
|
|
<div class="tagOther">
|
|
|
+ <div class="layui-form-item pvcCraft" style="display: none">
|
|
|
+ <p>
|
|
|
+ 规格
|
|
|
+ </p>
|
|
|
+ <div class="layui-form-item ">
|
|
|
+ <select name="size1" class="select">
|
|
|
+ <option value="2mm">2mm</option>
|
|
|
+ <option value="3mm">3mm</option>
|
|
|
+ <option value="5mm">5mm</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<p>
|
|
|
尺寸(CM/厘米) <span style="font-size: 14px; color: red">输入格式: 长 * 宽</span>
|
|
|
</p>
|
|
|
@@ -72,6 +85,9 @@
|
|
|
<option value="1000">1000</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
+ <div class="layui-form-item pvcCraft" style="display: none">
|
|
|
+ <input type="text" name="count" placeholder="请输入整数" class="layui-input" autocomplete="off">
|
|
|
+ </div>
|
|
|
<p>款数</p>
|
|
|
<div class="layui-form-item">
|
|
|
<input type="text" placeholder="请输入整数" autocomplete="off"
|
|
|
@@ -111,7 +127,6 @@
|
|
|
<option value="有色加凹凸">有色加激凸/有色加压凹</option>
|
|
|
</select>
|
|
|
</span>
|
|
|
- <%-- <input type="radio" name="kind2Value" value="单面烫黄金+凹凸" title="单面烫黄金+凹凸">--%>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-form-item fixcount" id="fixcount" style="display: none">
|
|
|
@@ -132,14 +147,8 @@
|
|
|
<span style="float:left;margin-top:10px">击凸 : </span>
|
|
|
<input type="radio" name="craft" lay-filter="switch" value="击凸" title="击凸">
|
|
|
<div style="display: none" id="jtcolor">
|
|
|
-
|
|
|
- <%-- <input type="checkbox" name="jtcolor" lay-filter="color" value="红色" title="红色" checked>--%>
|
|
|
- <%-- <input type="checkbox" name="jtcolor" lay-filter="color" value="绿色" title="绿色">--%>
|
|
|
- <%-- <input type="checkbox" name="jtcolor" lay-filter="color" value="紫色" title="紫色">--%>
|
|
|
- <%-- <input type="checkbox" name="jtcolor" lay-filter="color" value="红褐色" title="红褐色">--%>
|
|
|
<input type="checkbox" name="jtcolor" lay-filter="color" value="金色" title="金色" checked>
|
|
|
<input type="checkbox" name="jtcolor" lay-filter="color" value="黑色" title="黑色">
|
|
|
- <%-- <input type="checkbox" name="jtcolor" lay-filter="color" value="青色" title="青色">--%>
|
|
|
<input type="checkbox" name="jtcolor" lay-filter="color" value="洋红色" title="洋红色">
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -154,6 +163,21 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
+ <div class="layui-form-item pvcCraft" id="pvcCraft" style="display: none">
|
|
|
+ <p>
|
|
|
+ 工艺
|
|
|
+ </p>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <span style="float:left;margin-top:10px">裁切: </span>
|
|
|
+ <input type="radio" name="craftQie" value="圆角" title="圆角" checked/>
|
|
|
+ <input type="radio" name="craftQie" value="异形模切" title="异形模切"/>
|
|
|
+ </div>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <span style="float:left;margin-top:10px">特殊工艺: </span>
|
|
|
+ <input type="radio" name="craftQieType" value="uv铺白" title="uv铺白" checked/>
|
|
|
+ <input type="radio" name="craftQieType" value="专色uv" title="专色uv"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<hr>
|
|
|
<div class="layui-form-item">
|
|
|
@@ -197,6 +221,9 @@
|
|
|
$(".fixcount").hide();
|
|
|
$(".fixcount").find(":input").attr("disabled", true);
|
|
|
$(".fixcount").find("select").attr("disabled", true);
|
|
|
+ $(".pvcCraft").hide();
|
|
|
+ $(".pvcCraft").find(":input").attr("disabled", true);
|
|
|
+ $(".pvcCraft").find("select").attr("disabled", true);
|
|
|
$("#jtcolor").hide();
|
|
|
$("#tangcolor").hide();
|
|
|
$("#yaao").prop("checked", true);
|
|
|
@@ -206,6 +233,10 @@
|
|
|
$(".fixcount").find(":input").attr("disabled", false);
|
|
|
$(".fixcount").find("select").attr("disabled", false);
|
|
|
$("#size").val("9*9").prop("readonly", true);
|
|
|
+ } else if (kindValueData.value == 12) {
|
|
|
+ $(".pvcCraft").show();
|
|
|
+ $(".pvcCraft").find(":input").attr("disabled", false);
|
|
|
+ $(".pvcCraft").find("select").attr("disabled", false);
|
|
|
} else {
|
|
|
$(".diycount").show();
|
|
|
$(".diycount").find(":input").attr("disabled", false);
|
|
|
@@ -388,12 +419,28 @@
|
|
|
return false;
|
|
|
}
|
|
|
var number = $("#number").val();
|
|
|
+
|
|
|
+ if (kindValue == "12") {
|
|
|
+
|
|
|
+ if ((size.split("*")[0] < 5 || size.split("*")[1] < 5)) {
|
|
|
+ layer.msg("【PVC】最小尺寸5*5!", {offset: ['300px', '300px']}, function () {
|
|
|
+ });
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if ((size.split("*")[0] > 10 || size.split("*")[1] > 10)) {
|
|
|
+ layer.msg("【PVC】最大尺寸10*10!", {offset: ['300px', '300px']}, function () {
|
|
|
+ });
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
kindValueData = {
|
|
|
3: "350克铜版纸",
|
|
|
6: "600克铜版纸",
|
|
|
4: "900克双胶纸",
|
|
|
10: "轻羽",
|
|
|
- 11: "简单"
|
|
|
+ 11: "简单",
|
|
|
+ 12: "透明PVC"
|
|
|
};
|
|
|
$.ajax({
|
|
|
url: "${path}/getThanSum",
|
|
|
@@ -415,6 +462,12 @@
|
|
|
var span_result = '杯垫 - ' + kindValueData[kindValue] + ' - ' + size + '厘米\n'
|
|
|
if (kindValue == "3" || kindValue == "4" || kindValue == "6") {
|
|
|
span_result += "工艺: " + craftQie + ', ' + arr + "\n";
|
|
|
+ } else if (kindValue == "12") {
|
|
|
+ let craftQie = $("input[name='craftQie']:checked").val();
|
|
|
+ let craftQieType = $("input[name='craftQieType']:checked").val();
|
|
|
+ let size1 = $("select[name='size1'] option:selected").val();
|
|
|
+ let craft_list = ['规格' + size1, craftQie, craftQieType];
|
|
|
+ span_result += "工艺: " + craft_list.join(",") + "\n";
|
|
|
} else {
|
|
|
let aotu = $("input[name='aotu']:checked").val();
|
|
|
let craft = $("input[name='craft']:checked").val();
|