yxj
2024-02-23 21c5f34f308c293c30b0dacf8bf8025937568f39
WebTM/views/³µ¼ä¹ÜÀí/ίÍ⹤Ðò·¢³öµ¥/Cj_StationEntrustInBillList.html
@@ -204,6 +204,7 @@
                    , toolbar: '#toolbarDemo'
                    , height: 'full-50'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -227,7 +228,7 @@
                        , { field: 'HProcID', title: 'HProcID', hide: true }
                        , { field: '工序代码', title: '工序代码' }
                        , { field: '工序', title: '工序', sort: true }
                        , { field: '发出数量', title: '发出数量' }
                        , { field: '发出数量', title: '发出数量', totalRow: true}
                        , { field: '发出时间', title: '发出时间' }
                        , { field: '备注', title: '备注' }
                        , { field: '是否打印', title: '是否打印' }
@@ -235,7 +236,7 @@
                        , { field: '制单日期', title: '制单日期' }
                        , { field: '修改人', title: '修改人' }
                        , { field: '修改日期', title: '修改日期' }
                        , { field: '流转卡数量', title: '流转卡数量' }
                        , { field: '流转卡数量', title: '流转卡数量', totalRow: true }
                        , { field: '审核人', title: '审核人' }
                        , { field: '审核日期', title: '审核日期' }
                        , { field: '关闭人', title: '关闭人' }
@@ -318,6 +319,7 @@
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                    success: function (data1) {
                        if (data1.count == 1) {
                            var totalArray = ["发出数量", "流转卡数量"];
                            var data = [];
                            var col = [];
                            //给空的数组赋值
@@ -330,6 +332,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) {
@@ -351,6 +356,7 @@
                                , data: data1.data
                                , height: 550
                                , page: true
                                , totalRow: true
                                , cellMinWidth: 90
                                , limit: 50
                                , limits: [50, 500, 5000, 20000]