diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp index 77eed76cf..b6135c373 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp @@ -40,11 +40,16 @@ function newRecord(){ var name = getItemValue(0,0,"name"); var certid = getItemValue(0,0,"certid"); + var tel = getItemValue(0,0,"tel"); var shukou = getItemValue(0,0,"shukou"); var suname = getItemValue(0,0,"suname"); var suphone = getItemValue(0,0,"suphone"); var sposition = getItemValue(0,0,"sposition"); var smincome = getItemValue(0,0,"smincome"); + if(name=="" || certid==""){ + alert("ÇëÊäÈëÊý¾Ý!"); + return; + } var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerFamilyJoin","saveCustomerFamily", "customerid=<%=UUIDUtil.getUUID()%>,flowunid=<%=FlowUnid%>,tel="+getItemValue(0,0,"tel")+",name="+getItemValue(0,0,"name")+",certid="+getItemValue(0,0,"certid")+",shukou="+getItemValue(0,0,"shukou")+",suname="+getItemValue(0,0,"suname")+",suphone="+getItemValue(0,getRow(0),"suphone")+",sposition="+getItemValue(0,getRow(0),"sposition")+",smincome="+getItemValue(0,getRow(0),"smincome")); if(sResult == "1"){