this.lockUIForViewStatus() //只读
this.unLockUI() //可编辑
如果其他字段需要开放出来的话比如:
kdtEntrys.setAccessAuthority(0);
kdtEntrys.setEditable(true);
反操作:
txtsubPayAmount.setAccessAuthority(1);
this.txtsubPayAmount.setEditable(false);
this.lockUIForViewStatus() //只读
this.unLockUI() //可编辑
如果其他字段需要开放出来的话比如:
kdtEntrys.setAccessAuthority(0);
kdtEntrys.setEditable(true);
反操作:
txtsubPayAmount.setAccessAuthority(1);
this.txtsubPayAmount.setEditable(false);