| | |
| | | url: GetWEBURL() + "/ProdProcessSumReport/ProdProcessSumReport_DyeColor_third", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | //async: false, |
| | | success: function (data1) { |
| | | |
| | | if (data1.count == 1) { |
| | | |
| | | var totalArray = ["ç产æ°é", "ç½å¯åå¸"]; |
| | | var data = []; |
| | | var col = []; |
| | | //ç»ç©ºçæ°ç»èµå¼ |
| | |
| | | for (var i = 0; i < data.length; i++) { |
| | | if ($.inArray(data[i].name, "") > -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 if (data[i].ColName == 'ç½å¯åå¸') { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true }); |
| | |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 160 } |
| | | , { field: 'ä¸å¡å', title: 'ä¸å¡å', width: 160 } |
| | | , { field: '客æ·', title: '客æ·', width: 160 } |
| | | , { field: 'ç产任å¡åæ°é', title: 'ç产任å¡åæ°é', width: 200 } |
| | | , { field: 'ç产任å¡åæ°é', title: 'ç产任å¡åæ°é', totalRow: true, width: 200 } |
| | | , { field: 'ç½å¯åå¸', title: 'ç½å¯åå¸', width: 160, totalRow: true } |
| | | , { field: 'æ¯å¦ä¸æ¨çææµè½¬å¡', title: 'æ¯å¦ä¸æ¨çææµè½¬å¡', width: 160 } |
| | | ]] |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/ProdProcessSumReport/ProdProcessSumReport_DyeColor_third', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | //è°æ´æ¥ææ ¼å¼ï¼æ¾ç¤º å¹´ææ¥ å æ¶ |