蔡德晨 5 년 전
부모
커밋
e46014a1be
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/webapp/webpage/include/head.jsp
  2. 5 0
      src/main/webapp/webpage/modules/workclientinfo/workClientInfoForm.jsp

+ 1 - 1
src/main/webapp/webpage/include/head.jsp

@@ -1,5 +1,5 @@
 <%@ page contentType="text/html;charset=UTF-8" %><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><meta name="author" content="http://www.jeeplus.org/"/>
-<link rel="icon" href="${ctxStatic}/common/img/bitbug_favicon.ico" type="image/x-icon"/>
+<link rel="icon" href="${ctxp}/static/common/img/bitbug_favicon.ico" type="image/x-icon"/>
 <meta name="renderer" content="webkit"><meta http-equiv="X-UA-Compatible" content="IE=9,IE=10" />
 <meta http-equiv="Expires" content="0"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="Cache-Control" content="no-store">
 <!-- 引入jquery插件 -->

+ 5 - 0
src/main/webapp/webpage/modules/workclientinfo/workClientInfoForm.jsp

@@ -41,6 +41,11 @@
 		var validateForm;
 		function doSubmit(){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
 		  if(validateForm.form()){
+              var tableObj = document.getElementById('contentTable').rows[1];
+              if (tableObj == null) {
+                  parent.layer.msg("请填写联系人信息!", {icon: 5});
+                  return false;
+              }
 			  $("#inputForm").submit();
 			  return true;
 		  }else {