diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/promotion/coupon/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/promotion/coupon/edit.html index fa829086..5b5674b6 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/promotion/coupon/edit.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/promotion/coupon/edit.html @@ -200,7 +200,7 @@ view(this.id).render('promotion/promotion/conditioncreate', { data: e.data }).done(function () { form.render(); //监听提交 - form.on('submit(LAY-app-CoreCmsCouponCondition-createForm-submit)', + form.on('submit(LAY-app-CoreCmsPromotionCondition-createForm-submit)', function (data) { var field = data.field; //获取提交的字段 @@ -273,7 +273,7 @@ } , btn: ['确定', '取消'] , yes: function (index, layero) { - layero.contents().find("#LAY-app-CoreCmsCouponCondition-createForm-submit").click(); + layero.contents().find("#LAY-app-CoreCmsPromotionCondition-createForm-submit").click(); } }); } else { @@ -295,7 +295,7 @@ view(this.id).render('promotion/promotion/conditionedit', { data: e.data }).done(function () { form.render(); //监听提交 - form.on('submit(LAY-app-CoreCmsCouponCondition-editForm-submit)', + form.on('submit(LAY-app-CoreCmsPromotionCondition-editForm-submit)', function (data) { var field = data.field; //获取提交的字段 if (!!!field.code) { @@ -366,7 +366,7 @@ } , btn: ['确定', '取消'] , yes: function (index, layero) { - layero.contents().find("#LAY-app-CoreCmsCouponCondition-editForm-submit").click(); + layero.contents().find("#LAY-app-CoreCmsPromotionCondition-editForm-submit").click(); } }); } else { @@ -398,7 +398,7 @@ success: function (layero, index) { view(this.id).render('promotion/promotion/resultcreate', { data: e.data }).done(function () { //监听提交 - form.on('submit(LAY-app-CoreCmsCouponResult-createForm-submit)', + form.on('submit(LAY-app-CoreCmsPromotionResult-createForm-submit)', function (data) { var field = data.field; //获取提交的字段 @@ -475,7 +475,7 @@ } , btn: ['确定', '取消'] , yes: function (index, layero) { - layero.contents().find("#LAY-app-CoreCmsCouponResult-createForm-submit").click(); + layero.contents().find("#LAY-app-CoreCmsPromotionResult-createForm-submit").click(); } }); } else { @@ -496,7 +496,7 @@ success: function (layero, index) { view(this.id).render('promotion/promotion/resultedit', { data: e.data }).done(function () { //监听提交 - form.on('submit(LAY-app-CoreCmsCouponResult-editForm-submit)', + form.on('submit(LAY-app-CoreCmsPromotionResult-editForm-submit)', function (data) { var field = data.field; //获取提交的字段 if (!!!field.code) { @@ -573,7 +573,7 @@ } , btn: ['确定', '取消'] , yes: function (index, layero) { - layero.contents().find("#LAY-app-CoreCmsCouponResult-editForm-submit").click(); + layero.contents().find("#LAY-app-CoreCmsPromotionResult-editForm-submit").click(); } }); } else {