1
yusijie
2024-07-17 935219b5711d3a599a18235a3f41b1b4d26f564f
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Sc_MouldMaintainPlanBillList.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/zgqCustom/zgqCustom.js"></script>
    <style type="text/css">
        input.layui-input.layui-unselect {
            padding-right: 0;
@@ -371,34 +372,34 @@
                    }
                });
            })
            //#region
            table.on('tool(mainTable)', function (obj) {
                var data = obj.data;
                if (obj.event == '单据号') {
                    var linterid = data.hmainid.toString();
                    layer.open({
                        type: 2,
                        area: ['100%', '100%'],
                        title: '编辑器具保养',
                        closeBtn: 1,
                        shade: 0.7,
                        maxmin: true,
                        anim: 0,
                        content: '../模治具管理/Sc_Add_MouldMaintainPlanBillList.html?OperationType=3&linterid=' + hID + '&HSouceBillType=&closeType=1',
                        resize: false,
                        end: function () {
                            get_FastQuery(table, option);
                        },
                        cancel: function () {
                        }
                    })
                }
            });
            //#endregion
            ////#region
            //table.on('tool(mainTable)', function (obj) {
            //    var data = obj.data;
            //    if (obj.event == '单据号') {
            //        var linterid = data.hmainid.toString();
            //        layer.open({
            //            type: 2,
            //            area: ['100%', '100%'],
            //            title: '编辑器具保养' + HPageTitle,
            //            closeBtn: 1,
            //            shade: 0.7,
            //            maxmin: true,
            //            anim: 0,
            //            content: '../模治具管理/Sc_Add_MouldMaintainPlanBillList.html?OperationType=3&linterid=' + hID + '&HSouceBillType=&closeType=1',
            //            resize: false,
            //            end: function () {
            //                get_FastQuery(table, option);
            //            },
            //            cancel: function () {
            //            }
            //        })
            //    }
            //});
            ////#endregion
            //快速过滤
            function get_FastQuery(table, option) {
@@ -776,9 +777,9 @@
                                }
                                else if ($.inArray(data[i].name, totalArray) - 1) {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, table: true, width: 120 })
                                }/* else if (data[i].name == '单据号') {*/
                                //    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, event:'单据号' })
                                //}
                                }else if (data[i].name == '单据号') {
                                 col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, event:'单据号' })
                               }
                                else {
                                    switch (data[i].Type) {
                                        //int