mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
fix: #10000 修复商品导入
This commit is contained in:
parent
855b752fb5
commit
258a3ff8ca
@ -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