1.修复面积数据填入数据会跳转产品名称bug
This commit is contained in:
parent
41fc70df9b
commit
6b555b5f1c
|
@ -143,8 +143,8 @@ public class TotalAssignmentPlugin extends AbstractFormPlugin implements RowClic
|
||||||
this.setProductEntryValue(productEntry,collections,id);
|
this.setProductEntryValue(productEntry,collections,id);
|
||||||
}
|
}
|
||||||
//依旧选择该行数据
|
//依旧选择该行数据
|
||||||
EntryGrid entryGrid = this.getControl("productentry");
|
//EntryGrid entryGrid = this.getControl("productentry");
|
||||||
entryGrid.selectRows(index);
|
//entryGrid.selectRows(index);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case BILL_NAME:
|
case BILL_NAME:
|
||||||
|
@ -294,6 +294,11 @@ public class TotalAssignmentPlugin extends AbstractFormPlugin implements RowClic
|
||||||
public void itemClick(ItemClickEvent evt) {
|
public void itemClick(ItemClickEvent evt) {
|
||||||
super.itemClick(evt);
|
super.itemClick(evt);
|
||||||
if (StringUtils.equals("qeug_advconbaritemap7", evt.getItemKey())) {
|
if (StringUtils.equals("qeug_advconbaritemap7", evt.getItemKey())) {
|
||||||
|
//判断是否保存
|
||||||
|
boolean dataChanged = this.getModel().getDataChanged();
|
||||||
|
if (dataChanged){
|
||||||
|
this.getView().invokeOperation("save");
|
||||||
|
}
|
||||||
//表单id
|
//表单id
|
||||||
Object pkValue = this.getModel().getValue("id");
|
Object pkValue = this.getModel().getValue("id");
|
||||||
DynamicObjectCollection productEntry = this.getModel().getEntryEntity(PRODUCT_ENTRY);
|
DynamicObjectCollection productEntry = this.getModel().getEntryEntity(PRODUCT_ENTRY);
|
||||||
|
|
Loading…
Reference in New Issue