项目建立:分录设置默认值修改--补充提交
This commit is contained in:
parent
6aa29c681b
commit
6e67bd8b3f
|
@ -258,11 +258,16 @@ public class TotalAssignmentPlugin extends AbstractFormPlugin implements RowClic
|
|||
this.getView().addClientCallBack("auto_save", 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterCreateNewData(EventObject e) {
|
||||
super.afterCreateNewData(e);
|
||||
DynamicObjectCollection keynodeentry = (DynamicObjectCollection)this.getModel().getValue("keynodeentry");
|
||||
if (keynodeentry!=null) {
|
||||
for (int i = 0; i < keynodeentry.size(); i++) {
|
||||
DynamicObject dynamicObject = keynodeentry.get(i);
|
||||
switch (i){
|
||||
switch (i+1){
|
||||
case 1:dynamicObject.set("knentry_node","现场踏勘");break;
|
||||
case 2:dynamicObject.set("knentry_node","项目立项");break;
|
||||
case 3:dynamicObject.set("knentry_node","项目启动");break;
|
||||
|
|
Loading…
Reference in New Issue