From d01112bec8e3365bbc63f78d8c29857128b8b3db Mon Sep 17 00:00:00 2001 From: tangfutang Date: Wed, 26 Aug 2020 17:55:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BF=AE=E6=94=B9=EF=BC=88?= =?UTF-8?q?=E9=A9=AC=E4=BA=AE=E3=80=81=E5=BC=A0=E7=A3=8A=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Comm/DocList/LbCarLicensePlateInfoTemp.jsp | 2 +- .../FundPaymentInvoice/LbInvoiceInfoTemp.jsp | 17 +++++++++++++---- .../Comm/LBEquipment_Car/LBEquipmentInfo.jsp | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp b/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp index a1fd387c3..021e192d0 100644 --- a/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp +++ b/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp @@ -78,7 +78,7 @@ var is_delay = getItemValue(0,0,"is_pledge"); //重卡挂车信息隐藏 var vehiclelevel = getItemValue(0,0,"vehiclelevel"); - if('重卡'!=vehiclelevel){ + if('重卡'!=vehiclelevel&&'重型'!=vehiclelevel){ hideItem(0,"frame_plateno"); hideItem(0,"frame_regdate"); } diff --git a/WebContent/Tenwa/Core/InvoiceManager/FundPaymentInvoice/LbInvoiceInfoTemp.jsp b/WebContent/Tenwa/Core/InvoiceManager/FundPaymentInvoice/LbInvoiceInfoTemp.jsp index e04cd100a..d0d41abba 100644 --- a/WebContent/Tenwa/Core/InvoiceManager/FundPaymentInvoice/LbInvoiceInfoTemp.jsp +++ b/WebContent/Tenwa/Core/InvoiceManager/FundPaymentInvoice/LbInvoiceInfoTemp.jsp @@ -22,7 +22,7 @@ //dwTemp.ReadOnly = "-2";//只读模式 dwTemp.genHTMLObjectWindow(CurPage.getParameter("ContractId")); String vehiclelevel = Sqlca.getString("select LEC.vehiclelevel from LB_EQUIPMENT_CAR_TEMP LEC where contract_id='"+ContractId+"'"); - + String sButtons[][] = { {"false","All","Button","保存","保存所有修改","as_save(0)","","","",""}, {"false","All","Button","返回","返回列表","returnList()","","","",""} @@ -100,6 +100,16 @@ setErrorTips("Invoice_number","发票号码不能为空"); return true; } + /* var invoiceDate = getItemValue(0,getRow(0),"Invoice_date"); + if (invoiceDate.length == 0) { + setErrorTips("Invoice_date","开票日期不能为空"); + return true; + } + var invoiceMoney = getItemValue(0,getRow(0),"Invoice_money"); + if (invoiceMoney.length == 0) { + setErrorTips("Invoice_money","开票金额不能为空"); + return true; + } */ } return false; } @@ -175,12 +185,11 @@ document.getElementById("INVOICE_DATE").readOnly=true; document.getElementById("INVOICE_DATE_BAK").readOnly=true; }) - - + window.onload = function(){ //重卡发票信息 var vehiclelevel= "<%=vehiclelevel%>"; - if ('重卡' != vehiclelevel) { + if ('重卡' != vehiclelevel &&'重型'!=vehiclelevel) { hideItem(0, "Invoice_code_bak"); hideItem(0, "Invoice_number_bak"); hideItem(0, "Invoice_date_bak"); diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp index 2b15424f5..b3dd591d1 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp @@ -193,7 +193,7 @@ function hideFrame(vehiclelevel){//重卡挂车信息隐藏 //alert(vehiclelevel); - if ('重卡' != vehiclelevel) { + if ('重卡' != vehiclelevel &&'重型'!=vehiclelevel) { hideItem(0, "frame_plateno"); hideItem(0, "frame_regdate"); hideItem(0, "frame_guided_price");