1
yusijie
2024-05-06 62f346794d27086f41f7ce901bdd11eead5249c8
WebTM/views/É豸¹ÜÀí/Sb_EquipMaintainPlanBillList.html
@@ -11,6 +11,7 @@
    <script src="../../layuiadmin/layui/layui.js"></script>
    <script src="../../layuiadmin/HideButton.js"></script>
    <script src="../../../layuiadmin/soulTable.slim.js"></script>
    <script src="../../../layuiadmin/PageTitle.js"></script>
    <style type="text/css">
        input.layui-input.layui-unselect {
            padding-right: 0;
@@ -160,6 +161,13 @@
            var option1 = [];
            var option2 = [];
            var HModName = "Sb_EquipMaintainPlanBillList";
            //#region ã€åŠ¨æ€èŽ·å–æ¨¡å—åç§°ã€‘
            var HModuleType = "3902";
            //通过单据类型,从数据库动态获取单据模块命名,引用js文件 PageTitle.js
            var HPageTitle = get_PageTitle(HModuleType) == "" ? document.title : get_PageTitle(HModuleType);
        //#endregion
            //#region ã€è¿‡æ»¤æ–¹æ¡ˆã€‘
            //过滤条件的classç±» 
@@ -317,6 +325,7 @@
                    , toolbar: '#toolbarDemo'
                    , height: '400'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -324,7 +333,7 @@
                        soulTable.render(this);
                    }
                    , cols: [[
                        { type: 'checkbox', fixed: 'left' }
                        { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                        , { field: 'hmainid', title: 'hmainid', hide: true, sort: true }
                        , { field: '日期', title: '日期', width: 160, templet: "<div>{{d.日期 ==null ?'':layui.util.toDateString(d.日期, 'yyyy-MM-dd')}}</div>", sort: true }
                        , { field: '单据号', title: '单据号', width: 160, sort: true }
@@ -365,6 +374,7 @@
                    //, toolbar: '#toolbarDemo'
                    , height: '350'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -394,6 +404,7 @@
                    //, toolbar: '#toolbarDemo'
                    , height: '350'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -410,8 +421,8 @@
                        , { 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: 'HQty', title: '实际用量', width: 200, totalRow: true }
                        , { field: 'HQtyMust', title: '标准用量', width: 200, totalRow: true }
                        , { field: 'HRemark', title: '备注', width: 200 }
                    ]]
                };
@@ -459,7 +470,7 @@
                layer.open({
                    type: 2,
                    skin: 'layui-layer-rim', //加上边框
                    title: '新增设备保养计划单 ',
                    title: '新增' + HPageTitle,
                    closeBtn: false,
                    shift: 2,
                    area: ['100%', '100%'],
@@ -521,7 +532,7 @@
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '编辑设备保养计划单 '
                        , title: '编辑' + HPageTitle
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启