gaoluyang
2026-09-24 a342672f32352c1337b8977c25c101725fccedd5
src/views/erp/purchase/statistics/price.vue
@@ -2,14 +2,16 @@
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { ErpPurchaseStatisticsApi } from '#/api/erp/purchase/statistics';
import { markRaw } from 'vue';
import { Page } from '@vben/common-ui';
import { Tag } from 'ant-design-vue';
import { useVbenVxeGrid } from '#/adapter/vxe-table';
import { getPriceAnalysis } from '#/api/erp/purchase/statistics';
import { getProductSimpleList } from '#/api/erp/product/product';
import { getRangePickerDefaultProps } from '#/utils';
import { MdmItemSelect } from '#/views/basicData/mdm/components';
import type { VbenFormSchema } from '#/adapter/form';
@@ -20,14 +22,9 @@
  {
    fieldName: 'productId',
    label: '产品',
    component: 'ApiSelect',
    component: markRaw(MdmItemSelect),
    componentProps: {
      placeholder: '请选择产品',
      allowClear: true,
      showSearch: true,
      api: getProductSimpleList,
      labelField: 'name',
      valueField: 'id',
    },
  },
  {