yangle
2024-06-18 ac5962f71fe0f4fd4e7e44fb74a02bba7ff816b4
WebTM/views/É豸¹ÜÀí/Sb_EqpRepairCheckBillList.html
@@ -10,7 +10,8 @@
    <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all">
    <script src="../../layuiadmin/layui/layui.js"></script>
    <script src="../../layuiadmin/HideButton.js"></script>
    <script src="../../../layuiadmin/soulTable.slim.js"></script>
    <script src="../../layuiadmin/soulTable.slim.js"></script>
    <script src="../../layuiadmin/PageTitle.js"></script>
    <style type="text/css">
        input.layui-input.layui-unselect {
@@ -158,6 +159,15 @@
            //#endregion
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
            //#region ã€åŠ¨æ€èŽ·å–æ¨¡å—åç§°ã€‘
            var HModuleType = "3911";
            //通过单据类型,从数据库动态获取单据模块命名,引用js文件 PageTitle.js
            var HPageTitle = get_PageTitle(HModuleType) == "" ? document.title : get_PageTitle(HModuleType);
        //#endregion
            //初始化界面
            set_ClearBill();
            //#endregion
@@ -226,7 +236,7 @@
                //初始化表格(主表)
                set_InitGrid();
                //查询
                get_Display(sWhere);
                //get_Display(sWhere);
                //查询当前登录用户有没有在当前模块设置默认过滤方案
                get_DefaultModule();
            }
@@ -239,6 +249,7 @@
                    , toolbar: '#toolbarDemo'
                    , height: 'full-50'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -246,7 +257,7 @@
                        soulTable.render(this);
                    }
                    , cols: [[
                        { type: 'checkbox', fixed: 'left' }
                        { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                        , { field: 'hmainid', title: '单据ID', 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 }
@@ -287,7 +298,7 @@
                        , { field: '源单子内码', title: '源单子内码', width: 200, hide: true, sort: true }
                        , { field: '源单单号', title: '源单单号', width: 200, sort: true }
                        , { field: '源单类型', title: '源单类型', width: 200, sort: true }
                        , { field: '关联数量', title: '关联数量', width: 200, sort: true }
                        , { field: '关联数量', title: '关联数量', width: 200, sort: true, totalRow: true }
                        , { field: 'HBillType', title: 'HBillType', width: 200, hide: true, sort: true }
                    ]]
@@ -350,7 +361,7 @@
                layer.open({
                    type: 2,
                    skin: 'layui-layer-rim', //加上边框
                    title: '新增设备维修验收单 ',
                    title: '新增' + HPageTitle,
                    closeBtn: false,
                    shift: 2,
                    area: ['100%', '100%'],
@@ -414,7 +425,7 @@
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '编辑设备维修验收单 '
                        , title: '编辑' + HPageTitle
                        , shade: 0.6 //遮罩透明度
                        , maxmin: true //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
@@ -482,7 +493,7 @@
                            data: { "HInterID": HInterID, "Type": num, "user": sessionStorage["HUserName"] },
                            success: function (result) {
                                if (result.count == 1) {
                                    //get_FastQuery();
                                    get_FastQuery();
                                    layer.msg(result.Message, { icon: 1 });
                                    layer.close(wait);
                                } else {
@@ -515,6 +526,7 @@
                            data: { "HInterID": HInterID, "Type": num, "user": sessionStorage["HUserName"] },
                            success: function (result) {
                                if (result.count == 1) {
                                    get_FastQuery();
                                    layer.msg(result.Message, { icon: 1 });
                                    layer.close(wait);
                                } else {