新增厂家详情
This commit is contained in:
parent
aeb74daca9
commit
5cadc7aaa0
@ -49,6 +49,7 @@ class StoreProductLogic extends BaseLogic
|
||||
'purchase' => $params['purchase'],
|
||||
'rose' => $params['rose'],
|
||||
'is_return' => $params['is_return'],
|
||||
'manufacturer_information' => $params['manufacturer_information']??'',
|
||||
'swap' => $params['swap'] ?? 0,
|
||||
'batch' => $params['batch'] ?? 0,
|
||||
];
|
||||
@ -149,6 +150,7 @@ class StoreProductLogic extends BaseLogic
|
||||
'price' => $params['price'],
|
||||
'vip_price' => $params['vip_price'],
|
||||
'batch' => $params['batch'],
|
||||
'manufacturer_information' => $params['manufacturer_information']??'',
|
||||
'swap' => $params['swap'] ?? 0,
|
||||
|
||||
];
|
||||
@ -177,7 +179,8 @@ class StoreProductLogic extends BaseLogic
|
||||
StoreBranchProduct::where('product_id', $params['id'])->update([
|
||||
'price' => $params['price'], 'vip_price' => $params['vip_price'],
|
||||
'cost' => $params['cost'],
|
||||
'batch'=>$params['batch'],'store_name'=>$params['store_name']
|
||||
'batch'=>$params['batch'],'store_name'=>$params['store_name'],
|
||||
'manufacturer_information' => $params['manufacturer_information']??'',
|
||||
]);
|
||||
|
||||
Db::commit();
|
||||
@ -290,6 +293,7 @@ class StoreProductLogic extends BaseLogic
|
||||
'store_id' => $store_id,
|
||||
'sales' => 0,
|
||||
'stock' => $stock,
|
||||
'manufacturer_information' => $find['manufacturer_information']??'',
|
||||
];
|
||||
StoreBranchProduct::create($product);
|
||||
$arr = [
|
||||
|
@ -59,6 +59,7 @@ class StoreStorageSend implements Consumer
|
||||
'cost' => $find['cost'],
|
||||
'purchase' => $find['purchase'],
|
||||
'vip_price' => $find['vip_price'],
|
||||
'manufacturer_information' => $find['manufacturer_information']??'',
|
||||
'unit' => $find['unit'],
|
||||
'batch' => $find['batch'],
|
||||
'store_id' => $store_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user