@@ -53,9 +53,8 @@ class CustomController extends BaseController
if ($custom->ownMainId != $this->mainId) {
util::fail('不是您的客户');
}
- $seatSn = $custom->seatSn ?? '';
- if (empty($seatSn)) {
- util::fail('请先生成货位号');
+ if (is_numeric($new) == false) {
+ util::fail('请填写数字');
$custom->seatSn = $new;
$custom->save();