mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-24 03:15:32 +08:00
37 lines
1.5 KiB
HTML
37 lines
1.5 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.
|
|
-->
|
|
|
|
<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>
|