正在显示
3 个修改的文件
包含
1 行增加
和
52 行删除
@@ -75,21 +75,6 @@ class WithdrawalController extends AdminBaseController{ | @@ -75,21 +75,6 @@ class WithdrawalController extends AdminBaseController{ | ||
75 | } | 75 | } |
76 | 76 | ||
77 | /** | 77 | /** |
78 | - * 提现列表删除 | ||
79 | - */ | ||
80 | - public function withd_del(){ | ||
81 | - | ||
82 | - $id = $_POST['id']; | ||
83 | - $data = Db::name('money_expend') -> delete($id); | ||
84 | - if($data){ | ||
85 | - return true; | ||
86 | - }else{ | ||
87 | - return false; | ||
88 | - } | ||
89 | - | ||
90 | - } | ||
91 | - | ||
92 | - /** | ||
93 | * 提现审核拒绝 | 78 | * 提现审核拒绝 |
94 | */ | 79 | */ |
95 | public function withd_refuse(){ | 80 | public function withd_refuse(){ |
@@ -100,7 +100,6 @@ | @@ -100,7 +100,6 @@ | ||
100 | <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td> | 100 | <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td> |
101 | <td style="width: 130px;"> | 101 | <td style="width: 130px;"> |
102 | <a href="{:url('Salesmanorder/sale_order_show',array('id'=>$vo.id))}"><button type="button" class="btn btn-default">查看</button></a> | 102 | <a href="{:url('Salesmanorder/sale_order_show',array('id'=>$vo.id))}"><button type="button" class="btn btn-default">查看</button></a> |
103 | - <button type="button" class="btn btn-default" onclick="sale_order_del({$vo.id})">删除</button> | ||
104 | </td> | 103 | </td> |
105 | </tr> | 104 | </tr> |
106 | </volist> | 105 | </volist> |
@@ -111,23 +110,5 @@ | @@ -111,23 +110,5 @@ | ||
111 | {$data_arr->render()} | 110 | {$data_arr->render()} |
112 | </div> | 111 | </div> |
113 | <script src="__STATIC__/js/admin.js"></script> | 112 | <script src="__STATIC__/js/admin.js"></script> |
114 | -<script> | ||
115 | - | ||
116 | - /** | ||
117 | - *点击删除 | ||
118 | - */ | ||
119 | - function sale_order_del(id){ | ||
120 | - ccc = window.confirm('是否删除这条订单?'); | ||
121 | - if(ccc){ | ||
122 | - $.post("{:url('Salesmanorder/sale_order_del')}",{id:id},function(data){ | ||
123 | - if(data){ | ||
124 | - $('.tr'+id).remove(); | ||
125 | - }else{ | ||
126 | - alert('删除失败!'); | ||
127 | - } | ||
128 | - }); | ||
129 | - } | ||
130 | - } | ||
131 | -</script> | ||
132 | </body> | 113 | </body> |
133 | </html> | 114 | </html> |
@@ -52,7 +52,7 @@ | @@ -52,7 +52,7 @@ | ||
52 | 52 | ||
53 | <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td> | 53 | <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td> |
54 | <td style="width: 80px;"> | 54 | <td style="width: 80px;"> |
55 | - <button type="button" class="btn btn-default" onclick="withd_del({$vo.id})">删除</button> | 55 | + |
56 | </td> | 56 | </td> |
57 | </tr> | 57 | </tr> |
58 | </volist> | 58 | </volist> |
@@ -63,22 +63,5 @@ | @@ -63,22 +63,5 @@ | ||
63 | {$data->render()} | 63 | {$data->render()} |
64 | </div> | 64 | </div> |
65 | <script src="__STATIC__/js/admin.js"></script> | 65 | <script src="__STATIC__/js/admin.js"></script> |
66 | -<script> | ||
67 | - /** | ||
68 | - *点击删除 | ||
69 | - */ | ||
70 | - function withd_del(id){ | ||
71 | - ccc = window.confirm('是否删除?'); | ||
72 | - if(ccc){ | ||
73 | - $.post("{:url('Withdrawal/withd_del')}",{id:id},function(data){ | ||
74 | - if(data){ | ||
75 | - $('.tr'+id).remove(); | ||
76 | - }else{ | ||
77 | - alert('删除失败!'); | ||
78 | - } | ||
79 | - }); | ||
80 | - } | ||
81 | - } | ||
82 | -</script> | ||
83 | </body> | 66 | </body> |
84 | </html> | 67 | </html> |
-
请 注册 或 登录 后发表评论