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.
59 lines
2.2 KiB
59 lines
2.2 KiB
<!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="alter" method="post">
|
|
<input type="hidden" name = 'donor_code' value="{{donor.donor_code}}">
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">金额</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="amount" required lay-verify="required" placeholder="请输入金额"
|
|
autocomplete="off"
|
|
class="layui-input" value="{{donor.amount}}">
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">物流</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="trans" required lay-verify="required" placeholder="请输入物流情况" autocomplete="off"
|
|
class="layui-input" value="{{donor.trans}}">
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">日期</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="date" required lay-verify="required" placeholder="请输入日期"
|
|
autocomplete="off"
|
|
class="layui-input" value="{{donor.date}}">
|
|
</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>
|