diff --git a/main/java/shkd/repc/recon/opplugin/YongyouBIPOperation.java b/main/java/shkd/repc/recon/opplugin/YongyouBIPOperation.java index ad0d989..0ff0223 100644 --- a/main/java/shkd/repc/recon/opplugin/YongyouBIPOperation.java +++ b/main/java/shkd/repc/recon/opplugin/YongyouBIPOperation.java @@ -347,7 +347,8 @@ public class YongyouBIPOperation extends AbstractOperationServicePlugIn implemen //外部公司:22020104\应付账款\往来单位\外部单位(工程类) //集团内部关联公司:22020105\应付账款\往来单位\内部单位(关联方) //如果费用登记中用户选择了会计科目,则使用该字段编号,否则还使用集团内外 yxl 20241116 - if(isnotext && payrequestinfo.getDynamicObject("qeug_accountview")!=null){ + //付款申请单中用户选择了会计科目,则使用该字段编号,否则还使用集团内外 yxl 20241220 + if(payrequestinfo.getDynamicObject("qeug_accountview")!=null){ String accountview = payrequestinfo.getDynamicObject("qeug_accountview").getString("number"); items.put("pk_subjcode",accountview.replace(".","")); }else{