1
陈雯静
2024-02-28 fda28cff8d6ed7ce1acf878f3a23f8e77ecd53cf
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Sb_Add_MouldRepairWorkBillList.html
@@ -306,6 +306,7 @@
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../../layuiadmin/PubCustom.js"></script>
    <script src="../../../layuiadmin/PageTitle.js"></script>
    <script>
        //获取参数
        var params = get_UrlVars();
@@ -338,6 +339,13 @@
            //#endregion
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
            //#region ã€åŠ¨æ€èŽ·å–æ¨¡å—åç§°ã€‘
            var HModuleType = "3807";
            //通过单据类型,从数据库动态获取单据模块命名,引用js文件 PageTitle.js
            var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType);
            $("h1").html('<b>' + HPageTitle + '</b>');
         //#endregion
            //初始化表单插件
            set_InitFrom();
@@ -912,7 +920,7 @@
            function set_InitGrid() {
                //表头
                columns = [
                    { type: 'checkbox', fixed: 'left' }
                    { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                    , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left', event: "qwe" }
                    , { field: 'HRepairID', title: '维修项目ID', edit: 'text', hide: true }
                    , { field: 'HRepairCode', title: '维修项目代码', edit: 'text', event: "HRepairCode" }
@@ -934,6 +942,7 @@
                    , elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 120
                    , height: 500
                    , cols: [columns]
@@ -947,14 +956,14 @@
            function set_InitGrid1() {
                //表头
                columns = [
                    { type: 'checkbox', fixed: 'left' }
                    { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                    , { templet: '#xuhao1', title: '序号', sort: true, fixed: 'left', event: "qwe" }
                    , { field: 'HMaterID', title: '配件ID', edit: 'text', hide: true }
                    , { field: 'HMaterNumber', title: '配件代码', edit: 'text', event: "HMaterNumber", }
                    , { field: 'HUnitID', title: '单位ID', edit: 'text', event: "", hide: true }
                    , { field: 'HUnitNumber', title: '单位代码', edit: 'text', event: "HUnitNumber" }
                    , { field: 'HQty', title: '实际用量', edit: 'text' }
                    , { field: 'HQtyMust', title: '单位用量', edit: 'text' }
                    , { field: 'HQty', title: '实际用量', edit: 'text', totalRow: true }
                    , { field: 'HQtyMust', title: '单位用量', edit: 'text', totalRow: true }
                    , { field: 'HRemark', title: '备注', edit: 'text' }
                    , { fixed: 'right', title: '操作', toolbar: '#barDemo1', width: 150 }
                ];
@@ -963,6 +972,7 @@
                    , elem: '#mainTable1'
                    , toolbar: '#toolbarDemo1'
                    , page: false
                    , totalRow: true
                    , cellMinWidth: 120
                    , height: 500
                    , cols: [columns]
@@ -1569,7 +1579,7 @@
                return true;
            }
        }
                        //#endregion
                            //#endregion
    </script>
</body>
</html>