修改uv工艺价格

This commit is contained in:
2025-09-10 16:56:49 +08:00
parent fbc6db905f
commit f0024fd1b7
6 changed files with 19 additions and 9 deletions
+8 -2
View File
@@ -150,7 +150,7 @@
<input type="checkbox" name="craft" lay-filter="craftZhuan" value="烫金" title="烫金"
class="craftZhuan">
<div class="layui-inline tjselect" style="width:60px; display:none">
<select name="craft" class="layui-select " disabled>
<select name="craft" class="layui-select" lay-filter="tjselect" disabled>
<option value="烫金">烫金</option>
<option value="烫银">烫银</option>
<option value="烫蓝">烫蓝</option>
@@ -260,12 +260,16 @@
let data = {
proTypeValue: $('input[name="kind"]:checked').val()
}
if (data.proTypeValue == '金属标' && (craftMo == '双色' || craftMo == '彩色(三色)')) {
data.craftValue = craftMo;
}
if (data.proTypeValue == 'UV转印贴') {
data.craftValue = craft;
}
if (craft == "烫金") {
data.craftValue = $(".tjselect option:selected").val();
}
// 清空轮播图
$("#carousel").empty();
$("#remark").empty();
@@ -302,7 +306,9 @@
//建造实例
ins = carousel.render({});
form.on("select(tjselect)", function (data) {
getProductImage()
})
form.on("radio(craftMo)", function (data) {
getProductImage()
})