From 5e4abcdcf64446ab64d6cee96f8f4d3d925096a7 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Sat, 24 Aug 2019 19:24:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E6=96=B0=E5=A2=9E=E8=B5=84=E6=96=99?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E9=85=8D=E7=BD=AE=E5=A2=9E=E5=8A=A0=E5=94=AF?= =?UTF-8?q?=E4=B8=80=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FileListConfigUrationInfo.jsp | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp index 78e05bb3e..6fc5c8ce5 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp @@ -8,7 +8,8 @@ include String sTempletNo = "file_listconfigurationS";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); - doTemp.setHtmlEvent("ITEMNO", "onchange", "fileInfoMethods"); + doTemp.setHtmlEvent("ITEMNO", "onchange", "Fileinfowen"); + // doTemp.setHtmlEvent("ITEMNO", "onchange", "fileInfoMethods"); dwTemp.Style = "2";//freeform dwTemp.ReadOnly = "0";//只读模式 dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID")); @@ -21,9 +22,8 @@ include function goBack(){ parent.AsDialog.ClosePage(); } - function saveRecord(sPostEvents) { + /* function saveRecord(sPostEvents) { //校验文件清单配置代码项编号是否唯一 - var ITEMNO = getItemValue(0,0,'ITEMNO'); var sReturnInfo = RunJavaMethodTrans("com.tenwa.customer.controller.group.CustomerGroupCompanyController","file_repeat","ITEMNO="+ITEMNO); if("false" ==sReturnInfo){ AsDebug.alert("提示","代码项编号已存在,请重新输入!!!"); @@ -31,10 +31,25 @@ include }else{ as_save("myiframe0", "goBack()"); } + } */ + function saveRecord(sPostEvents) { + as_save("myiframe0", "goBack()"); } - function fileInfoMethods(){ +/* function fileInfoMethods(){ var ITEMNO = getItemValue(0,0,'ITEMNO'); setItemValue(0,0,"SORTNO",ITEMNO); - } + } */ + function Fileinfowen(){ + var ITEMNO = getItemValue(0,0,'ITEMNO'); + var sReturnInfo = RunJavaMethodTrans("com.tenwa.customer.controller.group.CustomerGroupCompanyController","file_repeat","ITEMNO="+ITEMNO); + if("false" ==sReturnInfo){ + AsDebug.showMessage("提示","代码项编号已存在,请勿重复输入!!!"); + return false; + }else{ + var ITEMNO = getItemValue(0,0,'ITEMNO'); + setItemValue(0,0,"SORTNO",ITEMNO); + return true; + } + } <%@ include file="/Frame/resources/include/include_end.jspf"%>