| | |
| | | |
| | | TCoupon.backids = function (i) { |
| | | console.log("aaaaaa"+i) |
| | | if (this.check()) { |
| | | |
| | | var selected = $('#' + this.id).bootstrapTable('getSelections'); |
| | | // if(selected.length == 0){ |
| | | // Feng.info("请先选中表格中的某一记录!"); |
| | | // return false; |
| | | // }else{ |
| | | |
| | | |
| | | // return true; |
| | | // } |
| | | if (selected.length != 0) { |
| | | TCoupon.seItem = selected[0]; |
| | | TCoupon.seItem1 = selected; |
| | | |
| | | var ids = TCoupon.seItem1.map(function(item) { |
| | | return item.id; |
| | |
| | | // |
| | | // } |
| | | window.parent.layer.closeAll(); |
| | | }else { |
| | | window.parent.document.getElementById("counpons"+i).value = ""; |
| | | window.parent.layer.closeAll(); |
| | | |
| | | } |
| | | |
| | | }; |