摘要: django 后端逻辑 def transaction_add(request, pk): res_code = ResCode() if request.method == 'POST': form = TransactionForm(data=request.POST) if not form. 阅读全文
posted @ 2022-09-17 18:27 Sherwin_szw 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 前端js <script> $(function () { $("#addBtn").click(function () { $("#addModal").modal('show') }) $("#submitBtn").click(function () { $.ajax({ url: "{% u 阅读全文
posted @ 2022-09-17 12:53 Sherwin_szw 阅读(26) 评论(0) 推荐(0) 编辑