This commit is contained in:
zhouyahui 2018-09-19 21:04:50 +08:00
commit 781d8c5162
6 changed files with 454 additions and 392 deletions

View File

@ -40,7 +40,7 @@
var docList="<%=docList%>";
myleft.width=1;
if("SingleRow"=="<%=type%>"){
if("FundPaymentCarFlow"=="<%=sFlowNo%>"||"BusinessApplyFlow"=="<%=sFlowNo%>"||"MortgageFileFlow"=="<%=sFlowNo%>"||"ProjectCreditFlow"=="<%=sFlowNo%>"||"ContractSupportFlow"=="<%=sFlowNo%>"||"ProjectRecreditFlow"=="<%=sFlowNo%>"||"ProjectSupportFlow"=="<%=sFlowNo%>"||"ProjectApprovalFlow"=="<%=sFlowNo%>"||"FundPaymentFlow"=="<%=sFlowNo%>"){
if("FundPaymentCarFlow"=="<%=sFlowNo%>"||"BusinessApplyFlow"=="<%=sFlowNo%>"||"MortgageFileFlow"=="<%=sFlowNo%>"||"ProjectCreditFlow"=="<%=sFlowNo%>"||"ContractSupportFlow"=="<%=sFlowNo%>"||"ProjectRecreditFlow"=="<%=sFlowNo%>"||"ProjectSupportFlow"=="<%=sFlowNo%>"||"ProjectApprovalFlow"=="<%=sFlowNo%>"||"FundPaymentFlow"=="<%=sFlowNo%>"||"ProjectCancelFlow"=="<%=sFlowNo%>"){
AsControl.OpenView("/Tenwa/Comm/DocList/PayDocList.jsp","docList="+docList,"right","");
}else{
AsControl.OpenView("/Tenwa/Comm/DocList/BussinessApproveDocList.jsp","docList="+docList,"right","");

View File

@ -43,7 +43,9 @@
}
String compClientID = request.getParameter("CompClientID");
if("ProjectRecreditFlow".equals(sObjectType)){
sTempletNo = "FlowPayDocList" ;
}
Map<String,String> docParam=new HashMap<String,String>();
Map<String,String> other=new HashMap<String,String>();
other.put("carAttributes", carAttributes);

View File

@ -37,11 +37,7 @@
function NCInterface(){
alert("´«Ê俪ʼ");
var mes = RunJavaMethodTrans("com.tenwa.voucher.serviceImp.VoucherSysJointNCServiceImpl","sendVoucherData","");
if("true"==mes){
alert("传输成功");
}else{
alert("传输失败");
}
alert("传输完成");
}
function synVoucherCode(){

View File

@ -50,6 +50,10 @@ public class SerialNumberUtil {
public static synchronized String getRentOutNoNumber(JBOTransaction tx) throws Exception{
return SerialNumberUtil.getSerialNumber("PR{year}{month}{maxOrderNumber}",4,null, "", null, tx);
}
public static synchronized String getVoucherPCNumber(JBOTransaction tx) throws Exception{
return SerialNumberUtil.getSerialNumber("AP{year}{month}{day}-{maxOrderNumber}",3,null, "ƾ֤½Ó¿ÚÅú´Î", null, tx);
}
/**
* ͨÁª´ú¿ÛÁ÷Ë®ºÅ
* @param tx

View File

@ -3,5 +3,5 @@ package com.tenwa.voucher.service;
import com.amarsoft.are.jbo.JBOTransaction;
public interface VoucherSysJointNCService {
public String sendVoucherData(JBOTransaction tx)throws Exception;
public void sendVoucherData(JBOTransaction tx)throws Exception;
}