添加删除请购接口

duizhaopin
13507605001 2 years ago
parent 8d6f6f3339
commit 3d2b8e22ce

@ -134,3 +134,12 @@ def dowload_shengou():
print(error)
return jsonify(Utils.false_return(msg=f"导出错误:{error}"))
return jsonify(Utils.false_return(msg="申购单导出错误"))
# 删除消息
@shengou_bp.route("/del", methods=["POST"])
@token_auth.login_required
def del_shengou():
shengou_id =request.values.get("id")
BllMedicamntShenGou().delete(EntityMedicamntShenGou.id==shengou_id)
return jsonify(Utils.true_return())
Loading…
Cancel
Save