...
|
...
|
@@ -66,11 +66,12 @@ |
|
|
<td>未完成</td>
|
|
|
<elseif condition="$vo.state eq 3"/>
|
|
|
<td>已完成</td>
|
|
|
<elseif condition="$vo.state eq 5"/>
|
|
|
<td>已发货</td>
|
|
|
</if>
|
|
|
<td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
|
|
|
<td style="width: 130px;">
|
|
|
<a href="{:url('Platformorders/plat_view',array('id'=>$vo.id))}"><button type="button" class="btn btn-default">查看</button></a>
|
|
|
<button type="button" class="btn btn-default" onclick="intdel({$vo.id})">删除</button>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</volist>
|
...
|
...
|
@@ -82,17 +83,6 @@ |
|
|
</div>
|
|
|
<script src="__STATIC__/js/admin.js"></script>
|
|
|
<script>
|
|
|
/**
|
|
|
*订单删除
|
|
|
*/
|
|
|
function intdel(id){
|
|
|
ccc = window.confirm('订单是否删除?');
|
|
|
if(ccc){
|
|
|
$.post("{:url('Platformorders/plat_del')}",{id:id},function(data){
|
|
|
$('.tr'+id).remove();
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
function reloadPage(win) {
|
|
|
win.location.reload();
|
|
|
}
|
...
|
...
|
|