新增冰箱贴雕刻工艺
Цей коміт міститься в:
@@ -82,8 +82,14 @@
|
||||
<input type="checkbox" name="craft" lay-filter="ui_craft" value="单面" title="单面" checked>
|
||||
</div>
|
||||
<div class="layui-input-block">
|
||||
工艺:
|
||||
雕刻工艺:
|
||||
<input type="checkbox" name="craft" lay-filter="ui_craft" value="激光" title="激光" checked>
|
||||
<div class="layui-inline jiguang_select" style="width: 120px">
|
||||
<select name="craft" class="select">
|
||||
<option value="标准">标准</option>
|
||||
<option value="滴胶">滴胶</option>
|
||||
</select>
|
||||
</div>
|
||||
<input type="checkbox" name="craft" lay-filter="ui_craft" value="CNC" title="CNC">
|
||||
</div>
|
||||
<div style="font-size: 14px; color: red">现货背卡尺寸:115*95mm</div>
|
||||
@@ -333,6 +339,14 @@
|
||||
$(".xhbeika").find("input").prop("disabled", false)
|
||||
}
|
||||
}
|
||||
if (data.value == "激光") {
|
||||
$(".jiguang_select").hide();
|
||||
$(".jiguang_select").find("select").prop("disabled", true)
|
||||
if (data.elem.checked) {
|
||||
$(".jiguang_select").show();
|
||||
$(".jiguang_select").find("select").prop("disabled", false)
|
||||
}
|
||||
}
|
||||
form.render();
|
||||
})
|
||||
|
||||
@@ -406,6 +420,12 @@
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (craft.includes("激光")) {
|
||||
let jiguang_select = $(".jiguang_select select[name='craft'] option:selected").val();
|
||||
if (jiguang_select != "标准") {
|
||||
craft.push(jiguang_select);
|
||||
}
|
||||
}
|
||||
$.ajax({
|
||||
url: "${path}/getThanSum",
|
||||
type: "GET",
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача