wanghaiwu 1 týždeň pred
rodič
commit
e27838f209

+ 11 - 0
code/jyyy/nckd-jimin-jyyy-fi/src/main/java/nckd/jimin/jyyy/fi/webapi/SRMSynPayApiPlugin.java

@@ -448,6 +448,11 @@ public class SRMSynPayApiPlugin implements Serializable {
             entry.set("settlestatus", "unsettle");//结算状态
             entry.set("pubreimburser", applierInfo);//报销人
 
+            if(contractInfo != null) {
+                entry.set("entrycontractno", contract);
+                entry.set("entrycontractname", contractInfo.getString("contractname"));
+            }
+
             expenseEntry.add(entry);
 
             totalReimburseAmount = totalReimburseAmount.add(amountOri);
@@ -1199,6 +1204,12 @@ public class SRMSynPayApiPlugin implements Serializable {
             entry.set("expeapprovecurramount", amountOriLocal);//核定金额本位币
             entry.set("expebalanceamount", amountOriLocal);//未核销金额本位币
             entry.set("expquotetype", "0");//换算方式
+
+            if(contractInfo != null) {
+                entry.set("entrycontractno", contract);
+                entry.set("entrycontractname", contractInfo.getString("contractname"));
+            }
+
             expenseEntry.add(entry);
 
             totalReimburseAmount = totalReimburseAmount.add(amountOri);