xiaoyi
3 天以前 5c243d9d05da668a32b1bc9a4f543ea081488d11
src/views/wls/warehouse/data.ts
@@ -6,6 +6,7 @@
import { h } from 'vue';
import { DICT_TYPE, MesAutoCodeRuleCode } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { Button } from 'ant-design-vue';
@@ -68,6 +69,15 @@
        placeholder: '请输入仓库名称',
      },
      rules: 'required',
    },
    {
      fieldName: 'type',
      label: '仓库类型',
      component: 'Select',
      componentProps: {
        options: getDictOptions(DICT_TYPE.MES_WM_WAREHOUSE_TYPE, 'number'),
        placeholder: '请选择仓库类型',
      },
    },
    {
      fieldName: 'chargeUserId',
@@ -175,6 +185,15 @@
      minWidth: 160,
    },
    {
      field: 'type',
      title: '仓库类型',
      width: 110,
      cellRender: {
        name: 'CellDict',
        props: { type: DICT_TYPE.MES_WM_WAREHOUSE_TYPE },
      },
    },
    {
      field: 'address',
      title: '仓库地址',
      minWidth: 180,