Commit e8a72895 authored by hujun's avatar hujun

费用报销编辑申请人

parent 7910a7e3
......@@ -206,9 +206,6 @@ class StoreFeeService
if ($total_fee) {
$arr["total_fee"] = $total_fee;
}
if ($agent_id) {
$arr["agent_id"] = $agent_id;
}
if ($store_id) {
$arr["store_id"] = $store_id;
}
......@@ -243,6 +240,9 @@ class StoreFeeService
}
$arr["update_time"] = date("Y-m-d H:i:s", time());
if ($id <= 0) {
if ($agent_id) {
$arr["agent_id"] = $agent_id; //申请人,防止编辑前端传错误数据。
}
$arr["create_time"] = date("Y-m-d H:i:s", time());
} else {
$arr['id'] = $id;
......
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