1
陈雯静
2024-02-28 fda28cff8d6ed7ce1acf878f3a23f8e77ecd53cf
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Sc_Add_MouldMaintainBillList.html
@@ -172,6 +172,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();
@@ -205,6 +206,14 @@
            //#endregion
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
            //#region ã€åŠ¨æ€èŽ·å–æ¨¡å—åç§°ã€‘
            var HModuleType = "3819";
            //通过单据类型,从数据库动态获取单据模块命名,引用js文件 PageTitle.js
            var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType);
            $("h1").html('<b>' + HPageTitle + '</b>');
            //#endregion
            //初始化表单插件
            set_InitFrom();
@@ -349,7 +358,7 @@
                    }
                });
            });
            //表头信息器具保养规程
@@ -496,7 +505,7 @@
                                else {
                                    layer.msg("无保养规程!")
                                }
                                if (BYData.length != 0)  //表体数据为空时
                                {
@@ -878,7 +887,7 @@
            function Table1() {
                //表头
                columns = [
                    { type: 'checkbox', fixed: 'left' }
                    { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                    , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left' }
                    , { field: 'HMaintainItemID', title: '保养项目ID', edit: 'text', hide: true }
                    , { field: 'HMaintainItemNumber', title: '保养项目代码', edit: 'text', event: 'HMaintainItemNumber' }
@@ -887,7 +896,7 @@
                    , { field: 'HClaim', title: '具体要求', edit: 'text' }
                    , { field: 'HManagerID', title: '负责人ID', edit: 'text', hide: true }
                    , { field: 'HManagerNumber', title: '负责人代码', edit: 'text', event: 'HManagerNumber' }
                    , { field: 'HManagerName', title: '负责人'}
                    , { field: 'HManagerName', title: '负责人' }
                    , { field: 'HRemark', title: '备注', edit: 'text' }
                    , { fixed: 'right', title: '操作', toolbar: '#barDemo' }
                ];
@@ -896,6 +905,7 @@
                    , elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , page: false
                    , totalRow: true
                    , cellMinWidth: 120
                    , height: 500
                    , cols: [columns]
@@ -909,8 +919,8 @@
            function Table2() {
                //表头
                columns1 = [
                    { type: 'checkbox', fixed: 'left' }
                    , { templet: '#xuhao1', title: '序号', sort: true, fixed: 'left'}
                    { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                    , { templet: '#xuhao1', title: '序号', sort: true, fixed: 'left' }
                    , { field: 'HMaterID', title: '配件ID', edit: 'text', hide: true }
                    , { field: 'HMaterNumber', title: '配件代码', edit: 'text', event: "HMaterNumber" }
                    , { field: 'HMaterName', title: '配件名称' }
@@ -918,8 +928,8 @@
                    , { field: 'HUnitID', title: '单位ID', edit: 'text', hide: true }
                    , { field: 'HUnitNumber', title: '单位代码', edit: 'text', event: "HUnitNumber" }
                    , { field: 'HUnitName', title: '单位名称' }
                    , { 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' }
                ];
@@ -928,6 +938,7 @@
                    , elem: '#mainTable1'
                    , toolbar: '#toolbarDemo1'
                    , page: false
                    , totalRow: true
                    , cellMinWidth: 120
                    , height: 500
                    , cols: [columns1]