src/main/java/suwu/daopuerp/presentation/formulaui/FormulaSelectUiController.java
/**
     * show the select formula dialog
     *
     * @param callback call back function
     * @param billType
     */
show the select formula dialog
@param callback call back function
@param billType
show the select formula dialog @param callback call back function @param billType
@Override
    public void showFormulaSelectDialog(Consumer<FormulaAndAmountDto> callback, BillType billType) {
        ExternalLoadedUiPackage uiPackage = load();
        FormulaSelectUiController controller = uiPackage.getController();
        controller.callback = callback;
        controller.billType = billType;
        PromptDialogHelper.start("", "").setContent(uiPackage.getComponent()).createAndShow();
    }
@ Override public void showFormulaSelectDialog ( Consumer < FormulaAndAmountDto > callback , BillType billType ) { ExternalLoadedUiPackage uiPackage = load ( ) ; FormulaSelectUiController controller = uiPackage . getController ( ) ; controller . callback = callback ; controller . billType = billType ; PromptDialogHelper . start ( "" , "" ) . setContent ( uiPackage . getComponent ( ) ) . createAndShow ( ) ; }
show the select formula dialog
 @param callback call back function
 @param billType
show the select formula dialog @param callback call back function @param billType