wupengfei 3 năm trước cách đây
mục cha
commit
d1f46e881e
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      application/store/view/integral_goods/form.html

+ 5 - 0
application/store/view/integral_goods/form.html

@@ -342,6 +342,11 @@
             }
         })
         if(error_detail !==0 )layer.msg('请完善规格信息');
+        if($("input[name='freight_type']") == 1 && $("select[name='freight_id']").val() == 0)
+        {
+            layer.msg('请选择运费模板');
+            return false;
+        }
         is_click = 0;
         $("#subForm").submit();
     })