凭证相关--本方账户银行自动选取变更
This commit is contained in:
parent
8aa58d3a0e
commit
42a4bbaa0a
@ -10,7 +10,6 @@
|
||||
Input Param:
|
||||
Output param:
|
||||
History Log:
|
||||
|
||||
*/
|
||||
%>
|
||||
<%/*~END~*/%>
|
||||
@ -110,7 +109,8 @@
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
setItemValue(0,getRow(0),"acc_title",sReturn[0]);
|
||||
setItemValue(0,getRow(0),"SUBJECTS_CODED",sReturn[1]);
|
||||
setItemValue(0,getRow(0),"SUBJECTS_CODE",sReturn[1]);
|
||||
setItemValue(0,getRow(0),"SUBJECTS_NAME",sReturn[2]);
|
||||
// setItemValue(0,getRow(0),"acc_title",sReturn[2]);
|
||||
//setItemValue(0,getRow(),"SUBJECTS_NAME",sReturn[1]);
|
||||
//setItemValue(0,getRow(),"SUBJECTS_NAME",sReturn[1]);
|
||||
@ -133,7 +133,7 @@
|
||||
if(acc_title.length==32){
|
||||
var sReturn = RunJavaMethodTrans("com.tenwa.reckon.copydata.CalcRentCompare", "changAcc_title","id=" + acc_title );
|
||||
if(sReturn!="null"){
|
||||
document.getElementById("SUBJECTS_CODED").value = sReturn;
|
||||
//document.getElementById("SUBJECTS_NAME").value = sReturn;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -61,6 +61,7 @@
|
||||
<script type="text/javascript">
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newRecord(){
|
||||
|
||||
var sUrl = "/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp";
|
||||
AsDialog.PopView(sUrl,'',"resizable=yes;dialogWidth=900px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){
|
||||
reloadSelf();
|
||||
|
||||
@ -36,6 +36,7 @@ public class ContractOnhireVoucher extends BaseBussiness {
|
||||
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018071000000009",Sqlca);// 收取客户手续费(按月分摊收入)--回租
|
||||
cvld.CreateVoucher(FlowUnid, "PZ2018080300000073",Sqlca);// 收取客户手续费(按月分摊收入)--直租
|
||||
|
||||
return "true";
|
||||
}
|
||||
}
|
||||
|
||||
@ -44,7 +44,6 @@ public class ExprotVoucherToXML {
|
||||
String f3="";
|
||||
try {
|
||||
Sqlca = Transaction.createTransaction(tx);
|
||||
System.out.println(ids);
|
||||
String year_month_day = new SimpleDateFormat("yyyyMMddHHmmss").format(new Date());
|
||||
/**
|
||||
* 定义全局变量
|
||||
@ -69,7 +68,7 @@ public class ExprotVoucherToXML {
|
||||
map.clear();
|
||||
map.put("F3",F3);
|
||||
// 获取v8表数据
|
||||
String sql1 = "SELECT ID,F5,F6,F49,F51,F52,F59,F63,F64,F73,F74,F75,F76,F67 FROM VOUCHER_V8 WHERE F3=:F3 ORDER BY F59 ";
|
||||
String sql1 = "SELECT ID,F5,F6,F49,F51,F52,F59,F73,F74,F75,F76 FROM VOUCHER_V8 WHERE F3=:F3 ORDER BY F59 ";
|
||||
List<Map<String, String>> v1 = DataOperatorUtil.getDataBySql(Sqlca,sql1,map);
|
||||
String ownId = v1.get(0).get("F49");
|
||||
// 获取本方信息
|
||||
@ -171,40 +170,20 @@ public class ExprotVoucherToXML {
|
||||
List<Map<String, String>> A1 = DataOperatorUtil.getDataBySql(Sqlca,AUXILIARYSQL,map);
|
||||
for (Map<String, String> fuzhu : A1) {
|
||||
// 后期调整, 辅助账名称变更好需要更改此处代码***
|
||||
if("×âÁÞÀàÐ͸¨ÖúºËËã".equals(fuzhu.get("AUX_NAME"))) {
|
||||
Element item = auxiliary_accounting.addElement("item");
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F67"));
|
||||
}
|
||||
if("ÈÚ×Ê×âÁÞ×ʲú¸¨ÖúºËËã".equals(fuzhu.get("AUX_NAME"))) {
|
||||
Element item = auxiliary_accounting.addElement("item");
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F64"));
|
||||
}
|
||||
if("²¿ÃŸ¨ÖúºËËã".equals(fuzhu.get("AUX_NAME"))) {
|
||||
Element item = auxiliary_accounting.addElement("item");
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F63"));
|
||||
}
|
||||
if("ÈÚ×Ê×âÁÞÊÕÈëÀàÐ͸¨ÖúºËËã".equals(fuzhu.get("AUX_NAME"))) {
|
||||
Element item = auxiliary_accounting.addElement("item");
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F73"));
|
||||
}
|
||||
if("×ʽðÀàÐ͸¨ÖúºËËã".equals(fuzhu.get("AUX_NAME"))) {
|
||||
Element item = auxiliary_accounting.addElement("item");
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F74"));
|
||||
}
|
||||
if("主营类型辅助核算".equals(fuzhu.get("AUX_NAME"))) {
|
||||
Element item = auxiliary_accounting.addElement("item");
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F75"));
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F73"));
|
||||
}
|
||||
if("现金流量项目辅助核算".equals(fuzhu.get("AUX_NAME"))) {
|
||||
Element item = auxiliary_accounting.addElement("item");
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F74"));
|
||||
}
|
||||
if("银行账户辅助核算".equals(fuzhu.get("AUX_NAME"))) {
|
||||
Element item = auxiliary_accounting.addElement("item");
|
||||
item.addAttribute("name", fuzhu.get("AUX_NAME"));
|
||||
item.setText(v8.get("F76"));
|
||||
item.setText(v8.get("F75"));
|
||||
}
|
||||
}
|
||||
Element detail = entry.addElement("detail");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user