|
@@ -218,11 +218,11 @@ class Manage extends Auth
|
|
|
|
|
|
|
|
|
# 展示订单金额
|
|
|
- public function showOrderCash($cate_id, $goods_id, $sku_id, $cash, $price, $num)
|
|
|
+ public function showOrderCash($cate_id, $goods_id, $sku_id, $cash, $price, $buy_price, $num)
|
|
|
{
|
|
|
$goods = Dever::db('info', 'goods')->find($goods_id);
|
|
|
|
|
|
- $result = $goods['name'] . ' / ' . $cash . ' / ' . $price;
|
|
|
+ $result = $goods['name'] . ' / ' . $cash . ' / ' . $price . ' / ' . $buy_price;
|
|
|
return $result;
|
|
|
}
|
|
|
|
|
@@ -367,7 +367,7 @@ class Manage extends Auth
|
|
|
$channel = Dever::db('info', 'channel')->find($data['channel_id']);
|
|
|
}
|
|
|
$value = $this->showOrderStatus($data['status']);
|
|
|
- $goods = $this->showOrderCash($data['cate_id'], $data['goods_id'], $data['sku_id'], $data['cash'], $data['price'], $data['num']);
|
|
|
+ $goods = $this->showOrderCash($data['cate_id'], $data['goods_id'], $data['sku_id'], $data['cash'], $data['price'], $data['buy_price'], $data['num']);
|
|
|
$result['type'] = 'desc';
|
|
|
if (strstr($data['account'], 'km_')) {
|
|
|
$code = $this->kmPwd($data['id'], $data['cdate']);
|