zzr99
2021-08-24 5a430f05a47048180472be67af70ff6fc972b3af
WebTM/views/É豸¹ÜÀí/Sb_EquipDotCheckBillList.html
@@ -152,33 +152,25 @@
                        break;
                };
            });
            //#endregion
            //#region æŸ¥è¯¢æŒ‰é’®
            //查询按钮
            form.on('submit(btnSearch)', function (data) {
                get_FastQuery();
            });
            //#endregion
            //#region é‡ç½®æŒ‰é’®
            //置按钮
            form.on('submit(btnReSearch)', function (data) {
                set_ClearQuery();
            });
            //#endregion
           //#endregion
            //#region æœ¬é¡µé¢æ‰€æœ‰è¢«è°ƒç”¨çš„æ–¹æ³•
            //#region åˆå§‹åŒ–界面
            //初始化界面
            function set_ClearBill() {
                //初始化表格
                set_InitGrid();
                //查询
                get_Display(sWhere);
            }
            //#endregion
            //#region åˆå§‹åŒ–表格方法
            //初始化表格方法
            function set_InitGrid() {
                option = {
                    elem: '#mainTable'
@@ -227,9 +219,7 @@
                    ]]
                };
            }
            //#endregion
            //#region æŸ¥è¯¢
            //查询
            function get_Display(sWhere) {
                var ajaxLoad = layer.load();
                //进入页面显示的缓存列表
@@ -252,9 +242,7 @@
                    }
                });
            }
            //#endregion
            //#region æ–°å¢ž
            //新增
            function set_AddNew() {
                layer.open({
                    type: 2,
@@ -274,9 +262,7 @@
                    }
                });
            }
            //#endregion
            //#region ç¼–辑
            //编辑
            function set_ShowBill() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
@@ -305,9 +291,7 @@
                    layer.msg('请选择一行数据编辑!');
                }
            }
            //#endregion
            //#region åˆ é™¤
            //删除
            function set_DeleteBill() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
@@ -345,9 +329,7 @@
                }
            }
            //#endregion
            //#region å¿«é€Ÿè¿‡æ»¤
            //快速过滤
            function get_FastQuery() {
                var HBillType = $("#HBillType").val();//单据类型
                var HBillNo = $("#HBillNo").val();//单据号
@@ -369,9 +351,7 @@
                get_Display(sWhere);
                sWhere = "";//调用接口后清空sWhere缓存
            }
            //#endregion
            //#region é‡ç½®è¿‡æ»¤æ¡ä»¶æ–¹æ³•
            //重置过滤条件方法
            function set_ClearQuery() {
                $("#HBillType").val("");//单据类型
                $("#HBillNo").val("");//单据号
@@ -381,9 +361,7 @@
                $("#EndHCreateDate").val("");//结束制单时间
                sWhere = "";
            }
            //#endregion
            //#region åˆ·æ–°
            //刷新
            function get_Refresh() {
                set_ClearQuery();
                get_Display(sWhere);