Commit be8024a9 authored by hujun's avatar hujun

成交报告详情

parent a8355bac
...@@ -274,7 +274,8 @@ class Finance extends Basic ...@@ -274,7 +274,8 @@ class Finance extends Basic
} else { } else {
$bargain = new OBargainModel(); $bargain = new OBargainModel();
$fields = 'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.is_open,a.order_id,'; $fields = 'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.is_open,a.order_id,';
$fields .= 'a.trade_type,a.house_number,a.commission,a.content,d.shop_type,a.industry_type,a.price,a.estimated_receipt_date'; $fields .= 'a.trade_type,a.house_number,a.commission,a.content,d.shop_type,a.industry_type,a.price,a.estimated_receipt_date,';
$fields .= 'b.user_id,c.id as house_id';
$where['a.id'] = $this->params['id']; $where['a.id'] = $this->params['id'];
$data['data'] = $bargain->getBargainInfo($fields, $where); $data['data'] = $bargain->getBargainInfo($fields, $where);
} }
...@@ -341,6 +342,10 @@ class Finance extends Basic ...@@ -341,6 +342,10 @@ class Finance extends Basic
$update_data['price'] = $this->params['price']; $update_data['price'] = $this->params['price'];
} }
if (!empty($this->params['house_number'])) {
$update_data['house_number'] = $this->params['house_number'];
}
$update_data['estimated_receipt_date'] = $this->params['estimated_receipt_date']; //预计收款时间 $update_data['estimated_receipt_date'] = $this->params['estimated_receipt_date']; //预计收款时间
$m_bargain = new OBargainModel(); $m_bargain = new OBargainModel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment