修改采购订单写入
This commit is contained in:
parent
9f476e7634
commit
695110cb59
@ -55,6 +55,9 @@ class StoreProcessing extends BaseController
|
||||
$arr[$key]['total_price'] = $arr[$key]['product_price'];
|
||||
$arr[$key]['pay_price'] = $arr[$key]['product_price'];
|
||||
$arr[$key]['product_id'] = $value['product_source_id'];
|
||||
$arr[$key]['uid'] = $merchant_two['uid'];
|
||||
$arr[$key]['product_source_id'] = 0;
|
||||
$arr[$key]['product_mer_id'] = 0;
|
||||
unset($arr[$key]['order_product_id']);
|
||||
Db::name('store_product')->where('product_id',$value['product_source_id'])->dec('stock');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user