mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 14:40:44 +00:00
commit
c6c06115fb
@ -43,6 +43,7 @@ class GoodsSkusImport implements ToCollection, SkipsEmptyRows
|
||||
$brands[] = $row[2];
|
||||
$goodsCodes[] = $row[3];
|
||||
}
|
||||
unset($row);
|
||||
$validator = Validator::make($collection, [
|
||||
'*.0' => ['required', 'string', 'max:191'],
|
||||
'*.1' => ['required', 'string', 'max:191', 'exists:goods_types,name'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user