|
|
@@ -61,6 +61,7 @@ class PurchaseService extends BaseService
|
|
|
$discountAmount = $respond->discountAmount ?? 0;
|
|
|
$remark = $data['remark'] ?? '';
|
|
|
$xj = $data['xj'] ?? '';
|
|
|
+ $sendTimeWant = isset($data['sendTimeWant']) && !empty($data['sendTimeWant']) ? $data['sendTimeWant'] : date("Y-m-d");
|
|
|
$arr = [
|
|
|
'product' => $product,
|
|
|
'sjId' => $currentSjId,
|
|
|
@@ -90,6 +91,7 @@ class PurchaseService extends BaseService
|
|
|
'discountAmount' => $discountAmount,
|
|
|
'remark' => $remark,
|
|
|
'xj' => $xj,
|
|
|
+ 'sendTimeWant' => $sendTimeWant,
|
|
|
];
|
|
|
$result = OrderClass::addOrder($arr);
|
|
|
$saleId = $result['id'] ?? 0;
|