입고 후 "입고완료"가 출력되도록 수정

This commit is contained in:
김민구
2024-01-25 09:34:01 +09:00
parent e9d1092222
commit 28e48e90ae

3
app.py
View File

@@ -159,7 +159,8 @@ def method():
update_data(url) update_data(url)
update_stock(warehouse_id, product_id, quantity) update_stock(warehouse_id, product_id, quantity)
return "POST로 전달된 데이터({}, {}, {}, {})".format(date, wh_name, quantity, pd_name) return "입고 완료!"
# return "POST로 전달된 데이터({}, {}, {}, {})".format(date, wh_name, quantity, pd_name)
# return render_template("form.html", date = row['date'], warehouse_id = row['warehouse_id'], quantity = row['quantity']) # return render_template("form.html", date = row['date'], warehouse_id = row['warehouse_id'], quantity = row['quantity'])
if __name__ == '__main__': if __name__ == '__main__':