1.去掉新增产品。

2.申请付款增加保单放款。
3.隐藏佣金系数。
4.修复付款申请报错。
This commit is contained in:
zhangbb 2018-08-11 15:35:02 +08:00
parent 705b90ffb5
commit 89d4b379c4
5 changed files with 33 additions and 7 deletions

View File

@ -10,9 +10,9 @@
dwTemp.setParameter("SortNo", sortNo+"%");
dwTemp.genHTMLObjectWindow("");
String sButtons[][] = {
{"true","","Button","新增产品","新增产品","addProduct()","","","","btn_icon_add",""},
{"true","","Button","修改产品","修改产品","viewEditProduct()","","","","btn_icon_edit",""},
//{"true","","Button","新增产品","新增产品","addProduct()","","","","btn_icon_add",""},
{"true","","Button","复制产品","复制产品","copyProduct()","","","","btn_icon_copy",""},
{"true","","Button","修改产品","修改产品","viewEditProduct()","","","","btn_icon_edit",""},
{"true","","Button","启动/停用","启动按钮","publishProduct()","","","","btn_icon_power",""},
{"true","","Button","产品详情","产品详情","viewProduct()","","","","btn_icon_detail",""},
{"true","","Button","删除产品","删除产品","deleteProduct()","","","","btn_icon_delete",""},

View File

@ -16,8 +16,10 @@
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ
dwTemp.genHTMLObjectWindow(flowunid);
String sButtons[][] = {
};
String sButtons[][] = {
{"true","ALL","Button","保存","保存所有修改","as_save(0)","","","","btn_icon_save"},
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
$(function(){

View File

@ -5,9 +5,9 @@
</Parameters>
</Component>
<!-- 新增佣金系数,只是页面添加 -->
<Component FORMAT="1" ID="commission" NAME="佣金系数" STATUS="1" TYPE="PRD0350">
<Component FORMAT="1" ID="commission" NAME="佣金系数" STATUS="2" TYPE="PRD0350">
<Parameters>
<Parameter ARIGHTTYPE="Required" DISPLAYNAME="佣金系数" PARAMETERID="COMMISSION_RATE" PARAMETERNAME="佣金系数" PRIGHTTYPE="Required"/>
<Parameter ARIGHTTYPE="None" DISPLAYNAME="佣金系数" PARAMETERID="COMMISSION_RATE" PARAMETERNAME="佣金系数" PRIGHTTYPE="None"/>
</Parameters>
</Component>
<Component FORMAT="1" ID="applicable channel" NAME="适用渠道" STATUS="2" TYPE="PRD0350"><Parameters><Parameter ARIGHTTYPE="Required" DISPLAYNAME="适用渠道" PARAMETERID="ApplicableChannel" PARAMETERNAME="适用渠道" PRIGHTTYPE="Required"/></Parameters></Component>

View File

@ -144,6 +144,9 @@ public class FundPaymentCar {
String incomeID = UUIDUtil.getUUID();
BigDecimal outOverMoney = new BigDecimal(boLFPAMT.getAttribute("PLAN_MONEY").getString());
tx.join(bomLFIT);
if(fundList==null||"".equals(fundList)){
fundList="0";
}
List<BizObject> boLFPs = JBOFactory.createBizObjectQuery(LC_FUND_PLAN.CLASS_NAME,
"contract_id = '" + contractId + "' and fee_type in (" + fundList + ") ").getResultList(false);
BigDecimal deductMoney = new BigDecimal(0);

View File

@ -5,16 +5,29 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import jbo.app.tenwa.calc.LC_FUND_INCOME_TEMP;
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP;
import com.amarsoft.app.util.ProductParamUtil;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.are.jbo.JBOTransaction;
import com.amarsoft.awe.dw.handler.impl.CommonHandler;
import com.amarsoft.dict.als.cache.CodeCache;
import com.amarsoft.dict.als.object.Item;
public class LCFundPaymentTempInfoHandler extends CommonHandler {
@Override
protected void afterUpdate(JBOTransaction tx, BizObject bo) throws Exception {
String lendingType = bo.getAttribute("LENDING_TYPE").toString();
String id = bo.getAttribute("ID").toString();
BizObject bo1 = JBOFactory.createBizObjectQuery(LC_FUND_INCOME_TEMP.CLASS_NAME,"ID=:id")
.setParameter("id",id).getSingleResult(false);
String flowunid = bo1.getAttribute("flowunid").getString();
String sql = "update O set O.LENDING_TYPE='"+lendingType+"' where O.flowunid='"+flowunid+"'";
JBOFactory.createBizObjectQuery(LB_CONTRACT_INFO_TEMP.CLASS_NAME,sql).executeUpdate();
}
@Override
protected void initDisplayForEdit(BizObject bo) throws Exception {
String productId = this.asPage.getParameter("ProductId");
@ -45,6 +58,9 @@ public class LCFundPaymentTempInfoHandler extends CommonHandler {
}
}
}
if(fundList==null||"".equals(fundList)){
fundList="0";
}
//°²ÅôÌùÏ¢²»µÖ¿Û
/*if(fundList.length() > 0) {
fundList += ",";
@ -72,6 +88,11 @@ public class LCFundPaymentTempInfoHandler extends CommonHandler {
bo.setAttributeValue("CAUTION_MONEY", factMoney);
this.asDataObject.setVisible("CAUTION_MONEY", true);
break;
case "feetype24":
cleanLeaseMoney = cleanLeaseMoney.add(factMoney);
bo.setAttributeValue("GPS_FEE", factMoney);
this.asDataObject.setVisible("GPS_FEE", true);
break;
/*case "feetype27":
cleanLeaseMoney = cleanLeaseMoney.add(factMoney);
bo.setAttributeValue("DEALER_DISCOUNT", factMoney);