"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _api = require("../../api");
var _vmTable = _interopRequireDefault(require("../../../vm-table"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var Factory = function Factory(_ref) {
  var id = _ref.id,
    startTime = _ref.startTime,
    endTime = _ref.endTime;
  var tableProps = _api.BasicService.factoryList({
    startTime: startTime,
    endTime: endTime,
    id: id
  });
  var columns = [{
    title: '车牌号',
    dataIndex: 'carCode',
    width: 100,
    ellipsis: true
  }, {
    title: '处置单位',
    dataIndex: 'handleUnit',
    width: 150,
    ellipsis: true
  }, {
    title: '进厂时间',
    dataIndex: 'grossDateTime',
    width: 150,
    sorter: true
  }, {
    title: '净重（kg）',
    dataIndex: 'netWeight',
    width: 120,
    align: 'right',
    sorter: true
  }];
  return /*#__PURE__*/_react["default"].createElement(_vmTable["default"], Object.assign({}, tableProps, {
    columns: columns
  }));
};
var _default = exports["default"] = Factory;
//# sourceMappingURL=Factory.js.map
