|
|
|
@ -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())
|