|
@@ -177,7 +177,7 @@ class flow_sealaplClassModel extends flowModel
|
|
|
$rs['state_info'] = $this->getApproval($rs['nowcheckname'] ?? ''); // 当前审核人
|
|
|
|
|
|
// 详情编号展示
|
|
|
- $date = $this->rs['applydt'] ?? null;
|
|
|
+ $date = $rs['date'] ?? null;
|
|
|
if ($date) {
|
|
|
$year = date("Y", strtotime($date));
|
|
|
$month = date("m", strtotime($date));
|
|
@@ -190,9 +190,10 @@ class flow_sealaplClassModel extends flowModel
|
|
|
|
|
|
$rs['year'] = $year;
|
|
|
$rs['month'] = $month;
|
|
|
- $rs['num'] = ($this->id - (empty($last_month_max_id) ? $this_month_max_id - 2: $last_month_max_id));
|
|
|
+ $rs['num'] = ($rs['id'] - (empty($last_month_max_id) ? $this_month_max_id - 2: $last_month_max_id));
|
|
|
+// $rs['num'] = $this_month_max_id . '-' . $last_month_max_id . '-' . $this_month_max_id;
|
|
|
}
|
|
|
-
|
|
|
+// $rs['num'] = $rs['date'];
|
|
|
|
|
|
return $rs;
|
|
|
}
|