chenhaozhe
2025-06-16 56117095307664aeca7e821b2210f04d6ae91aa7
WebTM/views/PublicPage/ProductionOrder.html
@@ -134,11 +134,16 @@
            //查询条件
            var sWhere = "";
            $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));
            $("#HDate1").val(Format(new Date(), "yyyy-MM-dd"));
            sWhere += " and CONVERT(varchar(100),日期, 23) >= '" + $("#HDate").val() + "'";
            sWhere += " and CONVERT(varchar(100),日期, 23) <= '" + $("#HDate1").val() + "'";
            var index = layer.load(0);
            table.render({
                elem: '#mainTable'
                , url: GetWEBURL() + '/Sc_ProductionOrder/GetProductionOrderBill'
                , where: { sWhere: "" } //扩展参数,可以传数据到后台
                , where: { sWhere: sWhere  } //扩展参数,可以传数据到后台
                , page: true   //开启分页
                , limit: 20     //一页能够显示的最大数目
                ,limits: [20, 40,60,80,100] //控制多少行一页(默认五条一页)