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
de60ef92
Commit
de60ef92
authored
May 07, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix418' into 'v2-220418'
销售订单转单显示提示信息 See merge request linkseeks-design/pro-platform!625
parents
2a4bfc34
0154246b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
batchPositionSetting.tsx
src/pages/repositories/components/batchPositionSetting.tsx
+2
-2
index.tsx
src/pages/transaction/saleOrder/index.tsx
+2
-2
No files found.
src/pages/repositories/components/batchPositionSetting.tsx
View file @
de60ef92
...
...
@@ -16,7 +16,7 @@ import Search from '@/components/NiceForm/components/Search'
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
import
Submit
from
'@/components/NiceForm/components/Submit'
import
{
MALL_TYPE
}
from
'@/constants'
;
import
{
fectchShopListsSource
}
from
'@/utils/type'
import
{
fectchShopListsSource
,
fectchShopListsSourceTradeRule
}
from
'@/utils/type'
import
{
getMemberManagePageitems
,
postMemberManageAllPageByshoptype
}
from
'@/services/MemberV2Api'
import
{
getProductCommodityCommonGetCommodityListByStock
,
getProductFreightSpaceDetails
,
getProductFreightSpaceMamberList
,
getProductSelectGetSelectBrand
,
getProductSelectGetSelectCustomerCategory
}
from
'@/services/ProductV2Api'
...
...
@@ -498,7 +498,7 @@ const BatchPositionSetting: React.FC<BatchPositionSettingProps> = (props) => {
createAddRepositoryEffect
(
addSchemaAction
)
$
(
'onFieldValueChange'
,
'shopType'
).
subscribe
(
async
parentState
=>
{
if
(
parentState
.
value
)
{
const
data
=
await
fectchShopListsSource
({
type
:
parentState
.
value
})
const
data
=
await
fectchShopListsSource
TradeRule
({
type
:
parentState
.
value
})
setFieldState
(
'shopIds'
,
state
=>
{
state
.
props
[
"x-component-props"
].
dataSource
=
data
});
...
...
src/pages/transaction/saleOrder/index.tsx
View file @
de60ef92
...
...
@@ -264,7 +264,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const
{
code
,
data
}
=
await
postOrderVendorTransferPreview
({
roleId
:
defaultRoleId
,
orderIds
:
[
orderId
]
}
,
{
ctlType
:
'none'
}
)
})
if
(
code
===
1000
)
{
transformRef
.
current
.
setVisible
(
true
)
transformActions
.
setFieldValue
(
'orders'
,
data
)
...
...
@@ -276,7 +276,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const
{
code
,
data
}
=
await
postOrderVendorTransferPreview
({
roleId
:
defaultRoleId
,
orderIds
:
selectRef
.
current
,
}
,
{
ctlType
:
'none'
}
)
})
if
(
code
===
1000
)
{
transformRef
.
current
.
setVisible
(
true
)
transformActions
.
setFieldValue
(
'orders'
,
data
)
...
...
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