wupengfei 3 years ago
parent
commit
483823711a
1 changed files with 6 additions and 3 deletions
  1. 6 3
      application/store/view/integral_goods/form.html

+ 6 - 3
application/store/view/integral_goods/form.html

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