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
linweijiong
jinfa-platform
Commits
5f4fb4e9
Commit
5f4fb4e9
authored
Oct 22, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug
parent
c6bebc0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
useBusinessEffects.ts
...kSellStorage/bills/addBills/effects/useBusinessEffects.ts
+4
-4
No files found.
src/pages/transaction/stockSellStorage/bills/addBills/effects/useBusinessEffects.ts
View file @
5f4fb4e9
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-09-16 15:16:47
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-10-22
09:25:26
* @LastEditTime: 2020-10-22
18:49:22
* @Description: 联动逻辑相关
*/
import
{
Modal
}
from
'antd'
;
...
...
@@ -463,7 +463,7 @@ export const useBusinessEffects = (context, actions) => {
return
`invoicesDetailsRequests.
${
$1
}
.price`
}),
state
=>
{
state
.
value
=
(
current
.
price
/
current
.
purchaseCount
)
.
toFixed
(
2
);
state
.
value
=
current
.
price
.
toFixed
(
2
);
}
);
setFieldState
(
...
...
@@ -479,7 +479,7 @@ export const useBusinessEffects = (context, actions) => {
return
`invoicesDetailsRequests.
${
$1
}
.amount`
}),
state
=>
{
state
.
value
=
`¥
${(
1
*
(
current
.
price
/
current
.
purchaseCount
)
).
toFixed
(
2
)}
`
;
state
.
value
=
`¥
${(
1
*
current
.
price
).
toFixed
(
2
)}
`
;
}
);
});
...
...
@@ -519,7 +519,7 @@ export const useBusinessEffects = (context, actions) => {
return
`invoicesDetailsRequests.
${
$1
}
.amount`
}),
state
=>
{
state
.
value
=
`¥
${(
+
value
*
(
current
.
price
/
current
.
purchaseCount
)
).
toFixed
(
2
)}
`
;
state
.
value
=
`¥
${(
+
value
*
current
.
price
).
toFixed
(
2
)}
`
;
}
);
});
...
...
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