Commit a9558346 authored by Gavin Peng's avatar Gavin Peng

fix: 修复送货单-收货单详情文案错误

parent ae45ff0e
......@@ -9,7 +9,7 @@ import {
BillsInfo, BuyerLabel, ConsigneeLabel, ConsigneeTimeLabel, DeliveryAbstractLabel, DeliveryAddrLabel,
DeliveryDateLabel, DeliveryGood, DeliveryInfo, DeliveryNameLabel, DeliveryNoLabel,
DeliveryPhoneLabel, DeliverySlefAddrLabel, DeliveryTimeLabel, DeliveryTypeLabel,
Distribution, ExternalRoamRecord, Harvest, LogisticsCarNoLabel, LogisticsCompanyLabel,
Distribution, ExternalRoamRecord, Harvest, HarvestMaterial, LogisticsCarNoLabel, LogisticsCompanyLabel,
LogisticsInfo, LogisticsNoLabel, Material, NoteLabel, OutStatusLabel, ReceiptAbstractLabel, ReceivingAddress, ReceivingTime, ReNoLabel
} from '../../constants'
import { BaseInfo as ContentBox } from '@/components/BaseInfo'
......@@ -63,9 +63,9 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
name: `${DeliveryGood.name}(${res?.data?.length})`
}
} : {
...Material,
...HarvestMaterial,
...{
name: `${Material.name}(${res?.data?.length})`
name: `${HarvestMaterial.name}(${res?.data?.length})`
}
},
]);
......@@ -197,8 +197,8 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
</ContentBox>
<ContentBox title={info?.type ? DeliveryGood.name : Material.name}
id={info?.type ? DeliveryGood.key : Material.key} cols={1}>
<ContentBox title={info?.type ? DeliveryGood.name : HarvestMaterial.name}
id={info?.type ? DeliveryGood.key : HarvestMaterial.key} cols={1}>
<Table
columns={
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment