|
|
@@ -363,8 +363,8 @@ class OrderClass extends BaseClass
|
|
|
|
|
|
//待配送订单显示打印、发货和自取
|
|
|
if ($order['status'] == self::ORDER_STATUS_UN_SEND) {
|
|
|
- $selfGet = ['type' => 'selfGet', 'show' => 1, 'disable' => 1];
|
|
|
- $send = ['type' => 'send', 'show' => 1, 'disable' => 1];
|
|
|
+ $selfGet = ['type' => 'selfGet', 'show' => 1, 'disable' => 1, 'name' => '自取'];
|
|
|
+ $send = ['type' => 'send', 'show' => 1, 'disable' => 1, 'name' => '发货'];
|
|
|
if ($order['hasItem'] == 2) {
|
|
|
return [$print, $selfGet, $send];
|
|
|
}
|
|
|
@@ -374,12 +374,12 @@ class OrderClass extends BaseClass
|
|
|
}
|
|
|
//配送中显示按钮
|
|
|
if ($order['status'] == self::ORDER_STATUS_SENDING) {
|
|
|
- $send = ['type' => 'send', 'show' => 1, 'disable' => 0];
|
|
|
+ $send = ['type' => 'send', 'show' => 1, 'disable' => 0,'name' => '发货'];
|
|
|
return [$print, $send];
|
|
|
}
|
|
|
//完成
|
|
|
if ($order['status'] == self::ORDER_STATUS_COMPLETE) {
|
|
|
- $send = ['type' => 'send', 'show' => 1, 'disable' => 0];
|
|
|
+ $send = ['type' => 'send', 'show' => 1, 'disable' => 0,'name' => '发货记录'];
|
|
|
//自取订单不显示发货按钮
|
|
|
if ($order['sendType'] == self::SEND_TYPE_NO) {
|
|
|
$send['show'] = 0;
|