From edd195be562fcb01db88d4e7f4110f44220adc3a Mon Sep 17 00:00:00 2001 From: Xia Kaixiang Date: Thu, 23 May 2019 17:29:45 +0800 Subject: [PATCH] =?utf8?q?id=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../templates/system/shop/config.html | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/resources/templates/system/shop/config.html b/src/main/resources/templates/system/shop/config.html index 070295a0..afb00d31 100644 --- a/src/main/resources/templates/system/shop/config.html +++ b/src/main/resources/templates/system/shop/config.html @@ -47,23 +47,23 @@ - - - @@ -142,7 +142,7 @@ title: '能否消费', align: 'center', width: 110, - templet: '#consumeenable-tpl-state', + templet: '#shop-consumeenable-tpl-state', sort: true }, { @@ -150,7 +150,7 @@ title: '匿名消费', align: 'center', width: 110, - templet: '#anonymousenable-tpl-state', + templet: '#shop-anonymousenable-tpl-state', sort: true }, { @@ -158,7 +158,7 @@ title: '能否冲正', align: 'center', width: 110, - templet: '#reverseenable-tpl-state', + templet: '#shop-reverseenable-tpl-state', sort: true }, {align: 'center', title: '操作', width: 90, fixed: 'right', templet: function (item) { @@ -173,7 +173,7 @@ }); // 修改总状态 - form.on('switch(consumeenable-tpl-state)', function (obj) { + form.on('switch(shop-consumeenable-tpl-state)', function (obj) { var token = $("meta[name='_csrf_token']").attr("value"); admin.go('/shop/updatepaytypestat', { shopaccno: obj.elem.value, @@ -202,12 +202,12 @@ }); }); - form.on('switch(anonymousenable-tpl-state)', function (obj) { + form.on('switch(shop-anonymousenable-tpl-state)', function (obj) { var token = $("meta[name='_csrf_token']").attr("value"); updateShopPaytypeState(obj, "anonymous", token); }); - form.on('switch(reverseenable-tpl-state)', function (obj) { + form.on('switch(shop-reverseenable-tpl-state)', function (obj) { var token = $("meta[name='_csrf_token']").attr("value"); updateShopPaytypeState(obj, "reverse", token); }); -- 2.17.1