Ver código fonte

2019_09_12 14:48

xs 5 anos atrás
pai
commit
c34b33214f

+ 4 - 1
src/main/webapp/webpage/modules/sg/free/avgpage.jsp

@@ -39,7 +39,10 @@
     </div>
     <div class="layui-form-item">
         <div class="layui-input-block">
-            <input type="radio" name="code" value="人工费" title="人工费" checked="checked">
+            <input type="radio" name="code" value="直接工程费" title="直接工程费" checked="checked">
+        </div>
+        <div class="layui-input-block">
+            <input type="radio" name="code" value="人工费" title="人工费" >
         </div>
         <div class="layui-input-block">
             <input type="radio" name="code" value="承包分采购" title="承包分采购">

+ 2 - 0
src/main/webapp/webpage/modules/sg/project/management.jsp

@@ -123,6 +123,8 @@
                         </div>
                         <table id="table1" class="layui-table" lay-filter="table1"></table>
                         <div id="page"><div>
+                    </div>
+                </div>
                 </div>
             </div>
         </div>

+ 2 - 1
src/main/webapp/webpage/modules/sg/projecttem/addItem.js

@@ -30,10 +30,11 @@ function doSubmit(obj){ // 添加项目提交方法
              $("#inputForm").submit();
           }else{
               alert(data.msg);
-              throw SyntaxError;
+             layer.alert(data.msg, {icon: 6});
           }
       }
    });
+   return false;
 }
 $(document).ready(function() {
     //点击触发选择文件input框

+ 3 - 3
src/main/webapp/webpage/modules/sg/projecttem/addItem2Form.js

@@ -174,13 +174,13 @@ function okSubmit() {
             if(data.code == 1){
                 // this.formdata=new FormData();
                 layer.msg(data.msg,{icon: 6,offset:['40%','40%']},function(){
-                     window.location.href="${ctx}/project/tem/list?projectId="+data.id;
+                    window.location.href="${ctx}/project/tem/list?projectId="+data.id;
                 });
             }else {
-                // this.formdata=new FormData();
-                layer.msg(data.msg,{icon: 5});
+                layer.alert(data.msg, {icon: 6})
             }
         }
     });
+    return false;
 }
 </script>

+ 1 - 1
src/main/webapp/webpage/modules/sg/projecttem/manageList.jsp

@@ -23,7 +23,7 @@
 <body style="height:100%">
 <input style="display: none;" id="addtext" value=""/>
 <div class="layui-main-bgc">
-    <%--<sys:message content="${message}"/>--%>
+    <sys:message content="${message}"/>
     <div class="layui-row layui-col-space15">
         <div class="layui-col-md12">
             <div class="layui-card">