修改卡片300克打孔工艺
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
}
|
||||
|
||||
#z4_craft .layui-form-select .layui-edge {
|
||||
right: 40px;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
#peijian_ui .layui-form-select .layui-edge {
|
||||
@@ -500,10 +500,16 @@
|
||||
<input type="checkbox" name="craft" class="dk disab max cjkDisab"
|
||||
lay-filter="switch" value="打孔" title="打孔">
|
||||
</span>
|
||||
<%-- <div class="layui-inline edge dakongHide" style="width:60px;display:none">--%>
|
||||
<%-- <select name="dakong" class="select dakong" lay-filter="dakong">--%>
|
||||
<%-- <option value="1" selected>1</option>--%>
|
||||
<%-- <option value="2">2</option>--%>
|
||||
<%-- </select>--%>
|
||||
<%-- </div>--%>
|
||||
<div class="layui-inline edge dakongHide" style="width:60px;display:none">
|
||||
<select name="dakong" class="select dakong" lay-filter="dakong">
|
||||
<option value="1" selected>1</option>
|
||||
<option value="2">2</option>
|
||||
<select class="select wkong layui-inline">
|
||||
<option value="3mm" selected>3mm</option>
|
||||
<option value="5mm">5mm</option>
|
||||
</select>
|
||||
</div>
|
||||
<input type="checkbox" name="craft" class="yj disab max cjkDisab" lay-filter="switch"
|
||||
@@ -699,6 +705,12 @@
|
||||
|
||||
<input type="checkbox" name="craft" class="nomq" lay-filter="switchCrafts" value="打孔"
|
||||
title="打孔"/>
|
||||
<div class="layui-inline dakonghide" style="width:60px;display:none">
|
||||
<select class="select wkong">
|
||||
<option value="3mm" selected>3mm</option>
|
||||
<option value="5mm">5mm</option>
|
||||
</select>
|
||||
</div>
|
||||
<input type="checkbox" name="craft" value="打码" lay-filter="switchCrafts" title="打码"/>
|
||||
<div class="layui-inline maxianhide" style="width:60px;display:none">
|
||||
<select name="maxian" class="select maxian">
|
||||
@@ -1307,6 +1319,7 @@
|
||||
$("#z4_craft .dadianxianhide").hide();
|
||||
$("#z4_craft .yahenghide").hide();
|
||||
$("#z4_craft .maxianhide").hide();
|
||||
$("#z4_craft .dakonghide").hide();
|
||||
$("#z4_craft .caiqie").prop("checked", true);
|
||||
form.on('checkbox(switchMQ)', function (data) {
|
||||
let mqLength = $("#z4_craft .mq:checked").length;
|
||||
@@ -1350,6 +1363,13 @@
|
||||
$("#z4_craft .maxianhide").hide();
|
||||
}
|
||||
}
|
||||
if (data.value == "打孔") {
|
||||
if ($(data.elem).is(":checked")) {
|
||||
$("#z4_craft .dakonghide").show();
|
||||
} else {
|
||||
$("#z4_craft .dakonghide").hide();
|
||||
}
|
||||
}
|
||||
form.render('checkbox');
|
||||
});
|
||||
} else {
|
||||
@@ -1839,14 +1859,7 @@
|
||||
})
|
||||
} else if (data.value == 8) {
|
||||
$('.ui_door_fm').prop('checked', true);
|
||||
form.on('checkbox(switch)', function (switchData) {
|
||||
if (!switchData.elem.checked && switchData.value == "双面覆哑膜") {
|
||||
layer.msg('门挂牌不能取消 [覆膜] 工艺!', {offset: ['300px', '300px']}, function () {
|
||||
});
|
||||
$('.ui_door_fm').prop('checked', true);
|
||||
form.render('checkbox');
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
if (data.value == 13) {
|
||||
$("input[name='fmType']").prop('checked', false);
|
||||
@@ -2626,10 +2639,16 @@
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// 产品品种
|
||||
var kind = $('input[name="kind"]:checked').val();
|
||||
|
||||
if (kind == 8 && !data.elem.checked && data.value == "双面覆哑膜") {
|
||||
layer.msg('门挂牌不能取消 [覆膜] 工艺!', {offset: ['300px', '300px']}, function () {
|
||||
});
|
||||
$('.ui_door_fm').prop('checked', true);
|
||||
form.render('checkbox');
|
||||
}
|
||||
// 产品品种
|
||||
|
||||
// 腰封4*4cm内无法选择【单面覆膜】工艺
|
||||
/* if (data.value == '单面覆膜') {
|
||||
if(data.elem.checked){
|
||||
@@ -3071,6 +3090,11 @@
|
||||
}
|
||||
|
||||
}
|
||||
if ($(this).val() === '打孔') {
|
||||
|
||||
arr.push("打孔" + $(".wkong:enabled option:selected").val())
|
||||
return;
|
||||
}
|
||||
if ($(this).val() === '尼龙绳') {
|
||||
arr.push($(".select_nilongshen select[name='craft'] option:selected").val() + "-" + $("select[name='shen_color'] option:selected").val())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user