| | |
| | | |
| | | TCompetition.delete1= function (e) { |
| | | console.log(e) |
| | | var operation = function () { |
| | | var ajax = new $ax(Feng.ctxPath + "/tShop/deleteTwo", function (data) { |
| | | Feng.success("删除成功!"); |
| | | TCompetition.table.refresh(); |
| | |
| | | }); |
| | | ajax.set("id",e); |
| | | ajax.start(); |
| | | }; |
| | | Feng.confirm("确认删除该记录?", operation); |
| | | } |
| | | /** |
| | | * 检查是否选中 |
| | |
| | | let turnId = $("#turnId").val() |
| | | |
| | | |
| | | if ($('#type option:selected').text() == "详情"&&$('#type option:selected').text() == "指定商品"&&$('#type option:selected').text() == "指定折扣") { |
| | | if ($('#type option:selected').text() == "详情"||$('#type option:selected').text() == "指定商品"||$('#type option:selected').text() == "指定折扣") { |
| | | if ($("#turnId").val() == '') { |
| | | Feng.info("请输入跳转ID") |
| | | return; |
| | |
| | | |
| | | TCompetition.close = function() { |
| | | parent.layer.close(window.parent.TCompetition.layerIndex); |
| | | } |
| | | } |