@@ -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="人工费" >
<input type="radio" name="code" value="承包分采购" title="承包分采购">
@@ -123,6 +123,8 @@
<table id="table1" class="layui-table" lay-filter="table1"></table>
<div id="page"><div>
@@ -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框
@@ -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})
</script>
@@ -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">