@@ -60,7 +60,7 @@ class SyncMjWarehouse extends Command {
//2.更新商品库存总成本(有可能为空)
//3.计算商品真实价格
//4.计算商品外部价格
- $cost = DB::table('goods_skus')->where('code', $code)->select('referenceCost', 'is_weigh')->first(); //获取规格成本/是否称重
+ $cost = DB::table('goods_skus')->where('code', $code)->select('referenceCost', 'is_weigh', 'outPrice')->first(); //获取规格成本/是否称重
if($cost){
$quantity = $cost->is_weigh == 1 ? $sku['quantity']/2 : $sku['quantity']; //对应规格数量
//实际库存=库存-冻结