4 天以前 91c82965b2d987452ca276e3a03b48c8dcda2ae9
src/views/basicData/mdm/components/data.ts
@@ -12,28 +12,28 @@
  return [
    {
      fieldName: 'code',
      label: '物料编码',
      label: '品种编码',
      component: 'Input',
      componentProps: {
        allowClear: true,
        placeholder: '请输入物料编码',
        placeholder: '请输入品种编码',
      },
    },
    {
      fieldName: 'name',
      label: '物料名称',
      label: '品种名称',
      component: 'Input',
      componentProps: {
        allowClear: true,
        placeholder: '请输入物料名称',
        placeholder: '请输入品种名称',
      },
    },
    {
      fieldName: 'categoryId',
      label: '物料分类',
      label: '品种分类',
      component: 'ApiSelect',
      componentProps: {
        placeholder: '请选择物料分类',
        placeholder: '请选择品种分类',
        allowClear: true,
        api: async () => {
          const res = await getItemTypeSimpleList();
@@ -64,12 +64,12 @@
    { type: multiple ? 'checkbox' : 'radio', width: 50 },
    {
      field: 'code',
      title: '物料编码',
      title: '品种编码',
      minWidth: 120,
    },
    {
      field: 'name',
      title: '物料名称',
      title: '品种名称',
      minWidth: 180,
      align: 'left',
    },
@@ -81,7 +81,7 @@
    },
    {
      field: 'categoryId',
      title: '物料分类',
      title: '品种分类',
      minWidth: 120,
      align: 'center',
      slots: { default: 'categoryId' },