| | |
| | | CommonStatusEnum, |
| | | DICT_TYPE, |
| | | MesAutoCodeRuleCode, |
| | | } from '../../../../packages/constants/src'; |
| | | import { getDictOptions } from '../../../../packages/effects/hooks/src'; |
| | | } from '@vben/constants'; |
| | | import { getDictOptions } from '@vben/hooks'; |
| | | |
| | | import { Button } from 'ant-design-vue'; |
| | | |
| | |
| | | placeholder: '请输入库位名称', |
| | | }, |
| | | rules: 'required', |
| | | }, |
| | | { |
| | | fieldName: 'type', |
| | | label: '库区类型', |
| | | component: 'Select', |
| | | componentProps: { |
| | | options: getDictOptions(DICT_TYPE.MES_WM_WAREHOUSE_TYPE, 'number'), |
| | | placeholder: '请选择库区类型', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'area', |
| | |
| | | minWidth: 160, |
| | | }, |
| | | { |
| | | field: 'type', |
| | | title: '库区类型', |
| | | width: 110, |
| | | cellRender: { |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.MES_WM_WAREHOUSE_TYPE }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'area', |
| | | title: '面积(㎡)', |
| | | width: 100, |