Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
83e99a23
Commit
83e99a23
authored
Dec 14, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增会员id、角色id相关字段
parent
09170eeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
useBusinessEffects.ts
.../bills/components/BillsForm/effects/useBusinessEffects.ts
+7
-1
No files found.
src/pages/transaction/stockSellStorage/bills/components/BillsForm/effects/useBusinessEffects.ts
View file @
83e99a23
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2020-09-16 15:16:47
* @Date: 2020-09-16 15:16:47
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-
09 16:00:2
0
* @LastEditTime: 2020-12-
14 11:26:5
0
* @Description: 联动逻辑相关
* @Description: 联动逻辑相关
*/
*/
import
{
Modal
}
from
'antd'
;
import
{
Modal
}
from
'antd'
;
...
@@ -217,6 +217,8 @@ const fetchOrderPurchaseReceiptAddList = async (params: any) => {
...
@@ -217,6 +217,8 @@ const fetchOrderPurchaseReceiptAddList = async (params: any) => {
data
:
res
.
data
.
data
.
map
(
item
=>
({
data
:
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
memberName
:
item
.
supplyMembersName
,
memberName
:
item
.
supplyMembersName
,
membersId
:
item
.
supplyMembersId
,
membersRoleId
:
item
.
supplyMembersRoleId
,
})),
})),
total
:
res
.
data
.
totalCount
,
total
:
res
.
data
.
totalCount
,
};
};
...
@@ -234,6 +236,8 @@ const getOrderSalesInvoiceOrderList = async (params: any) => {
...
@@ -234,6 +236,8 @@ const getOrderSalesInvoiceOrderList = async (params: any) => {
data
:
res
.
data
.
data
.
map
(
item
=>
({
data
:
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
item
,
memberName
:
item
.
memberName
,
memberName
:
item
.
memberName
,
membersId
:
item
.
memberId
,
membersRoleId
:
item
.
memberRoleId
,
})),
})),
total
:
res
.
data
.
totalCount
,
total
:
res
.
data
.
totalCount
,
};
};
...
@@ -518,6 +522,8 @@ export const useBusinessEffects = (context, actions) => {
...
@@ -518,6 +522,8 @@ export const useBusinessEffects = (context, actions) => {
// 设置单据公用的数据相关
// 设置单据公用的数据相关
setFieldValue
(
'memberName'
,
first
?
first
.
memberName
:
''
);
setFieldValue
(
'memberName'
,
first
?
first
.
memberName
:
''
);
setFieldValue
(
'membersId'
,
first
?
first
.
membersId
:
''
);
setFieldValue
(
'membersRoleId'
,
first
?
first
.
membersRoleId
:
''
);
setFieldValue
(
'address'
,
first
?
`
${
first
.
fullAddress
}
${
first
.
receiverName
}
/
${
first
.
phone
}
`
:
''
);
setFieldValue
(
'address'
,
first
?
`
${
first
.
fullAddress
}
${
first
.
receiverName
}
/
${
first
.
phone
}
`
:
''
);
// 以下数据只用于收集,不用于展示
// 以下数据只用于收集,不用于展示
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment