合作方新增时,状态默认为草稿
This commit is contained in:
parent
f4e16c7405
commit
cc20781b91
@ -143,9 +143,18 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
function stamp(){
|
||||
var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","TcollectionSignA","FlowUnid=<%=flowunid%>,flagType=AdjustmentNotice");
|
||||
var filename = getItemValue(0,getRow(),"FILENAME");
|
||||
if(filename==""){
|
||||
alert("请先生成租金调整通知书!!");
|
||||
return;
|
||||
};
|
||||
var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","TcollectionSignA","FlowUnid=<%=flowunid%>,flagType=AdjustmentNotice,contract_id="+getItemValue(0,getRow(),"ID"));
|
||||
if("success"==result){
|
||||
alert("盖章成功!!");
|
||||
}else{
|
||||
alert("盖章失败!!");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
Binary file not shown.
@ -2452,7 +2452,7 @@ public String claimSign(JBOTransaction tx) throws Exception {
|
||||
if("transfer".equals(flagType)){
|
||||
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(flagType)){
|
||||
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(flagType)){
|
||||
DOCRELATIVE=bom.createQuery("plan_number=:plan_number and objecttype='TriditionCollection' ").setParameter("plan_number",PAYMENT_NUMBER).getSingleResult(false);
|
||||
}else if("TriditionSuspension".equals(flagType)){
|
||||
|
||||
@ -174,7 +174,7 @@ public class NewPartnerCompanyController{
|
||||
BizObject newCustomerType = typeManager.newObject();
|
||||
newCustomerType.setAttributeValue("customerid",newCustomer.getAttribute("customerid").getString());
|
||||
newCustomerType.setAttributeValue("custtype",partnerType);
|
||||
newCustomerType.setAttributeValue("custstatus","status02");
|
||||
newCustomerType.setAttributeValue("custstatus","status04");
|
||||
newCustomerType.setAttributeValue("status","valid");
|
||||
newCustomerType.setAttributeValue("isoriginal","yes");
|
||||
newCustomerType.setAttributeValue("inputuserid", userId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user