完善采购审批流程、企业微信通知和采购专用章

This commit is contained in:
reddaniel110
2026-09-16 11:45:21 +08:00
parent 4876d8805d
commit bf952196fa
58 changed files with 3451 additions and 1909 deletions
+17
View File
@@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block body %}
<div class="card">
<h1>修改密码</h1>
{% if user.must_change_password %}<p>首次登录或管理员重置密码后,请先设置自己的新密码。</p>{% endif %}
<form method="post">
<input type="hidden" name="next" value="{{ request.form.get('next', request.args.get('next', '/')) }}">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="form-grid">
<div><label>原密码</label><input type="password" name="old_password" required autocomplete="current-password"></div>
<div><label>新密码(10 至 128 字符)</label><input type="password" name="password" required minlength="10" maxlength="128" autocomplete="new-password"></div>
<div><label>再次输入新密码</label><input type="password" name="confirm_password" required minlength="10" maxlength="128" autocomplete="new-password"></div>
</div>
<button class="btn primary">更新密码</button>
</form>
</div>
{% endblock %}