支出合同结算系统二开代码修改
This commit is contained in:
parent
c0be996738
commit
b936f7eabc
|
@ -57,6 +57,9 @@ import kd.ec.contract.utils.SettleUpdateAmtUtils;
|
|||
import org.apache.commons.beanutils.ConvertUtils;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
|
||||
/*
|
||||
* 支出合同结算单系统插件二开
|
||||
*/
|
||||
public class OutContractSettleEditPluginExt extends AbstractBillPlugIn implements HyperLinkClickListener, BeforeF7SelectListener {
|
||||
private static final String TREE_CONTROL_PROJECT = "treecontrolproject";
|
||||
private static final String TREE_CONTROL_UNITPROJECT = "treecontrolunitproject";
|
||||
|
@ -589,7 +592,14 @@ public class OutContractSettleEditPluginExt extends AbstractBillPlugIn implement
|
|||
this.getModel().deleteEntryData("materialinentry");
|
||||
this.getModel().setValue("issettlebyreconc", false);
|
||||
this.getModel().deleteEntryData("reconcentry");
|
||||
this.getModel().setValue("iseqsettle", false);
|
||||
Object value = this.getModel().getValue("contattr");//合同属性
|
||||
if (value != null) {
|
||||
DynamicObject contAttr = (DynamicObject) value;
|
||||
String numebr = contAttr.getString("number");
|
||||
if (!numebr.equals("sbwbl")) {
|
||||
this.getModel().setValue("iseqsettle", false);
|
||||
}
|
||||
}
|
||||
this.getModel().deleteEntryData("eqsettleentry");
|
||||
DynamicObject contract = (DynamicObject)changeData.getNewValue();
|
||||
if (contract == null) {
|
||||
|
|
Loading…
Reference in New Issue