修改提示

This commit is contained in:
2026-03-04 14:45:47 +08:00
parent a204336b58
commit b66c025cf8
3 changed files with 19 additions and 36 deletions
+6 -2
View File
@@ -1424,7 +1424,7 @@
$("#z4_craft").find(":input").attr("disabled", true);
$("#peijian_ui .scolor").hide();
$("#peijian_ui").find(":input").attr("disabled", true);
if (data.value == 2) {
if (data.value == 2 && couponKind != "少数量") {
$("#peijian_ui form")[0].reset();
$("#peijian_ui").show();
$("#peijian_ui input").attr("disabled", false);
@@ -3157,7 +3157,11 @@
return;
}
if ($(this).val() === '配尼龙绳' || $(this).val() === '穿尼龙绳') {
arr.push($(this).val() + "-" + $("select[name='shen_color'] option:selected").val())
let shenColor = $("select[name='shen_color'] option:selected").val();
if (couponKind == "少数量") {
shenColor = $("#lesspeijian select[name='shen_color'] option:selected").val();
}
arr.push($(this).val() + "-" + shenColor)
return;
}
if ($(this).val() === '流苏') {