1.修复面积数据填入数据会跳转产品名称bug

This commit is contained in:
李贵强 2025-05-13 15:54:02 +08:00
parent 41fc70df9b
commit 6b555b5f1c
1 changed files with 7 additions and 2 deletions

View File

@ -143,8 +143,8 @@ public class TotalAssignmentPlugin extends AbstractFormPlugin implements RowClic
this.setProductEntryValue(productEntry,collections,id);
}
//依旧选择该行数据
EntryGrid entryGrid = this.getControl("productentry");
entryGrid.selectRows(index);
//EntryGrid entryGrid = this.getControl("productentry");
//entryGrid.selectRows(index);
}
break;
case BILL_NAME:
@ -294,6 +294,11 @@ public class TotalAssignmentPlugin extends AbstractFormPlugin implements RowClic
public void itemClick(ItemClickEvent evt) {
super.itemClick(evt);
if (StringUtils.equals("qeug_advconbaritemap7", evt.getItemKey())) {
//判断是否保存
boolean dataChanged = this.getModel().getDataChanged();
if (dataChanged){
this.getView().invokeOperation("save");
}
//表单id
Object pkValue = this.getModel().getValue("id");
DynamicObjectCollection productEntry = this.getModel().getEntryEntity(PRODUCT_ENTRY);