|
@@ -674,7 +674,7 @@ class Buy
|
|
|
$button = array();
|
|
|
$print = Dever::url('admin/order.print?id=' . $info['id'] . '&type=2', 'store');
|
|
|
$button[] = '<a class="layui-btn layui-btn-primary" href="'.$print.'" target="_blank">打印货单</a>';
|
|
|
- if ($info['status'] == 3) {
|
|
|
+ if ($info['status'] == 3 && $info['type'] == 1) {
|
|
|
$send = Dever::url('order_send?id=' . $info['id'] . '&type=2', 'store');
|
|
|
$button[] = '<button class="layui-btn layui-btn-primary" onclick="fastEdit($(this), \''.$send.'\', \'配送发货\', \'\', 1)">配送发货</button>';
|
|
|
}
|