支出合同优化

This commit is contained in:
xuhaihui 2025-09-15 13:45:51 +08:00
parent f9868b2535
commit 8eaf32011c
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ public class OutContractFromPlugin extends AbstractBillPlugIn implements Plugin
if (changeName.equals(contracttype)) {//收入合同字段值改变 if (changeName.equals(contracttype)) {//收入合同字段值改变
//合同类型 //合同类型
DynamicObject contractType = (DynamicObject)changeData.getNewValue(); DynamicObject contractType = (DynamicObject)changeData.getNewValue();
if (contractType==null){
return;
}
String number = contractType.getString("number"); String number = contractType.getString("number");
List<ComboItem> comboList = new ArrayList<>(); List<ComboItem> comboList = new ArrayList<>();
List<ComboItem> comboList1 = new ArrayList<>(); List<ComboItem> comboList1 = new ArrayList<>();