zrg
2024-01-31 10802972a8bb5de96baea87ffbed427ae5ec2eaf
WebTM/views/ÏîÄ¿¹ÜÀí/¹¤×÷ÈÎÎñ/PM_WorkTaskBillList.html
@@ -56,7 +56,7 @@
                                <div class="layui-inline">
                                    <label class="layui-form-label" style="width: 85px;">组织</label>
                                    <div class="layui-input-block" style="margin-left: 120px; width: 185px;">
                                        <select name="HOrgID" id="HOrgID " class=" ForFilteringSchemes" lay-verify="HOrgID">
                                        <select name="HOrgID" id="HOrgID" class=" ForFilteringSchemes" lay-verify="HOrgID">
                                            <!--动态渲染组织-->
                                        </select>
                                    </div>
@@ -86,7 +86,7 @@
                                        <div class="layui-inline">
                                            <label class="layui-form-label">过滤</label>
                                            <div class="layui-input-block">
                                                <select name="ColName" id="ColName " class=" ForFilteringSchemes" lay-filter="ColName" style="width:190px;">
                                                <select name="ColName" id="ColName" class=" ForFilteringSchemes" lay-filter="ColName" style="width:190px;">
                                                </select>
                                            </div>
                                        </div>
@@ -321,11 +321,13 @@
                //查询
                if (addSWhereByOpenType()) {          //addSWhereByOpenType()方法判断是否其它页面打开本页面,若是则处理过滤条件,并返回true
                    get_FastQuery(2);
                } else {
                    get_FastQuery(1);
                }
                //查询当前登录用户有没有在当前模块设置默认过滤方案
                get_DefaultModule();
            }
            //#endregion
@@ -377,6 +379,7 @@
                $.ajax({
                    url: GetWEBURL() + '/PM_WorkTaskBill/list',
                    type: "GET",
                    async: false,
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                    success: function (data1) {
                        if (data1.count == 1) {
@@ -1093,15 +1096,24 @@
                                    $("#" + data[i].过滤字段ID).find("option[value='" + data[i].过滤值 + "']").attr("selected", true);
                                }
                            }
                            //执行查询方法
                            get_FastQuery()
                            //查询
                            if (addSWhereByOpenType()) {          //addSWhereByOpenType()方法判断是否其它页面打开本页面,若是则处理过滤条件,并返回true
                                get_FastQuery(2);
                            } else {
                                get_FastQuery(1);
                            }
                            form.render("select");
                        } else {
                            //当前用户没有设置默认的过滤方案
                            //隐藏显示过滤方案的标签信息
                            document.getElementById("HFilterScheme_Now").style.display = "none";
                            //执行查询方法
                            get_FastQuery()
                            //查询
                            if (addSWhereByOpenType()) {          //addSWhereByOpenType()方法判断是否其它页面打开本页面,若是则处理过滤条件,并返回true
                                get_FastQuery(2);
                            } else {
                                get_FastQuery(1);
                            }
                            form.render("select");
                        }
                    }, error: function () {