commit
479fccda77
@ -38,11 +38,13 @@ class Goods
|
|||||||
);
|
);
|
||||||
if (empty($businessGood->id)) {
|
if (empty($businessGood->id)) {
|
||||||
$businessGoodSku->save();
|
$businessGoodSku->save();
|
||||||
|
if (!empty($businessGoodSku->external_sku_id)) {
|
||||||
event(new BusinessOrdersUpdate($businessGoodSku, 0));
|
event(new BusinessOrdersUpdate($businessGoodSku, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static function downloadSingle($goodsId)
|
public static function downloadSingle($goodsId)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -63,4 +63,4 @@ Route::get('shop_platforms', [ShopsController::class, 'getPlatList'])->name('pla
|
|||||||
Route::post('business', [ShopsController::class, 'business'])->name('shop.put.business');
|
Route::post('business', [ShopsController::class, 'business'])->name('shop.put.business');
|
||||||
|
|
||||||
// 盘点导入
|
// 盘点导入
|
||||||
Route::post('inventory/goods_skus', [GoodsSkusController::class, 'inventoryImport'])->name('goods_sku.inventory')->middleware('check.permissions');
|
Route::post('inventory/goods_skus', [GoodsSkusController::class, 'inventoryImport'])->name('goods_sku.inventory');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user