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
89717763ca
commit
c04bb104a0
@ -35,7 +35,7 @@ class GoodsSkusImport implements ToCollection, SkipsEmptyRows
|
||||
unset($rows[0], $rows[1]);
|
||||
$rows = $rows->toArray();
|
||||
$types = $brands = $goodsCodes = [];
|
||||
foreach ($rows as $row) {
|
||||
foreach ($rows as &$row) {
|
||||
$row = array_map(static function ($v) {
|
||||
return trim($v);
|
||||
}, $row);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user