|
|
@@ -123,7 +123,7 @@ class OrderClass extends BaseClass
|
|
|
public static function orderSend($order, $params, $allowRepeat = false)
|
|
|
{
|
|
|
self::orderFh($order, $params, $allowRepeat);
|
|
|
- $cgId = $order->id ?? 0;
|
|
|
+ $cgId = $order->purchaseId ?? 0;
|
|
|
$cgInfo = PurchaseClass::getById($cgId, true);
|
|
|
if (empty($cgInfo)) {
|
|
|
util::fail('没有找到采购信息');
|