新增特种子工艺
This commit is contained in:
@@ -198,7 +198,11 @@
|
|||||||
if (kindValue == "2") {
|
if (kindValue == "2") {
|
||||||
size = $("#size1").val();
|
size = $("#size1").val();
|
||||||
}
|
}
|
||||||
|
if (kindValue == 2) {
|
||||||
|
tangjin = "";
|
||||||
|
}
|
||||||
kindValue = kindData[kindValue];
|
kindValue = kindData[kindValue];
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "${path}/getThanSum",
|
url: "${path}/getThanSum",
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
|||||||
@@ -496,7 +496,7 @@
|
|||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (craftShua.length > 0 && !craftShua.includes("双面贴") && !craftShua.includes("烫画") && !craftShua.includes("冷转印") && !$("input[name='craft'][value='刮板']")[0].checked && (size.split("*")[0] > 42 || size.split("*")[1] > 28.5) && (size.split("*")[0] > 28.5 || size.split("*")[1] > 42)) {
|
if (craftShua.length > 0 && !craftShua.includes("哑光") && !craftShua.includes("双面贴") && !craftShua.includes("烫画") && !craftShua.includes("冷转印") && !$("input[name='craft'][value='刮板']")[0].checked && (size.split("*")[0] > 42 || size.split("*")[1] > 28.5) && (size.split("*")[0] > 28.5 || size.split("*")[1] > 42)) {
|
||||||
layer.msg("【UV转印贴】带工艺尺寸不能超过42*28.5 cm", {offset: ['300px', '300px']}, function () {
|
layer.msg("【UV转印贴】带工艺尺寸不能超过42*28.5 cm", {offset: ['300px', '300px']}, function () {
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -241,6 +241,9 @@
|
|||||||
<option value="2">2</option>
|
<option value="2">2</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="baimo" class="layui-inline" style="display: none;width: 90px">
|
||||||
|
<input type="checkbox" name="craft" lay-filter="mianka" value="白墨" title="白墨">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--<input type="checkbox" name="craft" lay-filter="switch" value="烫金/" title="烫金" class="hasCraft ui_ls_craft">
|
<!--<input type="checkbox" name="craft" lay-filter="switch" value="烫金/" title="烫金" class="hasCraft ui_ls_craft">
|
||||||
<input type="checkbox" name="craft" lay-filter="switch" value="击凸" title="击凸" class="hasCraft">
|
<input type="checkbox" name="craft" lay-filter="switch" value="击凸" title="击凸" class="hasCraft">
|
||||||
@@ -493,6 +496,12 @@
|
|||||||
$("#ui_ls_count").hide()
|
$("#ui_ls_count").hide()
|
||||||
$("#ui_ls_count").find(":input").attr("disabled", true);
|
$("#ui_ls_count").find(":input").attr("disabled", true);
|
||||||
}
|
}
|
||||||
|
$("#baimo").find(":input").attr("disabled", true);
|
||||||
|
$("#baimo").hide();
|
||||||
|
if (data.value == "金绒") {
|
||||||
|
$("#baimo").find(":input").attr("disabled", false);
|
||||||
|
$("#baimo").show();
|
||||||
|
}
|
||||||
form.render();
|
form.render();
|
||||||
})
|
})
|
||||||
form.on("checkbox(mianka)", function (data) {
|
form.on("checkbox(mianka)", function (data) {
|
||||||
@@ -512,6 +521,15 @@
|
|||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
const baimoCrafts = ["白墨", "单面烫金", "双面烫金"];
|
||||||
|
const baimoExist = baimoCrafts.filter(craft => craft_list.includes(craft));
|
||||||
|
if (baimoExist.length > 1) {
|
||||||
|
$(data.elem).next().attr("class", "layui-unselect layui-form-checkbox");
|
||||||
|
$(data.elem).prop("checked", false);
|
||||||
|
layer.msg("白墨 - 烫金不能同时选择", {offset: ['300px', '300px']}, function () {
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
const caiqie = ["圆角", "异形模切", "直角裁切"];
|
const caiqie = ["圆角", "异形模切", "直角裁切"];
|
||||||
const caiqieExist = caiqie.filter(craft => craft_list.includes(craft));
|
const caiqieExist = caiqie.filter(craft => craft_list.includes(craft));
|
||||||
if (caiqieExist.length > 1) {
|
if (caiqieExist.length > 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user