mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-08 15:35:33 +08:00
27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
<!--
|
||
Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
See LICENSE file for license details.
|
||
-->
|
||
|
||
<div id="<{$params.domid}>" class="object-select clearfix" style="display:inline-block;*zoom:1;" <{$addons}> >
|
||
<div class="label" id="<{$id}>" rel="<{$string}>"><{$string}></div>
|
||
<div class="handle"> </div>
|
||
<input type="hidden" name="<{$params.name}>" vtype="<{$params.vtype}>" value="<{if is_array($params.value)}><{$params.value|implode:','}><{else}><{$params.value}><{/if}>" />
|
||
</div>
|
||
<script>
|
||
$('<{$params.domid}>').getElements('.label,.handle').addEvent('click', function(e){
|
||
Ex_Loader('modedialog',function(){
|
||
new finderDialog('<{$url}>', {
|
||
handle:'handle_<{$params.domid}>',
|
||
onCallback:function(rs){<{if $callback}><{$callback}>(rs);<{/if}>$('handle_<{$params.domid}>').show();},
|
||
params:{
|
||
url:'<{$return_url}>',
|
||
type:'<{$params.type}>',
|
||
name:'data[]',
|
||
postdata:'app_id=<{$params.app_id}>&<{$object}>'
|
||
}
|
||
});
|
||
});
|
||
});
|
||
</script>
|