178 行
7.6 KiB
HTML
可执行文件
178 行
7.6 KiB
HTML
可执行文件
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport"
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>促销</title>
|
|
<link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap.css">
|
|
<link rel="stylesheet" type="text/css" href="__PUBLIC__/layui/css/layui.css"/>
|
|
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Retail/css/goodsList.css"/>
|
|
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Retail/css/myscroll.css"/>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
padding: 10px 15px;
|
|
}
|
|
.Promotion, blockquote {
|
|
box-sizing: border-box;
|
|
/*margin: 0;*/
|
|
padding: 0;
|
|
padding-left: 15px;
|
|
border-left: 2px solid #3D4357;
|
|
font-size: 14px;
|
|
}
|
|
table {
|
|
border: 1px solid #f1f1f1;
|
|
margin-top: 40px;
|
|
min-width:1000px;
|
|
}
|
|
|
|
.PromotionForm {
|
|
position: relative;
|
|
}
|
|
|
|
|
|
.goods :nth-child(1) {
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
.goods :nth-child(2) {
|
|
border: none;
|
|
vertical-align: middle;
|
|
}
|
|
.specialOffer input {
|
|
/*border: none;*/
|
|
outline: none;
|
|
}
|
|
.table {
|
|
background-color: white;
|
|
}
|
|
.goods {
|
|
text-align: center;
|
|
}
|
|
|
|
.layui-table-box tr th .layui-form-checkbox{
|
|
display: none;!important;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body style="background-color:#fff7f8;">
|
|
<div class="goodsBox">
|
|
<div class="goods_title">
|
|
<div class="goods_title_inner">
|
|
促销单详情
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<form class="form-inline PromotionForm" id="myform" action="{:U('retail/discount/savediscountmsg')}" method="post">
|
|
<div class="form-group" style="width: 90%;margin-bottom: 15px">
|
|
<div class="col-md-12 col-sm-12">
|
|
<div class="form-group has-feedback" >
|
|
<label for="">日期</label>
|
|
</div>
|
|
<div class="form-group has-feedback" id='datetimepicker1'>
|
|
<!--<label for="">日期</label>-->
|
|
<input type="text" class="form-control test-item" name="start_day" placeholder="2018-5-12" value="{:date('Y-m-d',$order['starttime'])}" readonly>
|
|
<span class="glyphicon glyphicon-calendar form-control-feedback"></span>
|
|
|
|
<input type="text" class="form-control time" name="start_time" value="{:date('H:i',$order['starttime'])}" placeholder="00:00" readonly>
|
|
<span class="sr-only glyphicon glyphicon-calendar form-control-feedback"></span>
|
|
</div>
|
|
<div class="form-group has-feedback">
|
|
<label for=""> 至 </label>
|
|
<input type="text" class="form-control test-item" name="end_day" placeholder="2018-5-12" value="{:date('Y-m-d',$order['endtime'])}" readonly>
|
|
<span class="glyphicon glyphicon-calendar form-control-feedback"></span>
|
|
<input type="text" class="form-control time" name="end_time" value="{:date('H:i',$order['endtime'])}" placeholder="23:59" readonly>
|
|
<span class="sr-only glyphicon glyphicon-calendar form-control-feedback"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group" style="width: 90%;">
|
|
<div class="col-md-6 col-sm-6 ">
|
|
<div class="form-group">
|
|
<label for="">促销名称:</label>
|
|
<input type="text" class="form-control" placeholder="" name="dis_name" value="{$order['dis_name']}" readonly>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="">促销门店:</label>
|
|
<input type="text" class="form-control" placeholder="" value="{$storetag}" readonly>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6 col-sm-6 pull-right">
|
|
<div class="form-group">
|
|
<label for="">促销模式:</label>
|
|
<select name="type" id="discountType" class="form-control" style="width: 165px;" readonly>
|
|
<option value="">{$order['type']==0?'直接折扣':'直接特价'}</option>
|
|
</select>
|
|
<span></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="">会员类别:</label>
|
|
<select name="isvip" id="" class="form-control" style="width: 165px;" readonly>
|
|
<option value="1">{$order['isvip']==1?'会员':'非会员'}</option>
|
|
</select>
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--<button type="button" class="btn btn-default Preservation" id="savemsg">保存</button>-->
|
|
<table class="table tableBox layui-table" style="margin-bottom: 0px;">
|
|
<tr style="background: #F2F1F1">
|
|
<th>序号</th>
|
|
<th>货号</th>
|
|
<th style="width:50px;">选择</th>
|
|
<th>品名</th>
|
|
<th>原价</th>
|
|
<th>商城价</th>
|
|
<th>零售<span class="discountType">{$order['type']==0?'折扣':'特价'}</span></th>
|
|
<th>商城<span class="discountType">{$order['type']==0?'折扣':'特价'}</span></th>
|
|
</tr>
|
|
<volist name="goods" id="vo">
|
|
<tr>
|
|
<td width="187" >{$key+1}</td>
|
|
<td width="187" class="goods">
|
|
<input type="text" value="{$vo['good_number']}" placeholder="货号">
|
|
</td>
|
|
<td width="50" class="goods">
|
|
<span class="glyphicon glyphicon-option-horizontal" data-toggle="modal" data-target=".myModal"></span>
|
|
</td>
|
|
<td>{$vo['goods_name']}</td>
|
|
<td>{$vo['retail_price']}</td>
|
|
<td>{$vo['online_price']}</td>
|
|
<if condition="$vo['type'] eq '1'">
|
|
<td width="187" class="specialOffer"><input type="text" value="{$vo['te_price']}" name="te_price[]" readonly></td>
|
|
<td width="187" class="specialOffer"><input type="text" value="{$vo['online_te_price']}" name="online_te_price[]" readonly></td>
|
|
<else />
|
|
<td width="187" class="specialOffer"><input type="text" value="{$vo['discount']}" name="te_price[]" readonly></td>
|
|
<td width="187" class="specialOffer"><input type="text" value="{$vo['online_discount']}" name="online_te_price[]" readonly></td>
|
|
</if>
|
|
</tr>
|
|
</volist>
|
|
</table>
|
|
</form>
|
|
<!--弹出层-->
|
|
<div class="myModal" style="display: none">
|
|
<div class="modal-body" style="height:300px;overflow:auto; ">
|
|
<form action="" class="form-inline">
|
|
<div class="form-group">
|
|
<label for="" class=" control-label">过滤</label>
|
|
<input type="text" class="form-control" placeholder="货号/品名">
|
|
<button type="button" class="btn btn-default" id="mysearch">查询</button>
|
|
</div>
|
|
</form>
|
|
<table class="layui-hide" id="test" lay-filter="demo"></table>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" value="" id="cleckids">
|
|
</body>
|
|
<script src="__PUBLIC__/jquery/js/jquery.min.js"></script>
|
|
<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
|
|
|
|
</html> |