企业成本核算取数优化

This commit is contained in:
xuhaihui 2025-12-02 16:07:28 +08:00
parent ff9d38395d
commit 4b23687d0b
1 changed files with 6 additions and 5 deletions

View File

@ -387,11 +387,12 @@ public class EntCostSplitBillPlugin extends AbstractBillPlugIn implements Before
}
this.getModel().endInit();
OperateOption option = OperateOption.create();
option.setVariableValue(OperateOptionConst.ISSHOWMESSAGE, "false");
OperationServiceHelper.executeOperate("save", this.getView().getEntityId(),
new DynamicObject[]{this.getModel().getDataEntity()}, option);
this.getView().updateView("entryentity");
this.getView().showSuccessNotification("已完成取数");
this.getView().invokeOperation("refresh");//刷新全局页面
// OperateOption option = OperateOption.create();
// option.setVariableValue(OperateOptionConst.ISSHOWMESSAGE, "false");
// OperationServiceHelper.executeOperate("save", this.getView().getEntityId(),
// new DynamicObject[]{this.getModel().getDataEntity()}, option);
// this.getView().invokeOperation("refresh");//刷新全局页面
}
}