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",""},
};
}
diff --git a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
index aaf5d2a06..22fbbc9e1 100644
--- a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
+++ b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
@@ -3998,6 +3998,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/com/tenwa/channelportal/action/generativecontract/WordToPDFUtil.java b/src/com/tenwa/channelportal/action/generativecontract/WordToPDFUtil.java
index 18b682708..b598d93ca 100644
--- a/src/com/tenwa/channelportal/action/generativecontract/WordToPDFUtil.java
+++ b/src/com/tenwa/channelportal/action/generativecontract/WordToPDFUtil.java
@@ -27,7 +27,6 @@ public class WordToPDFUtil {
logger.info("============转换pdf开始============");
try{
String path = QuartzPropertiesUtil.get("libreOffice_path");
-// String cmd = "/opt/libreoffice5.4/program/soffice --headless -invisible --convert-to pdf "+srcPath+" --outdir "+desPath;
String cmd = path+"\\soffice --headless -invisible --convert-to pdf "+srcPath+" --outdir "+desPath;
logger.info("python:"+cmd);
process = Runtime.getRuntime().exec(cmd);