import { factorySelect } from "@/services/system";
import { doFetch } from "@/utils/doFetch";
export default {
  "storeCode": {
    "value": null,
    "type": "input",
    "title": "仓库编号",
    "name": [
      "storeCode"
    ],
    "required": false
  },
  "storeName": {
    "value": null,
    "type": "input",
    "title": "仓库名称",
    "name": [
      "storeName"
    ],
    "required": true
  },
  "storeType": {
    "value": null,
    "type": "select",
    "title": "仓库类型",
    "name": [
      "storeType"
    ],
    "required": true,
    "options": {
      database:()=>doFetch({url:"/ngic-base-business/sysDic/queryStoreTypeSelect",params:{}}),
      params:{}
    }
  },
  "factoryId": {
    "value": null,
    "type": "select",
    "title": "所属工厂",
    "name": ["factoryId"],
    "required": true,
    "options": {
      "database": factorySelect,
      "params": {},
    },
  }
};
