更新发票到账
This commit is contained in:
parent
ed518edfc2
commit
feed1af188
|
@ -40,6 +40,33 @@ class OaApprove extends ApiController
|
||||||
$list[$k]['create_time'] = date('Y-m-d H:i:s', $v['create_time']);
|
$list[$k]['create_time'] = date('Y-m-d H:i:s', $v['create_time']);
|
||||||
$list[$k]['update_time'] = date('Y-m-d H:i:s', $v['update_time']);
|
$list[$k]['update_time'] = date('Y-m-d H:i:s', $v['update_time']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$list[] = [
|
||||||
|
"id" => 9996,
|
||||||
|
"type" => 3,
|
||||||
|
"title" => "报销",
|
||||||
|
"name" => "baoxiao",
|
||||||
|
"icon" => "icon-baoxiao",
|
||||||
|
"img" => "https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/oa/renliziyuan.png",
|
||||||
|
"department_ids" => "",
|
||||||
|
"status" => 1,
|
||||||
|
"create_time" => "2022-01-10 16:21:32",
|
||||||
|
"update_time" => "2022-01-10 16:21:32"
|
||||||
|
];
|
||||||
|
|
||||||
|
$list[] = [
|
||||||
|
"id" => 9997,
|
||||||
|
"type" => 3,
|
||||||
|
"title" => "发票",
|
||||||
|
"name" => "fapiao",
|
||||||
|
"icon" => "icon-fapiao",
|
||||||
|
"img" => "https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/oa/renliziyuan.png",
|
||||||
|
"department_ids" => "",
|
||||||
|
"status" => 1,
|
||||||
|
"create_time" => "2022-01-10 16:21:32",
|
||||||
|
"update_time" => "2022-01-10 16:21:32"
|
||||||
|
];
|
||||||
|
|
||||||
$loginAdmin = Db::name('Admin')->where(['id' => $uid])->find();
|
$loginAdmin = Db::name('Admin')->where(['id' => $uid])->find();
|
||||||
$did = $loginAdmin['did'];
|
$did = $loginAdmin['did'];
|
||||||
// 如果是人事部
|
// 如果是人事部
|
||||||
|
@ -73,7 +100,7 @@ class OaApprove extends ApiController
|
||||||
"update_time" => "2022-01-10 16:21:32"
|
"update_time" => "2022-01-10 16:21:32"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->apiSuccess('获取成功', $list);
|
$this->apiSuccess('获取成功', $list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue