import { factorySelect } from "@/services/system";
export default {
  shopCode: {
    value: null,
    type: "input",
    title: "车间编号",
    name: ["shopCode"],
    required: true,
  },
  shopName: {
    value: null,
    type: "input",
    title: "车间名称",
    name: ["shopName"],
    required: true,
  },
  factoryId: {
    value: null,
    type: "select",
    title: "所属工厂",
    name: ["factoryId"],
    required: true,
    options: {
      database: factorySelect,
      params: {},
    },
  },
  remark: {
    value: null,
    type: "textarea",
    title: "描述",
    name: ["remark"],
    required: false,
    col: { span: 24 },
  },
};
