소스 검색

标准复核打分添加一列最高分

[user3] 3 년 전
부모
커밋
3db1f165ed

+ 14 - 3
src/main/webapp/webpage/modules/bzshbExamin/bzshbExamineView.jsp

@@ -90,13 +90,19 @@
 			})
 			var length=$("#treeTable2 tbody tr").length;
 			var total=0;
+			var maxTotal=0;
 			for (var i=0;i<length;i++){
-				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").html();
+				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#deduct").html();
+				var zhiMax=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").html();
 				if (undefined!=zhi && ''!=zhi){
 					total=total+parseInt(zhi);
 				}
+				if (undefined!=zhiMax && ''!=zhiMax){
+					maxTotal=maxTotal+parseInt(zhiMax);
+				}
 			}
 			$("#total").html(total);
+			$("#maxTotal").html(maxTotal);
         });
 
         function insertTitle(tValue){
@@ -1515,6 +1521,7 @@
 							<%--<th width="25%">序号</th>--%>
 							<th width="40%">符合内容及评分标准</th>
 							<th width="10%">自校</th>
+							<th width="10%">最高分</th>
 							<th width="20%">打分</th>
 							<th >打分意见</th>
 
@@ -1535,15 +1542,19 @@
 									<i class="fa fa-check"></i>
 								</td>
 								<td class="input-td">
-									<span id="maxDeduct">${workReviewAudit.deduct}</span>
+									<span id="maxDeduct">${workReviewAudit.maxDeduct}</span>
+								</td>
+								<td class="input-td">
+									<span id="deduct">${workReviewAudit.deduct}</span>
 								</td>
 								<td class="input-td">
-									<input id="deductOpinion" title="${workReviewAudit.deductOption}" style="background-color: #fff;text-align: center"  placeholder="请输入审核意见" readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
+									<input id="deductOpinion" title="${workReviewAudit.deductOption}" style="background-color: #fff;text-align: center" readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
 								</td>
 							</tr>
 						</c:forEach>
 						<tr>
 							<td colspan="2" style="font-weight: bold">总分</td>
+							<td id="maxTotal"></td>
 							<td id="total" >
 							</td>
 							<td></td>

+ 23 - 9
src/main/webapp/webpage/modules/bzshbExamin/bzshbExamineform.jsp

@@ -96,6 +96,15 @@
 				$(id).removeAttr("class","hide");
 
 			})
+			var maxTotal=0;
+			var length=$("#treeTable2 tbody tr").length;
+			for (var i=0;i<length;i++){
+				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+				if (undefined!=zhi && ''!=zhi){
+					maxTotal=maxTotal+parseInt(zhi);
+				}
+			}
+			$("#maxTotal").html(maxTotal);
         });
 
         function insertTitle(tValue){
@@ -145,7 +154,7 @@
 			obj.value = obj.value.replace(".","$#$").replace(/\./g,"").replace("$#$",".");
 			obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3'); //只能输入两个小数
 		}
-		function reportMaxDeduct(maxDeduct,id,parentId,obj){
+		function reportMaxDeduct(deduct,id,parentId,obj){
 			<%--console.log(${fns:toJson(list)})--%>
 			<%--var dataList = ${fns:toJson(list)}--%>
 			<%--var maxDeductTotal = 0;--%>
@@ -159,7 +168,7 @@
 			<%--	//     maxDeductTotal = dataList[i].maxDeduct;--%>
 			<%--	// }--%>
 			<%--}--%>
-			if(isNaN(maxDeduct)){
+			if(isNaN(deduct)){
 				parent.layer.msg("输入的不是数字格式",{icon:2});
 				$(obj).val("")
 				return false;
@@ -167,7 +176,7 @@
 			$.ajax({
 				url:"${ctx}/workreview/workReviewStandard/reportMaxDeduct",
 				data:{
-					"maxDeduct":maxDeduct,
+					"maxDeduct":deduct,
 					"id":id,
 				},
 				type:"post",
@@ -175,7 +184,7 @@
 					if(data.status){
 						var length=$("#treeTable2 tbody tr").length;
 						for (var i=0;i<length;i++){
-							var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+							var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#deduct").val();
 							if (undefined!=zhi && ''!=zhi){
 								total=total+parseInt(zhi);
 							}
@@ -1559,7 +1568,8 @@
 										<%--<th width="25%">序号</th>--%>
 									<th width="40%">符合内容及评分标准</th>
 									<th width="10%">自校</th>
-									<th width="20%"><span class="require-item">*</span>打分</th>
+									<th width="10%">最高分</th>
+									<th width="10%"><span class="require-item">*</span>打分</th>
 									<th >打分意见</th>
 
 										<%--<th width="15%">操作</th>--%>
@@ -1579,17 +1589,21 @@
 											<i class="fa fa-check"></i>
 										</td>
 										<td class="input-td">
-											<input id="maxDeduct" htmlEscape="false"  class="form-control layui-input judgment" onChange="if(this.value)reportMaxDeduct(this.value,'${workReviewAudit.id}','${workReviewAudit.parent.id}',this)" placeholder="${workReviewAudit.maxDeduct}" />
+											<input id="maxDeduct" readonly="true" htmlEscape="false" class="form-control layui-input" style="background-color: #fff;text-align: center" value="${workReviewAudit.maxDeduct}" />
+										</td>
+										<td class="input-td">
+											<input id="deduct" htmlEscape="false"  class="form-control layui-input judgment" onChange="if(this.value)reportMaxDeduct(this.value,'${workReviewAudit.id}','${workReviewAudit.parent.id}',this)" placeholder="请输入" />
 										</td>
 										<td class="input-td">
-											<input id="deductOpinion" placeholder="请输入打分意见" readonly="true" style="background-color: #FFFFFF;" name="deductOpinion" value="" onclick="openDeductInfo(this.value,'${workReviewAudit.id}',this)" class="form-control layui-input judgment"/>
+											<input id="deductOpinion" placeholder="请输入打分意见" readonly="true" style="background-color: #FFFFFF;" name="deductOpinion" value="" onclick="openDeductInfo(this.value,'${workReviewAudit.id}',this)" class="form-control layui-input"/>
 										</td>
 									</tr>
 								</c:forEach>
 								<tr>
 									<td colspan="2" style="font-weight: bold">总分</td>
-									<td style="padding: 0px;">
-										<input id="total" name="reviewScore" htmlEscape="false" readonly="true"  class="form-control layui-input ">
+									<td id="maxTotal"></td>
+									<td  class="input-td">
+										<input id="total" name="reviewScore" htmlEscape="false" readonly="true"  style="background-color: #FFFFFF;"  class="form-control layui-input ">
 									</td>
 									<td></td>
 								</tr>

+ 20 - 6
src/main/webapp/webpage/modules/ruralprojectrecords/ruralporjectmessage/projectcontentinfo/new/projectRecordsMessageAudit.jsp

@@ -116,6 +116,15 @@
 				$(id).removeAttr("class","hide");
 
 			})
+			var maxTotal=0;
+			var length=$("#treeTable2 tbody tr").length;
+			for (var i=0;i<length;i++){
+				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+				if (undefined!=zhi && ''!=zhi){
+					maxTotal=maxTotal+parseInt(zhi);
+				}
+			}
+			$("#maxTotal").html(maxTotal);
         });
 
         function insertTitle(tValue){
@@ -166,7 +175,7 @@
 			obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3'); //只能输入两个小数
 		}
 		// 确认对话框
-		function reportMaxDeduct(maxDeduct,id,parentId,obj){
+		function reportMaxDeduct(deduct,id,parentId,obj){
         	<%--console.log(${fns:toJson(list)})--%>
 			<%--var dataList = ${fns:toJson(list)}--%>
 			<%--var maxDeductTotal = 0;--%>
@@ -180,7 +189,7 @@
 			<%--	//     maxDeductTotal = dataList[i].maxDeduct;--%>
 			<%--	// }--%>
 			<%--}--%>
-			if(isNaN(maxDeduct)){
+			if(isNaN(deduct)){
 				parent.layer.msg("输入的不是数字格式",{icon:2});
 				$(obj).val("")
 				return false;
@@ -188,7 +197,7 @@
 			$.ajax({
 				url:"${ctx}/workreview/workReviewStandard/reportMaxDeduct",
 				data:{
-					"maxDeduct":maxDeduct,
+					"maxDeduct":deduct,
 					"id":id,
 				},
 				type:"post",
@@ -196,7 +205,7 @@
 					if(data.status){
 						var length=$("#treeTable2 tbody tr").length;
 						for (var i=0;i<length;i++){
-							var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+							var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#deduct").val();
 							if (undefined!=zhi && ''!=zhi){
 								total=total+parseInt(zhi);
 							}
@@ -1149,7 +1158,8 @@
 													<%--<th width="25%">序号</th>--%>
 												<th width="40%">符合内容及评分标准</th>
 												<th width="10%">自校</th>
-												<th width="20%"><span class="require-item">*</span>打分</th>
+												<th width="10%">最高分</th>
+												<th width="10%"><span class="require-item">*</span>打分</th>
 												<th >打分意见</th>
 
 													<%--<th width="15%">操作</th>--%>
@@ -1168,7 +1178,10 @@
 														<i class="fa fa-check"></i>
 													</td>
 													<td class="input-td">
-														<input id="maxDeduct" htmlEscape="false"  class="form-control layui-input number judgment" onChange="if(this.value)reportMaxDeduct(this.value,'${workReviewAudit.id}','${workReviewAudit.parent.id}',this)" placeholder="${workReviewAudit.maxDeduct}" />
+														<input id="maxDeduct" readonly="true" htmlEscape="false" class="form-control layui-input" style="background-color: #fff;text-align: center" value="${workReviewAudit.maxDeduct}" />
+													</td>
+													<td class="input-td">
+														<input id="deduct" htmlEscape="false"  class="form-control layui-input number judgment" onChange="if(this.value)reportMaxDeduct(this.value,'${workReviewAudit.id}','${workReviewAudit.parent.id}',this)" placeholder="请输入" />
 													</td>
 													<td class="input-td">
 														<input id="deductOpinion" placeholder="请输入打分意见" readonly="true" style="background-color: #FFFFFF;" name="deductOpinion" value="" onclick="openDeductInfo(this.value,'${workReviewAudit.id}',this)" class="form-control layui-input"/>
@@ -1177,6 +1190,7 @@
 											</c:forEach>
 											<tr>
 												<td colspan="2" style="font-weight: bold">总分</td>
+												<td id="maxTotal"></td>
 												<td id="total"></td>
 												<td></td>
 											</tr>

+ 20 - 6
src/main/webapp/webpage/modules/ruralprojectrecords/ruralporjectmessage/projectcontentinfo/new/projectRecordsMessageAuditTwo.jsp

@@ -100,6 +100,15 @@
 				$(id).removeAttr("class","hide");
 
 			})
+			var maxTotal=0;
+			var length=$("#treeTable2 tbody tr").length;
+			for (var i=0;i<length;i++){
+				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+				if (undefined!=zhi && ''!=zhi){
+					maxTotal=maxTotal+parseInt(zhi);
+				}
+			}
+			$("#maxTotal").html(maxTotal);
         });
 
         function insertTitle(tValue){
@@ -143,7 +152,7 @@
             });
         }
 		// 确认对话框
-		function reportMaxDeduct(maxDeduct,id,parentId,obj){
+		function reportMaxDeduct(deduct,id,parentId,obj){
 			<%--console.log(${fns:toJson(list)})--%>
 			<%--var dataList = ${fns:toJson(list)}--%>
 			<%--var maxDeductTotal = 0;--%>
@@ -156,7 +165,7 @@
 			<%--	//     maxDeductTotal = dataList[i].maxDeduct;--%>
 			<%--	// }--%>
 			<%--}--%>
-			if(isNaN(maxDeduct)){
+			if(isNaN(deduct)){
 				parent.layer.msg("输入的不是数字格式",{icon:2});
 				$(obj).val("")
 				return false;
@@ -165,7 +174,7 @@
 			$.ajax({
 				url:"${ctx}/workreview/workReviewStandard/reportMaxDeduct",
 				data:{
-					"maxDeduct":maxDeduct,
+					"maxDeduct":deduct,
 					"id":id,
 				},
 				type:"post",
@@ -173,7 +182,7 @@
 					if(data.status){
 						var length=$("#treeTable2 tbody tr").length;
 						for (var i=0;i<length;i++){
-							var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+							var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#deduct").val();
 							if (undefined!=zhi && ''!=zhi){
 								total=total+parseInt(zhi);
 							}
@@ -993,7 +1002,8 @@
 													<%--<th width="25%">序号</th>--%>
 												<th width="40%">符合内容及评分标准</th>
 												<th width="10%">自校</th>
-												<th width="20%"><span class="require-item">*</span>打分</th>
+												<th width="10%">最高分</th>
+												<th width="10%"><span class="require-item">*</span>打分</th>
 												<th >打分意见</th>
 													<%--<th width="15%">操作</th>--%>
 											</tr>
@@ -1011,7 +1021,10 @@
 														<i class="fa fa-check"></i>
 													</td>
 													<td class="input-td">
-														<input id="maxDeduct" htmlEscape="false"  class="form-control layui-input number judgment" onChange="if(this.value)reportMaxDeduct(this.value,'${workReviewAudit.id}','${workReviewAudit.parent.id}',this)" placeholder="${workReviewAudit.maxDeduct}">
+														<input id="maxDeduct" readonly="true" htmlEscape="false" class="form-control layui-input" style="background-color: #fff;text-align: center" value="${workReviewAudit.maxDeduct}" />
+													</td>
+													<td class="input-td">
+														<input id="deduct" htmlEscape="false"  class="form-control layui-input number judgment" onChange="if(this.value)reportMaxDeduct(this.value,'${workReviewAudit.id}','${workReviewAudit.parent.id}',this)"   placeholder="请输入"/>
 													</td>
 													<td class="input-td">
 														<input id="deductOpinion" placeholder="请输入打分意见" readonly="true" style="background-color: #FFFFFF;" name="deductOpinion" value="" onclick="openDeductInfo(this.value,'${workReviewAudit.id}',this)" class="form-control layui-input"/>
@@ -1020,6 +1033,7 @@
 											</c:forEach>
 											<tr>
 												<td colspan="2" style="font-weight: bold">总分</td>
+												<td id="maxTotal"></td>
 												<td id="total"></td>
 												<td></td>
 

+ 16 - 5
src/main/webapp/webpage/modules/ruralprojectrecords/ruralporjectmessage/projectcontentinfo/projectRecordsMessageTwoView.jsp

@@ -50,13 +50,19 @@
 			}
 			var length=$("#treeTable2 tbody tr").length;
 			var total=0;
+			var maxTotal=0;
 			for (var i=0;i<length;i++){
-				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#deduct").val();
+				var zhiMax=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
 				if (undefined!=zhi && ''!=zhi){
 					total=total+parseInt(zhi);
 				}
+				if (undefined!=zhiMax && ''!=zhiMax){
+					maxTotal=maxTotal+parseInt(zhiMax);
+				}
 			}
 			$("#total").html(total);
+			$("#maxTotal").html(maxTotal);
 		});
 
 		function readOpenInfo(value) {
@@ -888,7 +894,8 @@
 									<%--<th width="25%">序号</th>--%>
 								<th width="40%">符合内容及评分标准</th>
 								<th width="10%">自校</th>
-								<th width="20%">打分</th>
+								<th width="10%">最高分</th>
+								<th width="10%">打分</th>
 								<th >打分意见</th>
 									<%--<th width="15%">操作</th>--%>
 							</tr>
@@ -906,16 +913,20 @@
 										<i class="fa fa-check"></i>
 									</td>
 									<td class="input-td">
-										<input id="maxDeduct" style="text-align: center" htmlEscape="false" readonly="true" class="form-control layui-input" value="${workReviewAudit.deduct}">
+										<input id="maxDeduct" readonly="true" htmlEscape="false" class="form-control layui-input" style="background-color: #fff;text-align: center" value="${workReviewAudit.maxDeduct}" />
+									</td>
+									<td class="input-td">
+										<input id="deduct" htmlEscape="false" readonly="true" style="text-align: center;background-color: #fff" class="form-control layui-input number"  value="${workReviewAudit.deduct}"/>
 									</td>
 									<td class="input-td">
-										<input id="deductOpinion" style="text-align: center" title="${workReviewAudit.deductOption}" readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
+										<input id="deductOpinion" title="${workReviewAudit.deductOption}" style="text-align: center;background-color: #fff"   readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
 									</td>
 								</tr>
 							</c:forEach>
 							<tr>
 								<td colspan="2" style="font-weight: bold">总分</td>
-								<td id="total" style="background-color: #F1f1f1"></td>
+								<td id="maxTotal"></td>
+								<td id="total" ></td>
 								<td style="background-color: #F1f1f1"></td>
 
 							</tr>

+ 15 - 4
src/main/webapp/webpage/modules/ruralprojectrecords/ruralporjectmessage/projectcontentinfo/projectRecordsMessageView.jsp

@@ -50,13 +50,19 @@
 			}
 			var length=$("#treeTable2 tbody tr").length;
 			var total=0;
+			var maxTotal=0;
 			for (var i=0;i<length;i++){
-				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#deduct").val();
+				var zhiMax=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
 				if (undefined!=zhi && ''!=zhi){
 					total=total+parseInt(zhi);
 				}
+				if (undefined!=zhiMax && ''!=zhiMax){
+					maxTotal=maxTotal+parseInt(zhiMax);
+				}
 			}
 			$("#total").html(total);
+			$("#maxTotal").html(maxTotal);
 		});
 
 		function readOpenInfo(value) {
@@ -986,7 +992,8 @@
 									<%--<th width="25%">序号</th>--%>
 								<th width="40%">符合内容及评分标准</th>
 								<th width="10%">自校</th>
-								<th width="20%">打分</th>
+									<th width="10%">最高分</th>
+									<th width="10%">打分</th>
 								<th >打分意见</th>
 									<%--<th width="15%">操作</th>--%>
 							</tr>
@@ -1004,15 +1011,19 @@
 										<i class="fa fa-check"></i>
 									</td>
 									<td class="input-td">
-										<input id="maxDeduct" style="text-align: center" htmlEscape="false" readonly="true" class="form-control layui-input" value="${workReviewAudit.deduct}">
+										<input id="maxDeduct" readonly="true" htmlEscape="false" class="form-control layui-input" style="background-color: #fff;text-align: center" value="${workReviewAudit.maxDeduct}" />
+									</td>
+									<td class="input-td">
+										<input id="deduct" htmlEscape="false" readonly="true" style="text-align: center;background-color: #fff" class="form-control layui-input number"  value="${workReviewAudit.deduct}"/>
 									</td>
 									<td class="input-td">
-										<input id="deductOpinion" title="${workReviewAudit.deductOption}"  readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
+										<input id="deductOpinion" title="${workReviewAudit.deductOption}" style="text-align: center;background-color: #fff"   readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
 									</td>
 								</tr>
 							</c:forEach>
 							<tr>
 								<td colspan="2" style="font-weight: bold">总分</td>
+								<td id="maxTotal"></td>
 								<td id="total" style="background-color: #F1f1f1"></td>
 								<td style="background-color: #F1f1f1"></td>
 							</tr>

+ 17 - 6
src/main/webapp/webpage/modules/ruralprojectrecords/view/reportIssueView.jsp

@@ -65,13 +65,19 @@
 			})
 			var length=$("#treeTable2 tbody tr").length;
 			var total=0;
+			var maxTotal=0;
 			for (var i=0;i<length;i++){
-				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#deduct").val();
+				var zhiMax=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
 				if (undefined!=zhi && ''!=zhi){
 					total=total+parseInt(zhi);
 				}
+				if (undefined!=zhiMax && ''!=zhiMax){
+					maxTotal=maxTotal+parseInt(zhiMax);
+				}
 			}
 			$("#total").html(total);
+			$("#maxTotal").html(maxTotal);
 		});
 
 		function openDialogre(title,url,width,height,target,buttons) {
@@ -303,7 +309,8 @@
 									<%--<th width="25%">序号</th>--%>
 								<th width="40%">符合内容及评分标准</th>
 								<th width="10%">自校</th>
-								<th width="20%">打分</th>
+								<th width="10%">最高分</th>
+								<th width="10%">打分</th>
 								<th >打分意见</th>
 
 									<%--<th width="15%">操作</th>--%>
@@ -322,17 +329,21 @@
 										<i class="fa fa-check"></i>
 									</td>
 									<td class="input-td">
-										<input id="maxDeduct" style="text-align: center" htmlEscape="false" readonly="true" class="form-control layui-input" value="${workReviewAudit.deduct}">
+										<input id="maxDeduct" readonly="true" htmlEscape="false" class="form-control layui-input" style="background-color: #fff;text-align: center" value="${workReviewAudit.maxDeduct}" />
+									</td>
+									<td class="input-td">
+										<input id="deduct" style="text-align: center;background-color: #fff" htmlEscape="false" readonly="true" class="form-control layui-input" value="${workReviewAudit.deduct}">
 									</td>
 									<td class="input-td">
-										<input id="deductOpinion" style="text-align: center" title="${workReviewAudit.deductOption}" readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
+										<input id="deductOpinion" style="text-align: center;background-color: #fff" title="${workReviewAudit.deductOption}" readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
 									</td>
 								</tr>
 							</c:forEach>
 							<tr>
 								<td colspan="2" style="font-weight: bold">总分</td>
-								<td id="total" style="background-color: #F1f1f1"></td>
-								<td style="background-color: #F1f1f1"></td>
+								<td id="maxTotal"></td>
+								<td id="total" ></td>
+								<td ></td>
 
 							</tr>
 							</tbody>

+ 15 - 4
src/main/webapp/webpage/modules/ruralprojectrecords/view/reportView.jsp

@@ -65,13 +65,19 @@
 			})
 			var length=$("#treeTable2 tbody tr").length;
 			var total=0;
+			var maxTotal=0;
 			for (var i=0;i<length;i++){
-				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
+				var zhi=$("#treeTable2 tbody").find("tr").eq(i).find("#deduct").val();
+				var zhiMax=$("#treeTable2 tbody").find("tr").eq(i).find("#maxDeduct").val();
 				if (undefined!=zhi && ''!=zhi){
 					total=total+parseInt(zhi);
 				}
+				if (undefined!=zhiMax && ''!=zhiMax){
+					maxTotal=maxTotal+parseInt(zhiMax);
+				}
 			}
 			$("#total").html(total);
+			$("#maxTotal").html(maxTotal);
 		});
 
 		function openDialogre(title,url,width,height,target,buttons) {
@@ -371,7 +377,8 @@
 									<%--<th width="25%">序号</th>--%>
 								<th width="40%">符合内容及评分标准</th>
 								<th width="10%">自校</th>
-								<th width="20%">打分</th>
+								<th width="10%">最高分</th>
+								<th width="10%">打分</th>
 								<th >打分意见</th>
 
 									<%--<th width="15%">操作</th>--%>
@@ -390,15 +397,19 @@
 										<i class="fa fa-check"></i>
 									</td>
 									<td class="input-td">
-										<input id="maxDeduct" style="text-align: center;background-color: #fff" htmlEscape="false" readonly="true" class="form-control layui-input" value="${workReviewAudit.deduct}">
+										<input id="maxDeduct" readonly="true" htmlEscape="false" class="form-control layui-input" style="background-color: #fff;text-align: center" value="${workReviewAudit.maxDeduct}" />
+									</td>
+									<td class="input-td">
+										<input id="deduct" style="text-align: center;background-color: #fff" htmlEscape="false" readonly="true" class="form-control layui-input" value="${workReviewAudit.deduct}">
 									</td>
 									<td class="input-td">
-										<input id="deductOpinion" title="${workReviewAudit.deductOption}" readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
+										<input id="deductOpinion" style="text-align: center;background-color: #fff" title="${workReviewAudit.deductOption}" readonly="true" name="deductOpinion" value="${workReviewAudit.deductOption}" onclick="readOpenInfo(this.value)" class="form-control layui-input"/>
 									</td>
 								</tr>
 							</c:forEach>
 							<tr>
 								<td colspan="2" style="font-weight: bold">总分</td>
+								<td id="maxTotal"></td>
 								<td id="total"></td>
 								<td ></td>
 							</tr>