|
@@ -1724,7 +1724,7 @@ class Sell
|
|
|
Dever::load('mshop/lib/buy')->getSelect($source, $v1['source_id'], $v1['order_goods_id']),
|
|
|
$v1['num'],
|
|
|
$goods_info['unit'],
|
|
|
- $v1['p_price'] * $v1['num'],
|
|
|
+ $v1['price'] * $v1['num'],
|
|
|
);
|
|
|
|
|
|
$body[] = $d;
|
|
@@ -1750,7 +1750,7 @@ class Sell
|
|
|
Dever::load('mshop/lib/buy')->getSelect($source, false, $v['id']),
|
|
|
$v['num'],
|
|
|
$goods_info['unit'],
|
|
|
- $v['p_price'] * $v['num'],
|
|
|
+ $v['price'] * $v['num'],
|
|
|
);
|
|
|
|
|
|
$body[] = $d;
|
|
@@ -1878,7 +1878,7 @@ class Sell
|
|
|
$shop = Dever::db('shop/info')->find($info['shop_id']);
|
|
|
|
|
|
if ($audit == 2) {
|
|
|
- Dever::db('shop/sell_order')->update(array('where_id' => $info['id'], 'audit' => $audit, 'audit_desc' => $audit_text));
|
|
|
+ Dever::db('shop/sell_order')->update(array('where_id' => $info['id'], 'status' => 3, 'audit' => $audit, 'audit_desc' => $audit_text));
|
|
|
|
|
|
if (strstr($info['order_num'], '_')) {
|
|
|
$temp = explode('_', $info['order_num']);
|