diff --git a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp index 83ce2051c..86e3bf924 100644 --- a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp +++ b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp @@ -29,8 +29,11 @@ if("ReadOnly".equals(rightType)){ dwTemp.ReadOnly = "1";//只读模式 } - String acc_number = Sqlca.getString("select acc_number from OWN_ACCOUNT where acc_number='755915678910202'"); - String acc_bank = Sqlca.getString("select acc_bank from OWN_ACCOUNT where acc_number='755915678910202'"); + String acc_number = Sqlca.getString("select acc_number from OWN_ACCOUNT limit 0,1"); + String acc_bank = Sqlca.getString("select acc_bank from OWN_ACCOUNT limit 0,1"); + + String acc = Sqlca.getString("select acc_number from DISTRIBUTOR_ACCOUNT where distributor_id="+"'"+DistributorNo+"'"+" limit 0,1"); + String acco = Sqlca.getString("select account from DISTRIBUTOR_ACCOUNT where distributor_id="+"'"+DistributorNo+"'"+" limit 0,1"); dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID")); dwTemp.getDataObject().setVisible("CAUTION_MONEY", true); String sButtons[][] = { @@ -42,6 +45,8 @@ window.onload=function(){ setItemValue(0,0,"LOCAL_ACCOUNT",'<%=acc_number%>'); setItemValue(0,0,"LOCAL_BANK",'<%=acc_bank%>'); + setItemValue(0,0,"ACCOUNT_INFO",'<%=acc%>'); + setItemValue(0,0,"ACCOUNT",'<%=acco%>'); } diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp index ab9becbc1..44b56d756 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp @@ -50,7 +50,7 @@ //{temp,"","Button","详情","查看/修改详情","view()","","","","btn_icon_detail"}, {temp,"","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""}, //{"true","All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""}, - {temp,"All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, + {temp,"All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""}, }; }