This commit is contained in:
2025-04-08 16:08:05 +08:00
parent 6a3a71e03a
commit 4d3b80fcc2
2 changed files with 34 additions and 1 deletions
+17 -1
View File
@@ -324,7 +324,11 @@
<input type="text" placeholder="尺寸" autocomplete="off" name="n_mq_size"
class="layui-input">
</span>
<span class="huaxian" style="display: none">
<input type="checkbox" name="craftQieType" value="划线" title="划线">
</span>
</div>
<div class="layui-form-item tj">
<span style="float:left;margin-top:12px">烫金 </span>
<input type="checkbox" name="craftTang" lay-filter="switch" class="pvcHide tang" value="纯烫金" title="纯烫金"
@@ -486,6 +490,7 @@
//$('input[class = pvcHide]').prop('checked', false);
$(".ui_guagua").hide();
$(".huaxian").hide();
$(".ui_guagua2").hide();
$(".ui_guagua").prop('disabled', 'disabled');
$(".ui_guagua2").prop('disabled', 'disabled');
@@ -901,12 +906,21 @@
if (data.value == "0") {
$(".ui_guagua").show();
$(".ui_guagua").removeAttr('disabled');
} else {
$(".ui_guagua").hide();
$(".ui_guagua").prop('disabled', 'disabled');
$(".ui_guaguasize").hide();
}
if (data.value == 0 || data.value == 1) {
$(".huaxian").show();
$(".huaxian").removeAttr('disabled');
} else {
$(".huaxian").hide();
$(".huaxian").prop('disabled', 'disabled');
}
$(".peishua").show();
$(".peishua").find(":input").attr("disabled", false);
@@ -1690,6 +1704,9 @@
craft_list.push(yinbai)
}
}
if ($("input[name='craftQieType']:checked").val() != null) {
craft_list.push($("input[name='craftQieType']:checked").val())
}
var yaqian = ''
if (stickerKind == "插旗") {
if ($("input[name='craft']:checked").val() != null) {
@@ -1698,7 +1715,6 @@
yaqian = $("select[name='toothpick_size'] option:selected").val() + '厘米';
craft_list.push(yaqian)
}
craft_list.push(...yinbai)
craft_list.push(...craftMo)
craft_list.push(...aotu)
craft_list.push(...tangjin)