Files
OMS/app/wap/view/store/supply_config.html
2026-01-04 19:08:31 +08:00

76 lines
3.0 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.
-->
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="author" content="tyler chao">
<meta name="keywords" content="keywords">
<meta name="description" content="description">
<title>供货管理</title>
<link rel="stylesheet" href="<{$env.app.res_url}>/css/mobile.min.css">
<link rel="stylesheet" href="<{$env.app.res_url}>/css/main.min.css">
</head>
<body>
<{if $show_header}>
<header class="fixed">
<div class="top-bar" data-topbar>
<div class="pos-left">
<a href="javascript:history.back();" class="icon-arrow-back"></a>
</div>
<h1>供货管理</h1>
<div class="pos-right"><a href="" class="icon-refresh"></a></div>
</div>
</header>
<{/if}>
<main id="main" class="container no-margin">
<div class="atitle container blank">
<h2><{$item.material_name}></h2>
<h5 class="text-reverse"><{$item.material_bn}></h5>
</div>
<form action="<{$link_url}>?id=<{$item.id}>" method="post" class="collapse" data-validator="ajax">
<ul class="table-list">
<li class="item">
<label for="">是否管控库存</label>
<div class="switch round">
<input type="checkbox" name="is_ctrl_store" id="is_ctrl_store" <{if $item.is_ctrl_store == 1}>checked="checked"<{/if}> >
<label for="is_ctrl_store"></label>
</div>
</li>
<li class="item">
<label for="">销售状态</label>
<div class="switch round">
<input type="checkbox" name="status" id="status" <{if $item.status == 1}>checked="checked"<{/if}> >
<label for="status"></label>
</div>
</li>
<li class="item">
<label for="stock">库存</label>
<input type="text" pattern="digital" required name="store_num" id="store_num" class="small text-center" size="6" value="<{$item.store}>" data-alerts="库存必填,并且只允许填写数字">
</li>
</ul>
<div class="action-bar blank"><input type="hidden" name="id" value="<{$item.id}>"><button type="submit" class="primary expand">保存</button></div>
</form>
</main>
<{include file="store/footer.html"}>
</body>
</html>