yangle
2023-08-03 cba0ef063a24b5b965bfa943cf1c8d2c8acba84a
WebTM/views/É豸¹ÜÀí/Sb_EquipMaintainBillList.html
@@ -261,6 +261,9 @@
            //#region æ­¤é¡µé¢æ‰€æœ‰æ–¹æ³•
            function set_ClearBill() {
                //初始化日期
                $("#BenginHCreateDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));//开始日期
                $("#EndHCreateDate").val(Format(new Date(), "yyyy-MM-dd"));//结束日期
                //初始化表格(主表)
                set_InitGrid();
                //初始化表格(子表1)
@@ -375,9 +378,9 @@
                        , { field: 'HUnitID', title: '单位ID', width: 200, hide: true }
                        , { field: 'HUnitNumber', title: '单位代码', width: 200 }
                        , { field: 'HUnitName', title: '单位名称', width: 200 }
                        , { field: 'HManagerID', title: '负责人ID', width: 200, hide: true }
                        , { field: 'HManagerNumber', title: '负责人代码', width: 200 }
                        , { field: 'HManagerName', title: '负责人', width: 200 }
                        //, { field: 'HManagerID', title: '负责人ID', width: 200, hide: true }
                        //, { field: 'HManagerNumber', title: '负责人代码', width: 200 }
                        //, { field: 'HManagerName', title: '负责人', width: 200 }
                        , { field: 'HQty', title: '实际用量', width: 200 }
                        , { field: 'HQtyMust', title: '标准用量', width: 200 }
                        , { field: 'HRemark', title: '备注', width: 200 }
@@ -613,7 +616,7 @@
                    sWhere += " and CONVERT(varchar(100),日期, 23) >= '" + BenginHCreateDate + "'";
                }
                if (EndHCreateDate) {
                    sWhere += " and CONVERT(varchar(100),日期, 23) >= '" + EndHCreateDate + "'";
                    sWhere += " and CONVERT(varchar(100),日期, 23) <= '" + EndHCreateDate + "'";
                }
                get_Display(sWhere);
                sWhere = "";//调用接口后清空sWhere缓存
@@ -624,8 +627,8 @@
                $("#HBillNo").val("");//单据号
                $("#HSourceBillNo").val("");//源单号
                $("#HCreateBy").val("");//制单人
                $("#BenginHCreateDate").val("");//开始制单时间
                $("#EndHCreateDate").val("");//结束制单时间
                $("#BenginHCreateDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));//开始日期
                $("#EndHCreateDate").val(Format(new Date(), "yyyy-MM-dd"));//结束日期
                $("#ColContent").val("");
                $("#ColName").val("0");
                $("#Comparator").val("0");