|
|
@@ -414,10 +414,10 @@ class IntraCityController extends BaseController
|
|
|
if ($order->status != 2) {
|
|
|
util::fail('待发货订单才能发跑腿,请刷新页面');
|
|
|
}
|
|
|
- // 不能创建配送的几种配送状态
|
|
|
- $notCanCreateSendStatus = [-1, 3];
|
|
|
+ //如果不是没鹛跑腿和取消了,则不能再叫跑腿,有多处,关键词no_call_express
|
|
|
+ $notCanCreateSendStatus = [-2, 3];
|
|
|
if (!in_array($order->sendStatus, $notCanCreateSendStatus)) {
|
|
|
- util::fail('不能叫跑腿,请刷新页面');
|
|
|
+ util::fail('不能叫跑腿,请刷新页面,编号800');
|
|
|
}
|
|
|
$cgId = $order->purchaseId ?? 0;
|
|
|
$cgInfo = PurchaseClass::getById($cgId, true);
|