修改调息通知书
This commit is contained in:
parent
58e06c4d98
commit
5801156e31
@ -50,9 +50,11 @@
|
||||
getObj(0,i,"FILENAME").innerHTML=html;
|
||||
};
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
html='<a class="btn_icon_detail" onclick="viewOffice()"> </a> ';
|
||||
// html='<a class="btn_icon_detail" onclick="viewOffice()"> </a> ';
|
||||
html='';
|
||||
if((null ==RightType||RightType!="ReadOnly")&&(null==ishistory||ishistory!="true")){
|
||||
html+=' <a class="btn_icon_edit" onclick="editOffice()"> </a> <a class="btn_icon_delete"onclick="deleteFile()"> </a> ';
|
||||
// html+=' <a class="btn_icon_edit" onclick="editOffice()"> </a> <a class="btn_icon_delete"onclick="deleteFile()"> </a> ';
|
||||
html+=' <a class="btn_icon_delete"onclick="deleteFile()"> </a> ';
|
||||
}
|
||||
getObj(0,i,"ACTION").innerHTML=html;
|
||||
}
|
||||
@ -121,6 +123,7 @@
|
||||
tempParam["FLOW_UNID"]="<%=flowunid%>";
|
||||
tempParam["PROJ_ID"]="<%=projid%>";
|
||||
tempParam["CONTRACT_ID"]=getItemValue(0,getRow(),"ID");
|
||||
tempParam["PAYMENT_NUMBER"]=getItemValue(0,getRow(0),"payment_number");
|
||||
//Éú³ÉÄ£°å¹Ì¶¨²ÎÊý
|
||||
tempParam["CurUserId"]="<%=CurUser.getUserID()%>";
|
||||
tempParam["CurOrgId"]="<%=CurUser.getOrgID()%>";
|
||||
@ -131,10 +134,10 @@
|
||||
if(sparam.length>0){sparam+=",";}
|
||||
sparam+=key+"="+param[key];
|
||||
}
|
||||
// var deleteresult=RunJavaMethodTrans("com.tenwa.officetempalte.controller.RentNotinyDeleteAction","Tdeletequtation","plan_number="+getItemValue(0,getRow(),"ID"));
|
||||
var deleteresult=RunJavaMethodTrans("com.tenwa.officetempalte.controller.RentNotinyDeleteAction","Tdeletequtation","plan_number="+getItemValue(0,getRow(),"ID"));
|
||||
var result=RunJavaMethodTrans("com.tenwa.officetempalte.action.CreateOfficeAction","createOfficeByTemplate",sparam);
|
||||
//wordתpdf
|
||||
<%-- var id = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","wordToPdfAnnex","FlowUnid=<%=flowunid%>,PLAN_LIST=AdjustmentNotice"); --%>
|
||||
var id = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","wordToPdfAnnex","FlowUnid=<%=flowunid%>,PLAN_LIST=AdjustmentNotice,contract_id="+getItemValue(0,getRow(),"ID"));
|
||||
|
||||
reloadSelf();
|
||||
|
||||
|
||||
@ -1621,7 +1621,7 @@ public void wordToPdfJar(JBOTransaction tx){
|
||||
}else if("transfer".equals(PLAN_LIST)){
|
||||
DOCRELATIVE=bom.createQuery(" OBJECTTYPE='transfer' and FLOW_UNID=:flowunid and CONTRACT_ID=:contractid ").setParameter("flowunid",FlowUnid).setParameter("contractid",contract_id).getSingleResult(false);
|
||||
}else if("AdjustmentNotice".equals(PLAN_LIST)){
|
||||
DOCRELATIVE=bom.createQuery(" OBJECTTYPE='AdjustmentNotice' and FLOW_UNID=:flowunid ").setParameter("flowunid",FlowUnid).getSingleResult(false);
|
||||
DOCRELATIVE=bom.createQuery(" OBJECTTYPE='AdjustmentNotice' and FLOW_UNID=:flowunid and CONTRACT_ID=:contractid ").setParameter("flowunid",FlowUnid).setParameter("contractid",contract_id).getSingleResult(false);
|
||||
}else if("TriditionCollection".equals(PLAN_LIST)){
|
||||
DOCRELATIVE=bom.createQuery(" OBJECTTYPE='TriditionCollection' and plan_number=:plan_number").setParameter("plan_number",PAYMENT_NUMBER).getSingleResult(false);
|
||||
}else if("TriditionSuspension".equals(PLAN_LIST)){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user