import { api } from "../../../api/common/dictionaries-type";

export let itemHealthCategory = {
  type: 'select',
  name: 'itemHealthCategory',
  label: '商品大类',
  value: '',
  autoLoad: true,
  remoteUrl: { url: api.queryDictList + '?dicttypeCodes=item_health_category', method: 'post' },
  replaceFields: {
    value: 'dictCode',
    label: 'dictName'
  },
};

export let abcType = {
  type: 'select',
  name: "abcType",
  label: "ABC属性",
  value: "",
  autoLoad: true,
  remoteUrl: { url: api.queryDictList + '?dicttypeCodes=abcgroup', method: 'post' },
  replaceFields: {
    value: 'dictCode',
    label: 'dictName'
  },
};