| | |
| | | var sWhere = ""; |
| | | var option = []; |
| | | var HModName = "Sb_EquipMaintainBillList_PDA"; |
| | | |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData = ["hmainid", "设å¤ID", "ç¹æ£é¡¹ç®ID", "è´è´£äººID", "hsubid","é
ä»¶ID","åä½ID","hmaterid","HBillType","HEquipMaintainRuleInterID","æºå主å
ç ","æºååå
ç "]; |
| | | //#endregion |
| | | |
| | | //#region è¿å
¥é¡µé¢æ¢å è½½ |
| | |
| | | url: GetWEBURL() + "/Web/GetEquipmentBillsList", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "sWhere": sWhere, "Type": "BY" }, |
| | | data: { "sWhere": sWhere, "Type": "BY", "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | |
| | | if (data1.count == 1) { |
| | |
| | | //å¨å表左边添å å¾éæ¡ |
| | | col.push({ type: 'checkbox', fixed: 'left' }); |
| | | for (var i = 0; i < data.length; i++) { |
| | | if ($.inArray(data[i].name, "") > -1) { |
| | | if ($.inArray(data[i].name, titleData) > -1) { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //éèidå |
| | | } |
| | | else { |