From: Xia Kaixiang Date: Thu, 23 May 2019 09:29:45 +0000 (+0800) Subject: id冲突 X-Git-Tag: 1.0.0^2~194 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=edd195be562fcb01db88d4e7f4110f44220adc3a;p=epayment%2Ffood_payapi.git id冲突 --- 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); });