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
a75867a1
Commit
a75867a1
authored
Apr 27, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix418' into 'v2-220418'
更改品牌审核流程角色通过多租户判断 See merge request linkseeks-design/pro-platform!573
parents
aeaa6410
dac3eb44
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
10 deletions
+18
-10
index.tsx
...ages/commodity/products/components/putawayGuide/index.tsx
+4
-2
addBrand.tsx
src/pages/trademark/addBrand.tsx
+7
-4
checkBrandDetail.tsx
src/pages/trademark/checkBrandDetail.tsx
+7
-4
No files found.
src/pages/commodity/products/components/putawayGuide/index.tsx
View file @
a75867a1
...
...
@@ -37,6 +37,8 @@ const PutawayGuide: React.FC<PutawayGuideProps> = (props) => {
...
restProps
}
=
props
const
_data
=
Array
.
from
(
new
Set
(
data
))
return
(
<
Modal
title=
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.title'
,
defaultMessage
:
"商品上架引导"
})
}
...
...
@@ -66,7 +68,7 @@ const PutawayGuide: React.FC<PutawayGuideProps> = (props) => {
currentStep
===
GuideMenu
.
ConfigStore
?
<>
<
p
>
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.p.2.first'
,
defaultMessage
:
'您选择的商品:'
})
}{
data
.
toString
()
}
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.p.2.last'
,
defaultMessage
:
'还没有配置仓位库存。'
})
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.p.2.first'
,
defaultMessage
:
'您选择的商品:'
})
}{
_
data
.
toString
()
}
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.p.2.last'
,
defaultMessage
:
'还没有配置仓位库存。'
})
}
</
p
>
<
Button
onClick=
{
()
=>
history
.
push
(
'/memberCenter/commodityAbility/repositories'
)
}
>
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.button.2'
,
defaultMessage
:
'配置仓位库存'
})
}
</
Button
>
</>
:
...
...
@@ -80,7 +82,7 @@ const PutawayGuide: React.FC<PutawayGuideProps> = (props) => {
currentStep
===
GuideMenu
.
ConfigProcess
?
<>
<
p
>
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.p.3.first'
,
defaultMessage
:
'您选择的商品:'
})
}{
data
.
toString
()
}
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.p.3.last'
,
defaultMessage
:
'还没有配置订单流程。'
})
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.p.3.first'
,
defaultMessage
:
'您选择的商品:'
})
}{
_
data
.
toString
()
}
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.p.3.last'
,
defaultMessage
:
'还没有配置订单流程。'
})
}
</
p
>
<
Button
onClick=
{
()
=>
history
.
push
(
'/memberCenter/tranactionAbility/transactionRules'
)
}
>
{
intl
.
formatMessage
({
id
:
'commodity.putawayGuide.modal.button.3'
,
defaultMessage
:
'配置订单流程'
})
}
</
Button
>
</>
:
...
...
src/pages/trademark/addBrand.tsx
View file @
a75867a1
...
...
@@ -10,7 +10,8 @@ import { validatorByte } from '@/utils/regExp'
import
UploadImage
from
'@/components/UploadImage'
import
{
getAuth
}
from
'@/utils/auth'
import
{
getProductBrandGetBrand
,
postProductBrandApplyCheckBrand
,
postProductBrandSaveOrUpdateBrand
}
from
'@/services/ProductV2Api'
import
{
postManageActivityShopRuleExistShop
}
from
'@/services/ManageV2Api'
import
{
getManagePaasSiteEnableMultiTenancy
}
from
'@/services/ManageV2Api'
import
{
GlobalConfig
}
from
'@/global/config'
const
{
Step
}
=
Steps
;
...
...
@@ -60,9 +61,11 @@ const AddBrand: React.FC<{}> = () => {
}
})
}
postManageActivityShopRuleExistShop
({
memberId
,
memberRoleId
},
{
ctlType
:
'none'
}).
then
(
res
=>
{
const
{
code
,
data
}
=
res
setHasSelfStore
(
data
)
const
siteId
=
GlobalConfig
.
global
.
siteInfo
.
id
getManagePaasSiteEnableMultiTenancy
({
siteId
}).
then
(({
code
,
data
})
=>
{
if
(
code
===
1000
)
{
setHasSelfStore
(
data
)
}
})
},
[])
...
...
src/pages/trademark/checkBrandDetail.tsx
View file @
a75867a1
...
...
@@ -11,8 +11,9 @@ import ReutrnEle from '@/components/ReturnEle'
import
moment
from
'moment'
import
styles
from
'./index.less'
import
{
getProductBrandGetBrandCheckRecord
,
getProductBrandGetBrand
,
postProductBrandCheckBrand
}
from
'@/services/ProductV2Api'
import
{
postManageActivityShopRuleExistShop
}
from
'@/services/ManageV2Api'
import
{
getManagePaasSiteEnableMultiTenancy
}
from
'@/services/ManageV2Api'
import
{
getAuth
}
from
'@/utils/auth'
import
{
GlobalConfig
}
from
'@/global/config'
const
{
Step
}
=
Steps
const
{
TextArea
}
=
Input
...
...
@@ -38,9 +39,11 @@ const CheckBrandDetail: React.FC<{}> = () => {
if
(
id
){
loadPageData
(
id
)
}
postManageActivityShopRuleExistShop
({
memberId
,
memberRoleId
},
{
ctlType
:
'none'
}).
then
(
res
=>
{
const
{
code
,
data
}
=
res
setHasSelfStore
(
data
)
const
siteId
=
GlobalConfig
.
global
.
siteInfo
.
id
getManagePaasSiteEnableMultiTenancy
({
siteId
}).
then
(({
code
,
data
})
=>
{
if
(
code
===
1000
)
{
setHasSelfStore
(
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