diff --git a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/OutContractFromPlugin.java b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/OutContractFromPlugin.java index 9146bb5..b285a5e 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/OutContractFromPlugin.java +++ b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/OutContractFromPlugin.java @@ -36,10 +36,13 @@ public class OutContractFromPlugin extends AbstractBillPlugIn implements Plugin DynamicObject contractType = (DynamicObject)changeData.getNewValue(); String number = contractType.getString("number"); List comboList = new ArrayList<>(); - comboList.add(new ComboItem(new LocaleString("全面合作"), "A")); - comboList.add(new ComboItem(new LocaleString("局部合作"), "B")); if(number.equals("sbzl")){ - comboList.add(new ComboItem(new LocaleString("零星租赁"), "C")); + comboList.add(new ComboItem(new LocaleString("全部租赁"), "C")); + comboList.add(new ComboItem(new LocaleString("部分租赁"), "D")); + comboList.add(new ComboItem(new LocaleString("零星租赁"), "F")); + }else{ + comboList.add(new ComboItem(new LocaleString("全面合作"), "A")); + comboList.add(new ComboItem(new LocaleString("局部合作"), "B")); } ComboEdit comboEdit = getView().getControl("zcgj_cooperatemode"); comboEdit.setComboItems(comboList);