...
|
...
|
@@ -86,9 +86,9 @@ |
|
|
<div class="myorder_bottom2">
|
|
|
<if condition="$vo.state eq 4">
|
|
|
<div class="myorder_bottom2_1 cancel_order" data-id="{$vo.id}">取消订单</div>
|
|
|
<a href="{:url('portal/pay/index',array('id'=>$vo['id']))}">
|
|
|
<div class="myorder_bottom2_2" data-id="{$vo.id}">去支付</div>
|
|
|
</a>
|
|
|
<!--<a href="{:url('portal/pay/index',array('id'=>$vo['id']))}">-->
|
|
|
<div class="myorder_bottom2_2" data-id="{$vo.id}" onclick="is_my_salesman({$vo.id})">去支付</div>
|
|
|
<!--</a>-->
|
|
|
<elseif condition="$vo.state eq 2"/>
|
|
|
<!--<a href="w_Ypayment.html">-->
|
|
|
<!--<div class="myorder_bottom2_2">查看订单</div>-->
|
...
|
...
|
@@ -162,9 +162,9 @@ |
|
|
<div class="myorder_bottom2">
|
|
|
<if condition="$vo.state eq 4">
|
|
|
<div class="myorder_bottom2_1 cancel_order" data-id="{$vo.id}">取消订单</div>
|
|
|
<a href="{:url('portal/pay/index',array('id'=>$vo['id']))}">
|
|
|
<div class="myorder_bottom2_2" data-id="{$vo.id}">去支付</div>
|
|
|
</a>
|
|
|
<!--<a href="{:url('portal/pay/index',array('id'=>$vo['id']))}">-->
|
|
|
<div class="myorder_bottom2_2" data-id="{$vo.id}" onclick="is_my_salesman({$vo.id})">去支付</div>
|
|
|
<!--</a>-->
|
|
|
<elseif condition="$vo.state eq 2"/>
|
|
|
<!--<a href="w_Ypayment.html">-->
|
|
|
<!--<div class="myorder_bottom2_2">查看订单</div>-->
|
...
|
...
|
@@ -317,9 +317,9 @@ |
|
|
<div class="myorder_bottom2">
|
|
|
<if condition="$vo.state eq 4">
|
|
|
<div class="myorder_bottom2_1 cancel_order" data-id="{$vo.id}">取消订单</div>
|
|
|
<a href="{:url('portal/pay/index',array('id'=>$vo['id']))}">
|
|
|
<div class="myorder_bottom2_2" data-id="{$vo.id}">去支付</div>
|
|
|
</a>
|
|
|
<!--<a href="{:url('portal/pay/index',array('id'=>$vo['id']))}">-->
|
|
|
<div class="myorder_bottom2_2" data-id="{$vo.id}" >去支付</div>
|
|
|
<!--</a>-->
|
|
|
<elseif condition="$vo.state eq 2"/>
|
|
|
<!--<a href="w_Ypayment.html">-->
|
|
|
<!--<div class="myorder_bottom2_2">查看订单</div>-->
|
...
|
...
|
@@ -421,6 +421,22 @@ |
|
|
<script src="__TMPL__/public/assets/js/base.js"></script>
|
|
|
<script src="__TMPL__/public/assets/js/jquery.js"></script>
|
|
|
<script>
|
|
|
/**
|
|
|
*去支付之前判断物品是否为上级业务员的所卖的书
|
|
|
*/
|
|
|
function is_my_salesman(id){
|
|
|
|
|
|
$.post("{:url('Order/is_my_salesman')}",{indent_id:id},function(data){
|
|
|
if(data){
|
|
|
window.location.href = "{:url('portal/pay/index')}?id="+id;
|
|
|
}else{
|
|
|
alert('不再此区域销售');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
}
|
|
|
</script>
|
|
|
<script>
|
|
|
function load() {
|
|
|
var index = $(".myor_title ul li").index($('.myor_title_active'));
|
|
|
$(".myorder_con1").eq(index).show().siblings().hide();
|
...
|
...
|
|