From a7b615efec9dc289a38bd274c6ecbdc497a33e93 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 3 Jul 2018 16:54:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E5=85=B1=E5=90=8C=E7=94=B3=E8=AF=B7=E4=BA=BA=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=92=8C=E9=85=8D=E5=81=B6=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerFamilyJoinTempInfo.jsp | 18 ++++++++++++++++-- .../CustomerFamilyTempInfo.jsp | 18 ++++++++++++------ 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp index 0df26336e..910f84f2d 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp @@ -21,7 +21,7 @@ String Partner = Sqlca.getString("select Partner_ from CUSTOMER_FAMILY_TEMP where flowunid='"+FlowUnid+"'"); System.out.print("+++++++++++++++++++++++++++++"+Partner); if(Partner==null){ - dwTemp.genHTMLObjectWindow(""); + dwTemp.genHTMLObjectWindow(FlowUnid); }else if(Partner.equals("Y")){ dwTemp.genHTMLObjectWindow(FlowUnid + "," + customerid); }else{ @@ -67,6 +67,7 @@ } } function viewAndEdit(){ + debugger; // var ID = getItemValue(0,getRow(0),'ID'); // if("undefined"==ID||""==ID || null==ID){ // AsDebug.showMessage("提示","请选中一条数据!","","",true); @@ -75,7 +76,20 @@ // var sUrl = "/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp"; // var sparam = 'ID='+ID; // AsControl.OpenView(sUrl,sparam,"_self",""); - as_save(0,""); + 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; + }else{ + as_save(0,""); + } } function returnList(){ AsControl.OpenView("<%=sPrevUrl%>", "","_self",""); diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index 842cc6060..236c57a2a 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -23,18 +23,24 @@ %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>