Commit cfa88507 by duwenjun

日志

parent 85d700bc
Showing with 6 additions and 0 deletions
......@@ -781,6 +781,9 @@ class QuoteModel extends Model
$data['content'] = '新增报价,报价单号:' . $quote_info['quote_sn'];
$data['create_uid'] = $input['user_id'];
$data['create_name'] = $input['user_name'];
if (RequestHelper::getClientType() == AppType::APPTYPE_YUNXIN){
$data['create_name'] = $quote_info['supplier_name'];
}
OpLogModel::log($data);
......@@ -1215,6 +1218,9 @@ class QuoteModel extends Model
$data['content'] = $content;
$data['create_uid'] = $input['user_id'];
$data['create_name'] = $input['user_name'];
if (RequestHelper::getClientType() == AppType::APPTYPE_YUNXIN){
$data['create_name'] = $info['supplier_name'];
}
OpLogModel::log($data);
......
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 sign in to comment