@Override
public void onLoad() throws Exception {
super.onLoad();
//单据未生成凭证之前,"收款类型"为可编辑、“往来户”也可编辑
boolean hasFV = this.editData.isFiVouchered();
if(!hasFV){
//收款类型
f7RecBillType.setEnabled(true);
f7RecBillType.setEditable(true);
f7RecBillType.setReadOnly(false);
//往来户
prmtPayer.setEnabled(true);
prmtPayer.setEditable(true);
prmtPayer.setReadOnly(false);
}
}
EAS BOS:如何让表头的字段在单据提交后还能进行修改
最新推荐文章于 2024-09-19 10:56:55 发布