Files
OMS/app/ome/view/admin/system/terminal_request.html
2025-12-28 23:13:25 +08:00

26 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<form action="index.php?app=ome&ctl=admin_shop&act=request_config" method="post" class="tableform">
<input type="hidden" name="shop_id" value="<{$shop_id}>" />
<div class="division">
回写前端店铺库存: <input type="radio" name="request_config" value="true" <{if $request_auto_stock=='true'}>checked<{/if}> /> 打开 &nbsp;&nbsp;
<input type="radio" name="request_config" value="false" <{if $request_auto_stock=='false'}>checked<{/if}> /> 关闭 &nbsp;&nbsp;
<{button type="button" label="保存设置" class="btn-secondery" id="btn_save"}>
</div>
</form>
<script>
$('btn_save').addEvent('click',function(){
this.disabled = true;
this.getParent('form').store('target',{
onComplete:function(){
//location.reload();
try{finderGroup['<{$env.get.finder_id}>'].refresh();}catch(e){}
}
}).fireEvent('submit',{stop:function(){}});
});
</script>