diff --git a/.flaskenv b/.flaskenv index 151b41a..fc967d4 100644 --- a/.flaskenv +++ b/.flaskenv @@ -1,2 +1,3 @@ FLASK_APP=inventory_check -FLASK_ENV=development \ No newline at end of file +FLASK_ENV=development +SECRET_KEY=asdASS3434dfE5tgfg \ No newline at end of file diff --git a/README.md b/README.md index 538d9db..14807a9 100644 --- a/README.md +++ b/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 \ No newline at end of file diff --git a/inventory_check/static/js/script.js b/inventory_check/static/js/script.js index 3c10976..96cc806 100644 --- a/inventory_check/static/js/script.js +++ b/inventory_check/static/js/script.js @@ -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(); \ No newline at end of file diff --git a/inventory_check/templates/base.html b/inventory_check/templates/base.html index 959b9a0..db2d20f 100644 --- a/inventory_check/templates/base.html +++ b/inventory_check/templates/base.html @@ -10,20 +10,15 @@