Commit 26ffa068 by hcy001
parents d5506a79 42f563aa
......@@ -38,7 +38,7 @@ class OpLogModel extends Model
break;
}
}
})->orderBy('id','desc')->paginate(@$input['limit'] ? $input["limit"]:10, ['*'], 'page', @$input['p'] ? $input["p"]:1 )->toArray();
})->orderBy('id','desc')->paginate(@$input['limit'] ? $input["limit"]:10, ['*'], 'page', @$input['page'] ? $input["page"]:1 )->toArray();
if (!$list) return [20001, '没有数据'];
foreach ($list['data'] as $k=>&$v){
$v['types_val'] = $v['types'] == 1 ? '询价' : '报价';
......
......@@ -417,7 +417,7 @@ class QuoteModel extends Model
$data = [];
$data['types'] = 2;
$data['relation_id'] = $res->id;
$data['relation_sn'] = '';
$data['relation_sn'] = $quote_info['quote_sn'];
$data['content'] = '新增报价,报价单号:'.$quote_info['quote_sn'];
$data['create_uid'] = $input['user_id'];
$data['create_name'] = $input['user_name'];
......
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