|
|
@@ -879,6 +879,9 @@ class CustomController extends BaseController
|
|
|
$custom = CustomClass::getById($customId, true);
|
|
|
CustomClass::valid($custom, $this->shopId);
|
|
|
$seatSn = $custom->seatSn ?? 0;
|
|
|
+ if ($seatSn == 0) {
|
|
|
+ util::fail('没有货位');
|
|
|
+ }
|
|
|
$customName = $custom->name ?? '';
|
|
|
if (isset($custom->seatSnName) && !empty($custom->seatSnName)) {
|
|
|
$customName = $custom->seatSnName ?? '';
|