zzr99
2022-08-08 75a6bc306d469b4e262e7a600e3fa52df289ceca
WebTM/views/É豸¹ÜÀí/É豸¹æ³Ìµ¥/Sb_EquipDotCheckRuleList.html
@@ -138,8 +138,11 @@
            form.on('submit(btnSearch)', function (data) {
                get_FastQuery();
            });
            //重置按钮
            form.on('submit(btnReSearch)', function (data) {
                get_Refresh();
            });
            //#endregion
@@ -160,15 +163,14 @@
                    , toolbar: '#toolbarDemo'
                    , height: 'full-50'
                    , page: true
                    , limits: [50,200,500,1000,5000,10000]
                    , limits: [50, 500, 5000, 20000]
                    , limit: 50 //每页默认显示的数量
                    , cellMinWidth: 200
                    , limit: 50
                    , limits: [50, 200, 500, 1000, 5000, 10000]
                    , cols: [[
                        { type: 'checkbox', fixed: 'left' }
                        , { field: 'hmainid', title: 'hmainid', sort: true, hide: true }
                        , { field: '日期', title: '日期', templet: "<div>{{d.日期 ==null ?'':layui.util.toDateString(d.日期, 'yyyy-MM-dd')}}</div>"}
                        , { field: '单据号', title: '单据号' }
                        , { field: '点检周期', title: '点检周期' }
                        , { field: '周期单位', title: '周期单位' }
                        , { field: '计划开始日期', title: '计划开始日期', templet: "<div>{{d.日期 ==null ?'':layui.util.toDateString(d.日期, 'yyyy-MM-dd')}}</div>"}
@@ -204,7 +206,7 @@
                $.ajax({
                    url: GetWEBURL() + '/Sb_EquipDotCheckRuleBill/GetEquipDotCheckRuleList',
                    type: "GET",
                    data: { "sWhere": sWhere},
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                    success: function (data1) {
                        if (data1.count == 1) {
                            option.data = data1.data;
@@ -310,7 +312,7 @@
                        $.ajax({
                            type: "GET",
                            url: GetWEBURL() + '/Sb_EquipDotCheckRuleBill/DeleteEquipDotCheckRuleBillList',
                            data: { "HInterID": HInterID},
                            data: { "HInterID": HInterID, "user": sessionStorage["HUserName"]},
                            success: function (result) {
                                if (result.count == 1) {
                                    layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
@@ -419,9 +421,12 @@
            //刷新
            function get_Refresh() {
                $("#HNumber").val("");
                $("#HName").val("");
                $("#btnSearch").click();
                 $("#HBillNo").val("");//单据号
                 $("#HCreateBy").val("");//制单人
                $("#BenginHCreateDate").val("");//开始制单时间
                $("#EndHCreateDate").val("");//结束制单时间
                sWhere = "";
                get_Display(sWhere);
            }
            //以上是layui模块