yusijie
2024-01-19 fb7992286339b1979f4d9fb668228dc583b0ba4b
WebTM/views/ÏúÊÛ¹ÜÀí/ÐÅÓöî¶ÈÉêÇëµ¥/Xs_CusRatingChangeBillList.html
@@ -284,6 +284,7 @@
                    , toolbar: '#toolbarDemo'
                    , height: 'full-50'
                    , page: true
                    , totalRow: true
                    //, cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 50000]
@@ -301,6 +302,7 @@
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                    success: function (data1) {
                        if (data1.count == 1) {
                            var totalArray = ["原额度","新额度"];
                            var data = [];
                            var col = [];
                            //给空的数组赋值
@@ -313,6 +315,9 @@
                                // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
                                if ($.inArray(data[i].name, titleData) > -1) {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //隐藏id列
                                }
                                else if ($.inArray(data[i].name, totalArray) > -1) {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 });
                                }
                                else {
                                    switch (data[i].Type) {
@@ -425,7 +430,7 @@
                    , title: '信用额度申请单-新增'
                    , shift: 0//弹出动画
                    , content: '../../销售管理/信用额度申请单/Xs_CusRatingChangeBill.html?OperationType=1&linterid=0&HSouceBillType='
                    ,btn: ['确定'],
                    ,btn: [],
                    end: function (index, layero, that) {
                        //刷新页面
                        $("#btnSearch").trigger('click');
@@ -447,7 +452,7 @@
                        , title: '信用额度申请单-编辑'
                        , shift: 0//弹出动画
                        , content: '../../销售管理/信用额度申请单/Xs_CusRatingChangeBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                        , btn: ['确定'],
                        , btn: [],
                        end: function (index, layero, that) {
                            //刷新页面
                            $("#btnSearch").trigger('click');
@@ -472,7 +477,7 @@
                        , title: '项目阶段列表-浏览'
                        , shift: 0//弹出动画
                        , content: '../../项目管理/项目阶段/Add_Edit_Gy_ProjectStage.html?OperationType=4&linterid=' + linterid + '&HSouceBillType='
                        , btn: ['确定'],
                        , btn: [],
                        // æŒ‰é’®1 çš„回调
                        btn1: function (index, layero, that) {
                            //刷新页面