| | |
| | | contentType: 'application/json', |
| | | exts: 'xls|xlsx', //å
许ä¸ä¼ çç±»å |
| | | before: function (data) { |
| | | loadIndex = layer.load(2); |
| | | layer.load(); |
| | | }, |
| | | done: function (data1) { |
| | | layer.closeAll('loading'); |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(loadIndex); |
| | | } else { |
| | | layer.close(loadIndex); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | debugger |
| | | layer.closeAll('loading'); |
| | | layer.alert('导å
¥åºç°å¼å¸¸', { icon: 2 }); |
| | | } |
| | | }); |
| | |
| | | columns.push({ field: 'ICMOBillHInterID', title: 'ICMOBillHInterID', hide: true}); |
| | | columns.push({ field: 'ICMOBillHEntryID', title: 'ICMOBillHEntryID', hide: true }); |
| | | columns.push({ field: 'HProdORGID', title: 'HProdORGID', hide: true }); |
| | | columns.push({ field: 'HVersion_Import', title: '导å
¥åºåå·'}); |
| | | |
| | | var k = 0;//æ¶éå¾ªç¯æ¬¡æ° |
| | | var Days = 45; |