优化凭证明细一次只能查一个的问题

This commit is contained in:
xiezhiwen 2020-05-07 15:23:29 +08:00
parent 8297b8188b
commit 843fa48552

View File

@ -25,6 +25,7 @@
{"true","","Button","1.NC客户传输","1.NC客户传输","CustomerToNCInterface()","","","","btn_icon_up",""},
{"true","","Button","2.NC合同传输","2.NC合同传输","ContractToNCInterface()","","","","btn_icon_up",""},
{"true","","Button","3.NC凭证传输","3.NC凭证传输","VoucherToNCInterface()","","","","btn_icon_up",""},
{"false","","Button","凭证测试","凭证测试","createVoucherTest()","","","","btn_icon_save",""},
//{"true","","Button","刷新辅助账编码","刷新辅助账编码","synVoucherCode()","","","","btn_icon_save",""},
//{"true","","Button","明细","明细","showContractInsurance()","","","","btn_icon_detail",""},
//{"true","","Button","导入金蝶系统","导入金蝶系统","importFK()","","","","btn_icon_up",""},
@ -34,6 +35,13 @@
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function createVoucherTest(){
var mes = RunJavaMethodTrans("com.tenwa.voucher.serviceImp.VoucherTest","test", "userid="+"<%=CurUser.getUserID()%>")
if(mes=="true"){
alert("凭证生成完成 ");
}
}
/**
* 传输经销商信息入NC
*/
@ -231,7 +239,7 @@ function createContractByTemplate(){
{
var sPara = getItemValue(0,getRow(0),'f3');
var sUrl = "/Tenwa/Lease/voucher/voucherass_info_detail.jsp";
AsControl.OpenTab(sUrl, 'f3='+sPara, {title:'ƾ֤Ã÷ϸ'});
AsControl.OpenTab(sUrl, 'f3='+sPara, {title:sPara+'凭证明细'});
}
//在加载完表格后调用
function afterSearch(){