Commit cc7c78e8 authored by 鲁鑫's avatar 鲁鑫

财务客户SAP内部给编号

parent 89ba691e
......@@ -47,7 +47,7 @@
<x:title title="财务客户主基本数据" name="group"/>
<div class="hg-form-cols">
<div class="hg-form-row">
<x:inputC name="buPartner" label="业务伙伴编码" labelCol="1" fieldCol="2" readonly="true"/>
<x:inputC name="buPartner" label="客户编号" labelCol="1" fieldCol="2" readonly="true"/>
<x:inputC name="partnerRole" label="业务伙伴角色" labelCol="1" fieldCol="2" required="false" readonly="true"/>
<x:inputC name="creationGroup" label="业务伙伴分组" labelCol="1" fieldCol="2" readonly="true"/>
<x:selectC name="titleMedi" label="称谓代码" labelCol="1" fieldCol="2" dictionary="title"/>
......
......@@ -39,7 +39,7 @@
<x:title title="财务客户主基本数据" name="group"/>
<div class="hg-form-cols">
<div class="hg-form-row">
<x:inputC name="buPartner" label="业务伙伴编码" labelCol="1" fieldCol="2" readonly="true"/>
<x:inputC name="buPartner" label="客户编号" labelCol="1" fieldCol="2" readonly="true"/>
<x:inputC name="creationGroup" label="业务伙伴分组" labelCol="1" fieldCol="2" readonly="true"/>
<x:inputC name="partnerRole" label="业务伙伴角色" labelCol="1" fieldCol="2" required="false" readonly="true"/>
<x:selectC name="titleMedi" label="称谓代码" labelCol="1" fieldCol="2" dictionary="title" disabled="true"/>
......
......@@ -26,7 +26,7 @@ function loadSuppliersDataListGrid() {
{display: "申请日期", name: "fillinDate", width: 120, minWidth: 60, type: "string", align: "left"},
{display: "操作类型", name: "applyTypeTextView", width: 80, minWidth: 60, type: "string", align: "left"},
{display: "业务伙伴分组", name: "creationGroup", width: 120, minWidth: 60, type: "string", align: "left"},
{display: "业务伙伴编号", name: "buPartner", width: 120, minWidth: 60, type: "string", align: "left"},
{display: "客户编号", name: "buPartner", width: 120, minWidth: 60, type: "string", align: "left"},
{display: "业务伙伴角色", name: "partnerRole", width: 140, minWidth: 60, type: "string", align: "left"},
{display: "称谓代码", name: "titleMedi", width: 140, minWidth: 60, type: "string", align: "left"},
{display: "组织名称1", name: "nameOrg1", width: 140, minWidth: 60, type: "string", align: "left"},
......
......@@ -18,7 +18,7 @@
<x:title title="common.button.search" hideTable="queryMainForm" isHide="true"/>
<form class="hg-form ui-hide" method="post" action="" id="queryMainForm">
<x:inputC name="billCode" required="false" label="申请单号" labelCol="1"/>
<x:inputC name="partner" required="false" label="业务伙伴编号" labelCol="1"/>
<x:inputC name="partner" required="false" label="客户编号" labelCol="1"/>
<x:inputC name="nameOrg1" required="false" label="组织名称1" labelCol="1"/>
<x:selectC name="applyType" label="操作类型" labelCol="1" fieldCol="2" dictionary="applyType"/>
<x:selectC name="status" label="审批状态" labelCol="1" fieldCol="2" dictionary="bizBillStatus"/>
......
......@@ -264,7 +264,7 @@ public class FinaCustomerApplicationImpl extends FlowBroker implements FinaCusto
List<MdClientSapVo> mdClientSapVoList = new ArrayList<>();
MdClientSapVo mdClientSapVo = new MdClientSapVo();
BeanUtil.copyProperties(finaCustomer, mdClientSapVo);
mdClientSapVo.setRltyp(finaCustomer.getPartnerRole());//BP角色,财务客户
mdClientSapVo.setRltyp("");//BP角色,财务客户
mdClientSapVo.setBuGroup(finaCustomer.getCreationGroup());//业务伙伴分类,员工客户
mdClientSapVo.setKunnr(finaCustomer.getBuPartner());//员工编码
mdClientSapVo.setLand1(finaCustomer.getCountry());//国家
......@@ -325,11 +325,11 @@ public class FinaCustomerApplicationImpl extends FlowBroker implements FinaCusto
resultMap.put("businessType", "财务客户主数据");
resultMap.put("businessId", finaCustomer.getId());
try {
if (StringUtil.isBlank(finaCustomer.getBuPartner())){
String buPartner = this.getBuPartner();
finaCustomer.setBuPartner(buPartner);//赋值客户编码
mdClientSapVo.setKunnr(buPartner);
}
// if (StringUtil.isBlank(finaCustomer.getBuPartner())){
// String buPartner = this.getBuPartner();
// finaCustomer.setBuPartner(buPartner);//赋值客户编码
// mdClientSapVo.setKunnr(buPartner);
// }
mdClientSapVoList.add(mdClientSapVo);
String parameter=JSON.toJSONString(mdClientSapVoList);
parameter=parameter.replaceAll("finaCustomerPayList","LFB1");
......
......@@ -59,7 +59,7 @@ public class FinaCustomerController extends CommonController {
String flag=sdo.getString("flag");
FinaCustomerInfo finaCustomerInfo = new FinaCustomerInfo();
finaCustomerInfo.setCreationGroup("C006");//分组: 默认【C006】,不可更改
finaCustomerInfo.setPartnerRole("");//业务伙伴角色
finaCustomerInfo.setPartnerRole("FLCUOO");//业务伙伴角色 默认【FLCUOO】
finaCustomerInfo.setApplyType("0");
String isDel=sdo.getString("isDel");
String page = "finaCustomerDetail";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment