Files
OMS/app/dealer/view/admin/series/show_shops.html
2026-01-04 19:08:31 +08:00

34 lines
1.3 KiB
HTML

<!--
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div id='shop-selected-body'>
<{include file="admin/series/input-row-shop.html" app="dealer"}>
</div>
<{area inject=".mainFoot"}>
<div class='table-action'>
<{button label='确定' id='primary-btn' onclick='change_shops();'}>
</div>
<{/area}>
<script>
function change_shops(){
var handle = $('hand-selected-shop').getNext('div');
handle.setHTML($('shop-selected-body').innerHTML);
var length = $('shop-selected-body').getElements('.row').length;
var html = '已选择了'+length+'个经销店铺,'+"<a href='javascript:void(0);' onclick='shop_selected_show();'>查看选中的经销店铺.</a>";
$('hand-selected-shop').setHTML(html);
$('primary-btn').getParent('.dialog').retrieve('instance').close();
}
</script>