| | |
| | | import { h } from 'vue'; |
| | | |
| | | import { DICT_TYPE, MesAutoCodeRuleCode } 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: 'chargeUserId', |
| | |
| | | minWidth: 160, |
| | | }, |
| | | { |
| | | field: 'type', |
| | | title: '仓库类型', |
| | | width: 110, |
| | | cellRender: { |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.MES_WM_WAREHOUSE_TYPE }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'address', |
| | | title: '仓库地址', |
| | | minWidth: 180, |