@bp_rack.route('/ajax/get_rack_choices', methods=['GET', 'POST'])
@login_required
def ajax_get_rack_choices():
    '\n    货架选项\n    :return:\n    '
    warehouse_id = request.args.get('warehouse_id', 0, type=int)
    rack_choices = get_rack_choices(warehouse_id)
    return jsonify(rack_choices)
货架选项
:return:
@bp_rack.route('/ajax/get_rack_choices', methods=['GET', 'POST'])
@login_required
def ajax_get_rack_choices():
    '\n    货架选项\n    :return:\n    '
    warehouse_id = request.args.get('warehouse_id', 0, type=int)
    rack_choices = get_rack_choices(warehouse_id)
    return jsonify(rack_choices)