Commit 60d14084 by 冷斌

add

parent 55f9f2b4
......@@ -9,7 +9,7 @@
</ul>
<form id="form" class="well form-search" method="post" action="{:U('Welfare/savePrice')}">
价格:
<input id="price" type="text" name="price" style="width: 200px;" value="" placeholder="">
<input id="price" type="text" name="price" style="width: 200px;" value="{$price}" placeholder="">
<input type="submit" class="btn btn-primary" onclick="if(confirm('您确定要修改价格吗?')){$('#form').submit()}; return false" value="保存">
</form>
<form method="post" class="js-ajax-form">
......
......@@ -67,7 +67,8 @@ class WelfareController extends AdminbaseController
->select();
$this->assign('lists', $lists);
$this->assign('giftid', $giftid);
$check = $jackpot->where("id=1")->find();
$this->assign('price', $check['rate']);
$this->assign("page", $page->show('Admin'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment