新增打码个数

This commit is contained in:
2026-01-20 14:25:20 +08:00
parent 01d022ec76
commit 694f46ba75
+5 -9
View File
@@ -530,7 +530,8 @@
<span style="flex-shrink: 0">个数:</span>
<select name="dama" class="select dama" lay-filter="dama">
<option value="1" selected>1</option>
<%-- <option value="2">2</option>--%>
<option value="2">2</option>
<option value="3">3</option>
</select>
</div>
</div>
@@ -2980,8 +2981,8 @@
// 存酒卡选择打码数量2的时候,显示编码种类(4/28改为所有产品)
// 选择打码数量2的时候,显示编码种类,并取消禁用(上面有禁用操作)(4/28)
if (data.value == 2) {
$(".bianma").show();
$(".bianma").find(":input").attr("disabled", false);
// $(".bianma").show();
// $(".bianma").find(":input").attr("disabled", false);
} else {
$(".bianma").hide();
$(".bianma").find(":input").attr("disabled", true);
@@ -3118,12 +3119,7 @@
if (kindValue2 != 10) {
if ($(this).val() === '打码') {
if ($(".dama").val() == 2) {
arr.push($(this).val() + '(' + $(".dama").val() + '组,' + $("select[name='pcount'] option:selected").val() + $("select[name='macolor'] option:selected").val() + ' ,' + $(".bianmaSelect").val() + ')');
} else {
arr.push($(this).val() + '(' + $(".dama").val() + '组' + $("select[name='pcount'] option:selected").val() + $("select[name='macolor'] option:selected").val() + ')');
}
arr.push($(this).val() + '(' + $(".dama").val() + '组' + $("select[name='pcount'] option:selected").val() + $("select[name='macolor'] option:selected").val() + ')');
}
if (kind != 1 && ($(this).val() === '单面烫金' || $(this).val() === '双面烫金')) {
$(".sizeTang").find(":input").attr("disabled", false);