From 56b7c911d4ba41be2963eefec0cd0b8e1d173956 Mon Sep 17 00:00:00 2001 From: jianweie code Date: Wed, 16 Oct 2024 00:15:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=98=E6=83=A0=E5=88=B8?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E5=8F=8A=E7=BB=93=E6=9E=9C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=93=8D=E4=BD=9C=E5=A4=B1=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/views/promotion/coupon/edit.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 {