ch
2022-03-10 1278472a0c96eaeb4a8bbe04df2c23b0eb52e2ff
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξֿ߲â¹ÜÀí/Sc_MouldProdInBillList.html
@@ -75,6 +75,18 @@
                                            <input type="text" class="layui-input" name="HDept" id="HDept" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">物料代码</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">器具代码</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HModelNumber" id="HModelNumber" style="width:190px;">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
@@ -246,10 +258,10 @@
                    , page: true
                    , cellMinWidth: 120
                    , totalRow: true
                    , limit: 10
                    , limit: 50
                    , height: 'full-50'
                    , cols: [columns]
                    , limits: [50, 500, 1000, 5000]
                    , limits: [50, 500, 5000, 20000]
                    , done: function (res, curr, count) {
                    }
@@ -631,6 +643,8 @@
                var HEndDate = $("#HEndDate").val();//结束日期
                var HBillNo = $("#HBillNo").val(); //单据号
                var HDept = $("#HDept").val();       //部门信息
                var HMaterNumber = $("#HMaterNumber").val();       //部门信息
                var HModelNumber = $("#HModelNumber").val();       //部门信息
                if (HStatus) {
                    switch (HStatus) {
                        case '-1':   //全部
@@ -660,6 +674,12 @@
                if (HDept) {
                    sWhere += " and éƒ¨é—¨åç§° like '%" + HDept + "%'";
                }
                if (HMaterNumber) {
                    sWhere += " and ç‰©æ–™ä»£ç  like '%" + HMaterNumber + "%'";
                }
                if (HModelNumber) {
                    sWhere += " and æ¨¡å…·ä»£ç  like '%" + HModelNumber + "%'";
                }
                var index = layer.load(0);
                get_Display(sWhere);
                //调用接口后清空sWhere缓存
@@ -672,6 +692,8 @@
                $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HBillNo").val("");
                $("#HDept").val("");
                $("#HMaterNumber").val("");
                $("#HModelNumber").val("");
                sWhere = "";
                get_Display(sWhere);
            }