1 Star 0 Fork 0

進XIN/website

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
order_update.html 3.98 KB
一键复制 编辑 原始数据 按行查看 历史
進XIN 提交于 2020-09-28 20:55 . 初始化导入.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>yonghe</title>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="lib/font-awesome-4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="container-fluid">
<div class="app-title">
<div>
<h1><i class="fa fa-circle-o"></i> 修改订单</h1>
</div>
<ul class="app-breadcrumb breadcrumb">
<li class="breadcrumb-item"><a href="welcome.html">首页</a></li>
<li class="breadcrumb-item"><a href="order_list.html">订单管理</a></li>
<li class="breadcrumb-item active">修改订单</li>
</ul>
</div>
<div class="tile">
<form id="form" action="" method="post">
<div class="form-row">
<div class="form-group col-md-10">
<label class="control-label">所属门店</label>
<select class="form-control" name="doorId" required>
<option value="">-- 请选择 --</option>
<option value="1" selected>永和大王(北三环西路店)</option>
</select>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-5">
<label class="control-label">订单编号</label>
<input class="form-control" type="text" name="orderNo" value="P001" required>
</div>
<div class="form-group col-md-5">
<label class="control-label">订单类型</label>
<input class="form-control" type="text" name="orderType" value="堂食" required>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-5">
<label class="control-label">用餐人数</label>
<input class="form-control" type="number" name="pnum" value="1" required>
</div>
<div class="form-group col-md-5">
<label class="control-label">收银员</label>
<input class="form-control" type="text" name="cashier" value="张三" required>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-5">
<label class="control-label">下单时间</label>
<input class="form-control" type="text" id="orderTime" name="orderTime" value="2018-04-26 14:49:07" required>
</div>
<div class="form-group col-md-5">
<label class="control-label">结账时间</label>
<input class="form-control" type="text" id="payTime" name="payTime" value="2018-04-26 14:49:07" required>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-5">
<label class="control-label">支付方式</label>
<input class="form-control" type="text" name="payType" value="微支付" required>
</div>
<div class="form-group col-md-5">
<label class="control-label">支付金额</label>
<input class="form-control" type="number" name="price" value="16.0" required>
</div>
</div>
<hr>
<div class="form-group">
<button class="btn btn-primary" type="submit">
<i class="fa fa-fw fa-lg fa-check-circle"></i>保存
</button>
&nbsp;&nbsp;
<a class="btn btn-secondary" href="javascript:history.back()">
<i class="fa fa-fw fa-lg fa-times-circle"></i>取消
</a>
</div>
</form>
</div>
<!-- /.tile -->
</div>
<!-- /.container-fluid -->
<!-- Essential javascripts for application to work-->
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<!-- Page specific javascripts-->
<script src="js/plugins/jquery.validate.min.js"></script>
<script src="lib/laydate/laydate.js"></script>
<script>
// 表单验证
var v = $("#form").validate();
// 日期控件初始化
laydate.render({
elem: "#orderTime",
type: "datetime",
format: "yyyy-MM-dd HH:mm:ss",
done: function (value, date, endDate) {
setTimeout('v.element("#orderTime")', 10);
}
});
laydate.render({
elem: "#payTime",
type: "datetime",
format: "yyyy-MM-dd HH:mm:ss",
done: function (value, date, endDate) {
setTimeout('v.element("#payTime")', 10);
}
});
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ZhongXin1016/website.git
git@gitee.com:ZhongXin1016/website.git
ZhongXin1016
website
website
master

搜索帮助