| | |
| | | function get_Display(sWhere) { |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_KeyElementBinding/list', |
| | | url: GetWEBURL() + '/Cj_SingleStation/UnbindBarList', |
| | | async: false, |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | |
| | | } |
| | | 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].name == 'åæ®å·') { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: 'åæ®å·', filter: true}); |
| | | } |
| | | else if (data[i].name == 'é
ä»¶æ¡ç ') { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: 'é
ä»¶æ¡ç ', filter: true }); |
| | | } |
| | | else if (data[i].name == 'æ¥æ') { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', filter: { type: 'date[yyyy-MM-dd HH:mm:ss]' }, sort: true, width: 200 }); |
| | | } |
| | | } |
| | | else { |
| | | switch (data[i].Type) { |
| | | //int |
| | |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 200 |
| | | , limits: [50, 200, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | soulTable.render(this); |
| | | } |
| | |
| | | sWhere += " and ç产订åå· like '%" + HICMOBillNo + "%'"; |
| | | } |
| | | if (HBarcode_SN) { |
| | | sWhere += " and SNç like '%" + HBarcode_SN + "%'"; |
| | | sWhere += " and DSN like '%" + HBarcode_SN + "%'"; |
| | | } |
| | | if (HBarcode_ZB) { |
| | | sWhere += " and æ æ¿ç like '%" + HBarcode_ZB + "%'"; |
| | |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length >= 1) { |
| | | HSN = []; |
| | | HBarCodeID = []; |
| | | for (var i = 0; i < data.length; i++) { |
| | | HSN.push(data[i].äº§åæ¡ç ); |
| | | HSN.push(data[i].DSN); |
| | | HBarCodeID.push(data[i].HBarInterID); |
| | | } |
| | | |
| | | layer.open({ |
| | |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: './Cj_ProcessItemStationPlatform_UnbindEdit.html?OperationType=3&HBarcode_SN=' + HSN.toString() |
| | | , content: './Cj_ProcessItemStationPlatform_UnbindEdit.html?OperationType=3&HBarcode_SN=' + HSN.toString() + '&HBarCodeID=' + HBarCodeID.toString() |
| | | , resize: false, |
| | | end: function () { |
| | | //å·æ°é¡µé¢, |