Commit 2e380c33 authored by 前端-甘科's avatar 前端-甘科

Merge branch '20418order' into 'v2-220418'

b2b 调用 getMemberManageBuyerMembe See merge request linkseeks-design/pro-platform!651
parents b7c534cf d5c2f689
...@@ -28,6 +28,7 @@ import usePrompt from '@/hooks/usePrompt'; ...@@ -28,6 +28,7 @@ import usePrompt from '@/hooks/usePrompt';
import useLogistics from '../../assets/hooks/useLogistics'; import useLogistics from '../../assets/hooks/useLogistics';
import { validatorByteObject } from '@/utils/regExp'; import { validatorByteObject } from '@/utils/regExp';
import { formatTable, formMapData } from '../../components/DeliveryGoodTableSelect/useformatTable'; import { formatTable, formMapData } from '../../components/DeliveryGoodTableSelect/useformatTable';
import { getMemberManageBuyerMember } from '@/services/MemberV2Api';
const DeliveryNoticeManageSRMDetails: React.FC = () => { const DeliveryNoticeManageSRMDetails: React.FC = () => {
...@@ -144,14 +145,16 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => { ...@@ -144,14 +145,16 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
required() required()
]} ]}
label={BuyerLabel} name="member"> label={BuyerLabel} name="member">
<RoleSelect formatFeils={(e) => { <RoleSelect
return { request={getMemberManageBuyerMember}
buyerMemberId: e.memberId, formatFeils={(e) => {
buyerRoleId: e.roleId, return {
roleType: 2, buyerMemberId: e.memberId,
name: e.name buyerRoleId: e.roleId,
} roleType: 2,
}} /> name: e.name
}
}} />
</FormItem> </FormItem>
</ContentBox> </ContentBox>
......
...@@ -185,7 +185,7 @@ function DeliveryNoticeFromCreate() { ...@@ -185,7 +185,7 @@ function DeliveryNoticeFromCreate() {
<FormItem <FormItem
label={DeliveryNameLabel} name="executorVO.consignee"> label={DeliveryNameLabel} name="executorVO.consignee">
<Input /> <Input placeholder={`请输入${DeliveryNameLabel}`} />
</FormItem> </FormItem>
<FormItem <FormItem
...@@ -198,7 +198,7 @@ function DeliveryNoticeFromCreate() { ...@@ -198,7 +198,7 @@ function DeliveryNoticeFromCreate() {
<FormItem <FormItem
label={DeliveryPhoneLabel} name="executorVO.phone"> label={DeliveryPhoneLabel} name="executorVO.phone">
<Input /> <Input placeholder={`请输入${DeliveryPhoneLabel}`} />
</FormItem> </FormItem>
</ContentBox> </ContentBox>
......
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