mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-30 04:55:35 +08:00
26 lines
1.1 KiB
HTML
26 lines
1.1 KiB
HTML
<!--
|
||
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}> /> 打开
|
||
<input type="radio" name="request_config" value="false" <{if $request_auto_stock=='false'}>checked<{/if}> /> 关闭
|
||
<{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>
|