|
@@ -27,23 +27,26 @@
|
|
for(var i = 0;i < tdlen;i++){
|
|
for(var i = 0;i < tdlen;i++){
|
|
var status = $("#projectFilingbatchRelations"+i+"_status").val();
|
|
var status = $("#projectFilingbatchRelations"+i+"_status").val();
|
|
var boxNum = $("#projectFilingbatchRelations"+i+"_boxNum").val();
|
|
var boxNum = $("#projectFilingbatchRelations"+i+"_boxNum").val();
|
|
- var reboxNum = $("#projectFilingbatchRelations"+i+"_reBoxNum").val();
|
|
|
|
|
|
+ var parentId = $("#projectFilingbatchRelations"+i+"_parentId").val();
|
|
|
|
+ //var reboxNum = $("#projectFilingbatchRelations"+i+"_reBoxNum").val();
|
|
var projectName = $("#projectFilingbatchRelations"+i+"_projectName").val();
|
|
var projectName = $("#projectFilingbatchRelations"+i+"_projectName").val();
|
|
- if(undefined != status && null !=status && ''!= status){
|
|
|
|
- if(5 == status){
|
|
|
|
- if('' != boxNum && undefined!= boxNum && null != boxNum){
|
|
|
|
- if(boxNum != reboxNum){
|
|
|
|
- layer.msg(projectName +":两次案卷号不相同,请重新填写", { icon: 2, offset: "error", time:1000 });
|
|
|
|
|
|
+ if("0" == parentId){
|
|
|
|
+ if(undefined != status && null !=status && ''!= status){
|
|
|
|
+ if(5 == status){
|
|
|
|
+ if('' != boxNum && undefined!= boxNum && null != boxNum){
|
|
|
|
+ /*if(boxNum != reboxNum){
|
|
|
|
+ layer.msg(projectName +":两次案卷号不相同,请重新填写", { icon: 2, offset: "error", time:1000 });
|
|
|
|
+ return false;
|
|
|
|
+ }*/
|
|
|
|
+ }else{
|
|
|
|
+ layer.msg("请输入项目 "+projectName+" 的案卷号", { icon: 2, offset: "error", time:1000 });
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- }else{
|
|
|
|
- layer.msg("请输入项目 "+projectName+" 的案卷号", { icon: 2, offset: "error", time:1000 });
|
|
|
|
- return false;
|
|
|
|
}
|
|
}
|
|
|
|
+ }else{
|
|
|
|
+ layer.msg("请给项目 "+projectName+" 选择审批状态", { icon: 2, offset: "error", time:1000 });
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
- }else{
|
|
|
|
- layer.msg("请给项目 "+projectName+" 选择审批状态", { icon: 2, offset: "error", time:1000 });
|
|
|
|
- return false;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -280,12 +283,12 @@
|
|
<table id="contentTable" class="table table-bordered table-condensed can-edit">
|
|
<table id="contentTable" class="table table-bordered table-condensed can-edit">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
- <th style="text-align: center">归档项目编号</th>
|
|
|
|
- <th style="text-align: center" >归档项目名称</th>
|
|
|
|
- <th style="text-align: center">报告号</th>
|
|
|
|
- <th style="text-align: center" >案卷号</th>
|
|
|
|
|
|
+ <th width="20%" style="text-align: center">归档项目编号</th>
|
|
|
|
+ <th width="20%" style="text-align: center" >归档项目名称</th>
|
|
|
|
+ <th width="20%" style="text-align: center">报告号</th>
|
|
|
|
+ <th width="20%" style="text-align: center" >案卷号</th>
|
|
<%-- <th style="text-align: center" >确认案卷号</th>--%>
|
|
<%-- <th style="text-align: center" >确认案卷号</th>--%>
|
|
- <th style="text-align: center" >审批</th>
|
|
|
|
|
|
+ <th width="20%" style="text-align: center" >审批</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody id="workClientLinkmanList">
|
|
<tbody id="workClientLinkmanList">
|
|
@@ -297,11 +300,13 @@
|
|
<td class="hide">
|
|
<td class="hide">
|
|
<input id="projectFilingbatchRelations${index.index}_id" name="projectFilingbatchRelations[${index.index}].id" type="hidden" value="${project.id}"/>
|
|
<input id="projectFilingbatchRelations${index.index}_id" name="projectFilingbatchRelations[${index.index}].id" type="hidden" value="${project.id}"/>
|
|
<input id="projectFilingbatchRelations${index.index}_delFlag" name="projectFilingbatchRelations[${index.index}].delFlag" type="hidden" value="0"/>
|
|
<input id="projectFilingbatchRelations${index.index}_delFlag" name="projectFilingbatchRelations[${index.index}].delFlag" type="hidden" value="0"/>
|
|
|
|
+ <input id="projectFilingbatchRelations${index.index}_parentId" type="hidden" value="${project.parentId}"/>
|
|
</td>
|
|
</td>
|
|
<td class="hide">
|
|
<td class="hide">
|
|
<input id="projectFilingbatchRelations${index.index}_status" name="projectFilingbatchRelations[${index.index}].status" type="hidden" value=""/>
|
|
<input id="projectFilingbatchRelations${index.index}_status" name="projectFilingbatchRelations[${index.index}].status" type="hidden" value=""/>
|
|
</td>
|
|
</td>
|
|
<td style="background-color: #f1f1f1;">
|
|
<td style="background-color: #f1f1f1;">
|
|
|
|
+ <div></div>
|
|
<span class="treeTable-icon open" style="padding-left: 10px;"><i class="layui-icon layui-icon-triangle-d"></i></span> ${project.projectId}
|
|
<span class="treeTable-icon open" style="padding-left: 10px;"><i class="layui-icon layui-icon-triangle-d"></i></span> ${project.projectId}
|
|
<%-- <span style="padding-left: 10px;padding-right: 10px;float: left">-</span>${project.projectId}--%>
|
|
<%-- <span style="padding-left: 10px;padding-right: 10px;float: left">-</span>${project.projectId}--%>
|
|
<%-- <input style="cursor:Pointer" type="text" value=" - ${project.projectId}" readonly="readonly" class="form-control"/>--%>
|
|
<%-- <input style="cursor:Pointer" type="text" value=" - ${project.projectId}" readonly="readonly" class="form-control"/>--%>
|
|
@@ -330,12 +335,13 @@
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<tr class="${project.parentId}" id="workAccountList${index.index}">
|
|
<tr class="${project.parentId}" id="workAccountList${index.index}">
|
|
<td class="hide">
|
|
<td class="hide">
|
|
|
|
+ <input id="projectFilingbatchRelations${index.index}_parentId" type="hidden" value="${project.parentId}"/>
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<input type="text" readonly value="${project.projectId}" style="text-align: center" class="form-control"/>
|
|
<input type="text" readonly value="${project.projectId}" style="text-align: center" class="form-control"/>
|
|
</td>
|
|
</td>
|
|
- <td>
|
|
|
|
- <input type="text" readonly value="${project.projectReportNumber}" style="text-align: center" class="form-control"/>
|
|
|
|
|
|
+ <td style="background-color: #f1f1f1;display:table-cell; vertical-align:middle;text-align: center">
|
|
|
|
+ <a class="attention-info" title="${project.projectReportNumber}" href="javascript:void(0);" onclick="preview('预览', '${project.url}','80%', '80%')">${project.projectReportNumber}</a>
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<input type="text" readonly value="" class="form-control"/>
|
|
<input type="text" readonly value="" class="form-control"/>
|
|
@@ -344,8 +350,8 @@
|
|
<td>
|
|
<td>
|
|
<input type="text" readonly value="" class="form-control"/>
|
|
<input type="text" readonly value="" class="form-control"/>
|
|
</td>
|
|
</td>
|
|
- <td>
|
|
|
|
- <input type="text" readonly value="" class="form-control"/>
|
|
|
|
|
|
+ <td style="background-color: #f1f1f1;display:table-cell; vertical-align:middle;text-align: center">
|
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${project.url}');" class="op-btn op-btn-add"> 下载 </a>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</c:otherwise>
|
|
</c:otherwise>
|