fix:智能审批单据注册,子单据体修改会清空父分录标识

This commit is contained in:
zzs 2024-12-06 14:22:41 +08:00 committed by ljw
parent 9ceaea2803
commit 35d101386a

View File

@ -92,8 +92,9 @@ public class IntebilllogonFormPlugIn extends AbstractBillPlugIn implements Befor
int row = this.getModel().getEntryCurrentRowIndex("yem_signentryentity");
String yem_parentcontainer = (String) model.getValue("yem_parentcontainer", row);
if (StringUtils.isNotEmpty(yem_parentcontainer)) {
model.setValue("yem_parentcontainer", "", row);
model.setValue("yem_parentname", "", row);
// zzs禁用 20241206原因智能审批 子单据体的字段清空或者修改时 父分录标识就被清空了 不应该清空
// model.setValue("yem_parentcontainer", "", row);
// model.setValue("yem_parentname", "", row);
}
}
}