EasyUI reports an error in submitting the form

the error is as follows:
clipboard.png
code is as follows:

$("-sharpaddForm").form("submit", {
                url: "warm_car_customer_invite_friend_create",
                onSubmit: function () {
                    alert("erefge");
                    $.messager.progress({
                        text: ""
                    });
                    var flag = $(this).form("validate");
                    if (!flag) {
                        $.messager.progress("close");
                    }
                    return flag;
                },
                success: function (result) {
                    $.messager.progress("close");
                    if (result == "success") {
                        $.messager.alert("", "", "info");
                        $("-sharpdataGrid").datagrid("reload");
                        $("-sharpaddForm").form("clear");
                        $("-sharpaddView").dialog("close");
                    } else {
                        $.messager.alert("", "", "info");
                        $("-sharpdataGrid").datagrid("reload");
                        $("-sharpaddView").dialog("close");
                    }
                }
            });
Mar.01,2021

is the form element in html written as from.

Menu