yijia-webman/app/view/goods/add.html

64 lines
2.5 KiB
HTML
Raw Normal View History

2025-03-30 10:36:39 +08:00
<form class="layui-form eject-layuiBox" data-action="/goods/add">
<div class="layui-form-item">
<label class="layui-form-label">商品</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="name" maxlength="60" />
<div class="layui-form-mid layui-word-aux">建议60个字符长度以内</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">平台价格</label>
<div class="layui-input-block">
<input class="layui-input" type="number" name="price" maxlength="60" />
<div class="layui-form-mid layui-word-aux">注:一般记录大包的价格</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">大包库存</label>
<div class="layui-input-block">
<input class="layui-input" type="number" name="stock" maxlength="60" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">小包库存</label>
<div class="layui-input-block">
<input class="layui-input" type="number" name="stock_small" maxlength="60" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">大包销量</label>
<div class="layui-input-block">
<input class="layui-input" type="number" name="sales" maxlength="60" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">小包销量</label>
<div class="layui-input-block">
<input class="layui-input" type="number" name="sales_small" maxlength="60" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">大包拆小包规格</label>
<div class="layui-input-block">
<input class="layui-input" type="number" name="split_to_small" maxlength="60" />
<div class="layui-form-mid layui-word-aux">每中包可拆分成多少个小包如一箱泡面24袋则填写24方便计算每一小包的进货价默认1即不可拆分</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">备注</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="remark" maxlength="200" />
</div>
</div>
<div class="layui-input-block">
<button type="button" class="layui-btn layui-btn-sm" lay-submit lay-filter="submitAll">保存</button>
</div>
</form>