cn
This commit is contained in:
@ -1,2 +1,3 @@
|
||||
FLASK_APP=inventory_check
|
||||
FLASK_ENV=development
|
||||
FLASK_ENV=development
|
||||
SECRET_KEY=asdASS3434dfE5tgfg
|
13
README.md
13
README.md
@ -1,9 +1,10 @@
|
||||
# inventory_check
|
||||
|
||||
|
||||
click 8.1.8
|
||||
Flask 3.1.0
|
||||
Flask-Moment 1.0.6
|
||||
Flask-SQLAlchemy 3.1.1
|
||||
gunicorn 23.0.0
|
||||
openpyxl 3.1.5
|
||||
click
|
||||
Flask
|
||||
Flask-Moment
|
||||
Flask-SQLAlchemy
|
||||
gunicorn
|
||||
openpyxl
|
||||
python-dotenv
|
@ -37,7 +37,7 @@ function checknext() {
|
||||
amount.value = data.amount;
|
||||
tagelement.innerText = data.tag;
|
||||
idelement.innerText = data.id;
|
||||
msg.innerText = data.checkedone + " checked " + data.checkedamount;
|
||||
msg.innerText = data.checkedone + " 盘点数 " + data.checkedamount;
|
||||
|
||||
})
|
||||
.catch(error => console.error('Error:', error));
|
||||
@ -69,3 +69,4 @@ function apiAuth() {
|
||||
});
|
||||
});
|
||||
}
|
||||
apiAuth();
|
@ -10,20 +10,15 @@
|
||||
<body>
|
||||
<main class="grail">
|
||||
<header>
|
||||
<h1>
|
||||
<a href="" ><strong>CHECK</strong></a>
|
||||
<small>it</small>
|
||||
</h1>
|
||||
|
||||
<h1>盘点 </h1>
|
||||
</header>
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
<footer>
|
||||
{% block footer %}
|
||||
<small> © 2025 <a href="http://yum2.cc" title="Written by luffmims">luffmims</a> /
|
||||
|
||||
<small> © 2025 <a href="http://yum2.cc" title="Written by luff">luff</a> /
|
||||
</small>
|
||||
<p><a id="bottom" href="#" title="Go Top">↑</a></p>
|
||||
<!-- <p><a id="bottom" href="#" title="Go Top">↑</a></p> -->
|
||||
{% endblock %}
|
||||
</footer>
|
||||
</main>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div id="flash-msg">
|
||||
Let's go!
|
||||
开始盘点>>>
|
||||
</div>
|
||||
<div>
|
||||
<div class="handler">
|
||||
|
@ -7,15 +7,15 @@
|
||||
</small>
|
||||
</h5>
|
||||
<form method=get action="/upload">
|
||||
<input style="width:100px;" type=submit value=上传>
|
||||
<input style="width:100px;" type=submit value=上传XLSX>
|
||||
</form>
|
||||
<form method=get action="/list">
|
||||
<input style="width:100px;" type=submit value=list>
|
||||
<input style="width:100px;" type=submit value=显示列表>
|
||||
</form>
|
||||
<form method=get action="/check">
|
||||
<input style="width:100px;" type=submit value=check>
|
||||
<input style="width:100px;" type=submit value=继续盘点>
|
||||
</form>
|
||||
<form method=get action="/download-xlsx">
|
||||
<input style="width:100px;" type=submit value=download-xlsx>
|
||||
<input style="width:100px;" type=submit value=下载XLSX>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@ -2,9 +2,9 @@
|
||||
{% block title %}上传Excel文件{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>上传Excel文件</h1>
|
||||
<h1>上传Excel XLSX文件</h1>
|
||||
<form method=post enctype=multipart/form-data action="/import">
|
||||
<div><input style="width:300px;" type=file name=file></div>
|
||||
<div><input style="width:300px;" type=file name=选择></div>
|
||||
<div class="handler"><div></div><input style="width:100px;"type=submit value=上传></div>
|
||||
</form>
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user