mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
feat: #10000 去掉今日加个
This commit is contained in:
parent
699f5c16d6
commit
31067093b1
@ -62,14 +62,13 @@ class InventoryImport implements ToArray, SkipsEmptyRows
|
|||||||
]);
|
]);
|
||||||
$shopPrice = [];
|
$shopPrice = [];
|
||||||
foreach ($row as $i => $v) {
|
foreach ($row as $i => $v) {
|
||||||
if ($i > 5) {
|
if ($i > 4) {
|
||||||
$shopPrice[$header[$i]] = $v;
|
$shopPrice[$header[$i]] = $v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$todayPrice[] = [
|
$todayPrice[] = [
|
||||||
'day' => $day,
|
'day' => $day,
|
||||||
'external_sku_id' => $goodsSku['external_sku_id'],
|
'external_sku_id' => $goodsSku['external_sku_id'],
|
||||||
'price' => $row[5],
|
|
||||||
'shop_price' => json_encode($shopPrice, 256)
|
'shop_price' => json_encode($shopPrice, 256)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user