Commit 4f0a18cd authored by hujun's avatar hujun

成交报告结单

parent cdf91dce
...@@ -446,7 +446,8 @@ class OBargainModel extends Model ...@@ -446,7 +446,8 @@ class OBargainModel extends Model
if ($data['audit_level'] == 2 && $status == 10) { if ($data['audit_level'] == 2 && $status == 10) {
$update_data['status'] = 13; $update_data['status'] = 13;
$update_data['account_statement'] = 1; $update_data['account_statement'] = 1;
$update_data['account_time'] = time(); $update_data['account_time'] = date('Y-m-d H:i:s');
$this->where('id', $bargain_data['id'])->whereOr('father_id',$bargain_data['id'])->update($update_data);
$this->save($update_data, [ 'id' => $bargain_data['id'] ]); $this->save($update_data, [ 'id' => $bargain_data['id'] ]);
} else { } else {
$update_data['status'] = 11; $update_data['status'] = 11;
......
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