cloudroam
2024-09-20 e93234340fe0958b8c205ea6d60d43c9c0d76b14
utils/form-item-config.js
@@ -76,6 +76,7 @@
        current: 1,
        size: 2000,
        status: 'P',
        isEnabled: 1,
      },
      props: {
        label: 'name',
@@ -93,7 +94,10 @@
  }
}
export const getGoodsCategoryListConfig = (checkStrictly = false) => {
export const getGoodsCategoryListConfig = (
  checkStrictly = false,
  multiple = false
) => {
  return {
    label: '商品分类:',
    id: 'categoryId',
@@ -105,7 +109,9 @@
        value: 'id',
        emitPath: false,
        checkStrictly,
        multiple,
      },
      filterable: true,
      clearable: true,
      style: 'width:100%',
    },