| | |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | var data = []; |
| | | var col = []; |
| | | var totalArray = ["ä¸ç»©å æ¯"]; |
| | | var data = []; |
| | | var col = []; |
| | | //ç»ç©ºçæ°ç»èµå¼ |
| | |
| | | // 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) { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PM_ProjectBill/CheckPM_WorkPlanMonthBillMain', |
| | | type: "GET", |
| | | data: { "HInterID": InterID, "IsAudit": nums, "user": sessionStorage["HUserName"] }, |
| | | data: { "HInterID": InterID, "IsAudit": nums, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PM_ProjectBill/CheckPM_WorkPlanMonthBillMain', |
| | | type: "GET", |
| | | data: { "HInterID": InterID, "IsAudit": nums, "user": sessionStorage["HUserName"] }, |
| | | data: { "HInterID": InterID, "IsAudit": nums, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |