"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _react = _interopRequireDefault(require("react"));
var _vtxFormLayout = _interopRequireDefault(require("@vtx/components/lib/vtx-form-layout"));
var _space = _interopRequireDefault(require("antd/lib/space"));
var _inputNumber = _interopRequireDefault(require("antd/lib/input-number"));
var _form = _interopRequireDefault(require("antd/lib/form"));
var _DivisionTreeSelect = _interopRequireDefault(require("../_component/DivisionTreeSelect"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var FilterForm = function FilterForm(_ref) {
  var form = _ref.form;
  return /*#__PURE__*/_react["default"].createElement(_form["default"], {
    form: form
  }, /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"], {
    cols: 1
  }, /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"].FormItem, {
    label: "\u884C\u653F\u533A\u5212",
    name: "divisionIds",
    getValueFromEvent: function getValueFromEvent(_ref2) {
      var keys = _ref2.keys;
      return keys;
    }
  }, /*#__PURE__*/_react["default"].createElement(_DivisionTreeSelect["default"], null)), /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"].FormItem, {
    label: "\u6C61\u6C34\u6536\u96C6\u7387\uFF08%\uFF09"
  }, /*#__PURE__*/_react["default"].createElement(_space["default"], null, /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
    noStyle: true,
    name: "collectionRateMin"
  }, /*#__PURE__*/_react["default"].createElement(_inputNumber["default"], {
    style: {
      width: '100%'
    },
    placeholder: "\u5F00\u59CB"
  })), /*#__PURE__*/_react["default"].createElement("span", null, "\u81F3"), /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
    noStyle: true,
    name: "collectionRateMax"
  }, /*#__PURE__*/_react["default"].createElement(_inputNumber["default"], {
    style: {
      width: '100%'
    },
    placeholder: "\u7ED3\u675F"
  }))))));
};
FilterForm.propTypes = {
  form: _propTypes["default"].object
};
var _default = exports["default"] = FilterForm;
//# sourceMappingURL=FilterForm.js.map
