You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
3.1 KiB

5 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>修改</title>
<link rel="stylesheet" href="/static/layui/css/layui.css">
</head>
<body>
<div class="layui-main">
<div class="site-content">
<br><br>
<h1 class="site-h1">修改信息</h1>
<br><br>
<form class="layui-form" action="修改捐赠记录" method="post">
<input type="hidden" name = 'id' value="{{donation[0]}}">
<div class="layui-form-item">
<label class="layui-form-label">捐赠单位</label>
<div class="layui-input-block">
<input type="text" name="捐赠单位" required lay-verify="required" placeholder="请输入捐赠单位"
autocomplete="off"
class="layui-input" value="{{donation[1]}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">捐赠物资名称</label>
<div class="layui-input-block">
<input type="text" name="捐赠物资名称" required lay-verify="required" placeholder="请输入捐赠物资名称"
autocomplete="off"
class="layui-input" value="{{donation[2]}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">规格</label>
<div class="layui-input-block">
<input type="text" name="规格" required lay-verify="required" placeholder="请输入规格"
autocomplete="off"
class="layui-input" value="{{donation[3]}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">计量单位</label>
<div class="layui-input-block">
<input type="text" name="计量单位" required lay-verify="required" placeholder="请输入计量单位"
autocomplete="off"
class="layui-input" value="{{donation[4]}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">数量总计</label>
<div class="layui-input-block">
<input type="number" name="数量总计" required lay-verify="required" placeholder="请输入数量总计"
autocomplete="off"
class="layui-input" value="{{donation[5]}}">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
<script src="/static/layui/layui.js"></script>
<script>
//Demo
layui.use('form', function () {
var form = layui.form;
});
</script>
</body>
</html