...
|
...
|
@@ -60,7 +60,7 @@ |
|
|
<td>已完成</td>
|
|
|
</if>
|
|
|
<td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
|
|
|
<td style="width: 171px;">
|
|
|
<td style="width: 171px;" class="fahuo{$vo.id}">
|
|
|
<if condition="$vo.state eq 2">
|
|
|
<button type="button" class="btn btn-default">物流信息</button>
|
|
|
<else/>
|
...
|
...
|
@@ -68,7 +68,7 @@ |
|
|
</if>
|
|
|
|
|
|
<if condition="$vo.state eq 2">
|
|
|
<button type="button" class="btn btn-default" onclick="deliver_goods({$vo.id})">待发货</button>
|
|
|
<button type="button" class="btn btn-default daifa{$vo.id}" onclick="deliver_goods({$vo.id})" >待发货</button>
|
|
|
<else/>
|
|
|
<button type="button" class="btn btn-default">已发货</button>
|
|
|
</if>
|
...
|
...
|
@@ -100,6 +100,8 @@ |
|
|
}else{
|
|
|
data = JSON.parse(data);
|
|
|
if(data.code == '20000'){
|
|
|
$('.daifa'+id).remove();
|
|
|
$('.fahuo'+id).append("<button type='button' class='btn btn-default'>已发货</button>");
|
|
|
alert('发货成功');
|
|
|
}else if(data.code == '40000'){
|
|
|
alert('发货失败');
|
...
|
...
|
|