| | |
| | | var limit = data.upperLimit; |
| | | //运算符 |
| | | var symbol = data.operaSymbol; |
| | | |
| | | if (symbol && limit) { |
| | | if (">=" == symbol) { |
| | | if (newValue < limit) { |
| | |
| | | width: '10%', |
| | | edit: 'text' |
| | | }, { |
| | | field: 'operaSymbolValue', |
| | | field: 'upperLimit', |
| | | title: '标准值', |
| | | align: 'center', |
| | | width: '10%' |
| | |
| | | |
| | | //使用插件读取智慧卡号 |
| | | function flushICCard() { |
| | | var index = layer.load(); |
| | | var index = layer.load(); |
| | | $("#intelCard").val(null); |
| | | $.ajax({ |
| | | type: "GET", |
| | |
| | | jsonp: "callback", |
| | | jsonpCallback: "jsonpCallback", |
| | | success: function (json) { |
| | | layer.close(index); |
| | | layer.close(index); |
| | | //console.log(json); |
| | | var data = json.no; |
| | | //console.log(data); |
| | |
| | | } |
| | | }, |
| | | error: function () { |
| | | layer.close(index); |
| | | layer.close(index); |
| | | alertError("IC卡读取出错!"); |
| | | } |
| | | }); |