xiaoyi
7 天以前 27c8277d717b34b55f3ea967027b53b067f77df3
src/views/wls/warehouse/area/data.ts
@@ -8,8 +8,8 @@
  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';
@@ -100,6 +100,15 @@
        placeholder: '请输入库位名称',
      },
      rules: 'required',
    },
    {
      fieldName: 'type',
      label: '库区类型',
      component: 'Select',
      componentProps: {
        options: getDictOptions(DICT_TYPE.MES_WM_WAREHOUSE_TYPE, 'number'),
        placeholder: '请选择库区类型',
      },
    },
    {
      fieldName: 'area',
@@ -275,6 +284,15 @@
      minWidth: 160,
    },
    {
      field: 'type',
      title: '库区类型',
      width: 110,
      cellRender: {
        name: 'CellDict',
        props: { type: DICT_TYPE.MES_WM_WAREHOUSE_TYPE },
      },
    },
    {
      field: 'area',
      title: '面积(㎡)',
      width: 100,