diff --git a/packages/app-operation/src/components/BasicData/BoxProductList.tsx b/packages/app-operation/src/components/BasicData/BoxProductList.tsx index a3f9b1e..dd51217 100644 --- a/packages/app-operation/src/components/BasicData/BoxProductList.tsx +++ b/packages/app-operation/src/components/BasicData/BoxProductList.tsx @@ -244,12 +244,6 @@ export default function BoxProductList(props: IBoxProductListProps) { id: intlPrefix + '.type.thirdPartyBox', }), }, - { - key: 'FARMER_BOX', - tab: intl.formatMessage({ - id: intlPrefix + '.type.farmerBox', - }), - }, ], }, }} diff --git a/packages/app-operation/src/components/BasicData/MelonFarmerList.tsx b/packages/app-operation/src/components/BasicData/MelonFarmerList.tsx index d882309..7a1d9f2 100644 --- a/packages/app-operation/src/components/BasicData/MelonFarmerList.tsx +++ b/packages/app-operation/src/components/BasicData/MelonFarmerList.tsx @@ -5,8 +5,10 @@ import { ModeType, } from '@/components'; import { business } from '@/services'; +import { formatBankCard, formatIdCard, formatPhone } from '@/utils/format'; import { formatParam } from '@/utils/formatParam'; import { useIntl } from '@@/exports'; +import { EyeInvisibleOutlined, EyeTwoTone } from '@ant-design/icons'; import { ActionType, ProColumns, @@ -15,8 +17,6 @@ import { import { ProDescriptionsItemProps } from '@ant-design/pro-descriptions'; import { ProFormUploadMaterial } from '@chageable/components'; import React, { useRef, useState } from 'react'; -import { EyeInvisibleOutlined, EyeTwoTone } from '@ant-design/icons'; -import { formatBankCard, formatIdCard, formatPhone } from '@/utils/format'; interface IMelonFarmerListProps { ghost?: boolean; @@ -37,7 +37,7 @@ export default function MelonFarmerList(props: IMelonFarmerListProps) { onValueChange, } = props; const intl = useIntl(); - const intlPrefix = 'supplier'; + const intlPrefix = 'melonFarmer'; const actionRef = useRef(); const [showIdCard, setShowIdCard] = useState>({}); @@ -142,6 +142,8 @@ export default function MelonFarmerList(props: IMelonFarmerListProps) { ]; const formContext = [ +