1
陈雯静
2024-02-28 fda28cff8d6ed7ce1acf878f3a23f8e77ecd53cf
WebTM/views/³µ¼ä¹ÜÀí/±¨±í·ÖÎö/Sc_ProcessErrStationReport.html
@@ -356,9 +356,10 @@
                    type: "GET",
                    url: GetWEBURL() + '/Mes_OrderProcFlowAllReportController/GetSc_ProcessErrStationReport_Json',
                    async: false,    //async用于控制(false)同步和(true)异步,默认的是true,即请求默认的是异步请求
                    data: { "sWhere": sWhere },
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
                    success: function (data1) {
                        if (data1.count == 1) {
                            var totalArray = ["米数"];
                            var data = [];
                            var col = [];
                            //给空的数组赋值
@@ -378,6 +379,10 @@
                                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) {
                                        //int