Browse Source

厂家采购代码修改

master
hp 3 years ago
parent
commit
5f1859b35a
  1. 14
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentrecord/FinPaymentrecordService.java

14
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentrecord/FinPaymentrecordService.java

@ -211,9 +211,17 @@ public class FinPaymentrecordService extends MybatisBaseService<FinPaymentrecord
}
// apPayBill.setFPURCHASEDEPTID("05.04");
//应付类别默认005定金
if ("排产".equals(finPaymentrecord.getCostTypeValue())) {
apPayBill.setF_PAEZ_AssistantKey("005");
/* 001整车002外采005定金010牵引系列011自卸系列012载货系列013搅拌车系列014起重机系列015专用车系列016欧马可系列017LNG系列 022大客户系列
款项类别payCostType应付通路编码payChannel
厂家采购订金:005定金厂家采购车款:车辆功能厂家销售/回款通路
"外采订金:005定金
外采车款:002外采"*/
if (!"厂家车款".equals(finPaymentrecord.getCostTypeValue())) {
apPayBill.setF_PAEZ_AssistantKey(finPaymentrecord.getCostTypeKey());
apPayBill.setF_PAEZ_AssistantType("payCostType");
}else{
apPayBill.setF_PAEZ_AssistantKey(finPaymentrecord.getCostTypeKey());
apPayBill.setF_PAEZ_AssistantType("payChannel");
}
List<ApPayBill.FPAYBILLENTRY> FPAYBILLENTRYs = new ArrayList<>();
if (finPaymentrecord.getCost() != null
@ -225,7 +233,7 @@ public class FinPaymentrecordService extends MybatisBaseService<FinPaymentrecord
fpaybillentry.setFPOSTDATE(DateUtil.formatDate(finPaymentrecord.getPayDate()));
//我方银行账号
// fpaybillentry.setFACCOUNTID("100473861600010002");
fpaybillentry.setFACCOUNTID("21010120005000143");
fpaybillentry.setFACCOUNTID(finPaymentrecord.getPayBankAccount());
// fpaybillentry.setFACCOUNTID(finPaymentrecord.getPayBankAccount());
//付款用途
fpaybillentry.setFPURPOSEIDKey(finPaymentrecord.getCostTitleKey());

Loading…
Cancel
Save