| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- {extend name="public:base" /}
- {block name="style"}
- <style type="text/css">
- .goods-type { clear: both; margin-top: 10px;}
- .goods-type .item{display: inline-block;border: 1px solid #d6d6d6;margin-right: 5px;}
- .goods-type .item span{ padding: 0px 10px; border-right: 1px solid #d6d6d6;}
- .goods-type .layui-icon-close{cursor: pointer;}
- </style>
- {/block}
- {block name="body"}
- <div class="layui-fluid">
- <div class="layui-card">
- <div class="layui-card-body">
- <form class="layui-form">
- <div class="layui-form-item">
- <label class="layui-form-label">编码</label>
- <div class="layui-input-inline">
- <input type="text" name="no" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">名称</label>
- <div class="layui-input-inline">
- <input type="text" name="cname" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">类型</label>
- <div class="layui-input-inline">
- <select name="type_id" lay-verify="" lay-search>
- {volist name="types" id="type"}
- <option value="{$type.id}">{$type.cname}</option>
- {/volist}
- </select>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">供应商</label>
- <div class="layui-input-inline">
- <select name="supplier_id" lay-verify="" lay-search>
- {volist name="suppliers" id="supplier"}
- <option value="{$supplier.id}">{$supplier.cname}</option>
- {/volist}
- </select>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">供应价</label>
- <div class="layui-input-inline">
- <input type="number" name="supply_price" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">销售价</label>
- <div class="layui-input-inline">
- <input type="number" name="sale_price" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">销售时间</label>
- <div class="layui-input-inline" style="width:300px;">
- <input type="text" name="sale_time" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-layout-admin">
- <div class="layui-input-block">
- <div class="layui-footer" style="left: 0;">
- <button class="layui-btn" lay-submit lay-filter="LAY-coupon-add">立即提交</button>
- <button type="reset" class="layui-btn layui-btn-primary">重置</button>
- </div>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script type="text/javascript">
- layui.config({
- base: '__JS__/'
- ,version:true
- }).extend({
- index: 'lib/index'
- }).use(['index', 'coupon']);
- </script>
- {/block}
|