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
ab47bcc5
Commit
ab47bcc5
authored
Sep 29, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
5e98e174
eefcd27a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.tsx
src/pages/commodity/products/index.tsx
+2
-2
index.tsx
...pages/transaction/components/approvedOrderModal/index.tsx
+1
-1
No files found.
src/pages/commodity/products/index.tsx
View file @
ab47bcc5
...
...
@@ -371,7 +371,7 @@ const Products: React.FC<{}> = () => {
memberRoleId
:
getAuth
().
memberRoleId
}).
then
(
res
=>
{
if
(
res
.
data
?.
id
){
setShopId
(
res
.
data
.
id
)
setShopId
(
res
.
data
)
setCheckedValues
(
values
)
}
else
{
message
.
error
(
'您还还未创建店铺,请先创建店铺!'
)
...
...
@@ -407,7 +407,7 @@ const Products: React.FC<{}> = () => {
if
(
isUp
)
{
if
(
checkedValues
.
length
>
0
){
const
fn
=
isBatch
?
PublicApi
.
postProductCommodityPublishCommodityBatch
:
PublicApi
.
postProductCommodityPublishCommodity
fn
(
isBatch
?
{
storeId
:
shopId
,
shopList
:
checkedValues
,
idList
:
currentRef
.
current
}
:
{
storeId
:
shopId
,
...
params
}).
then
(
res
=>
{
fn
(
isBatch
?
{
storeId
:
shopId
[
'id'
],
storeName
:
shopId
[
'name'
],
shopList
:
checkedValues
,
idList
:
currentRef
.
current
}
:
{
storeId
:
shopId
[
'id'
],
storeName
:
shopId
[
'name'
]
,
...
params
}).
then
(
res
=>
{
setUpDownModal
(
false
)
ref
.
current
.
reload
()
setIsDisabledOKbtn
(
false
)
...
...
src/pages/transaction/components/approvedOrderModal/index.tsx
View file @
ab47bcc5
...
...
@@ -219,7 +219,7 @@ const ApprovedOrderModal:React.FC<ApprovedOrderModalProps> = (props) => {
}
})
// 上级审核不通过
if
(
data
&&
(
data
.
innerStatusName
===
'提交审核不通过'
))
{
if
(
data
&&
(
data
.
innerStatusName
===
'提交审核不通过'
||
data
.
innerStatusName
===
'审核不通过(一级)'
||
data
.
innerStatusName
===
'审核不通过(二级)'
))
{
ctx
.
setFieldValue
(
"agree"
,
0
)
ctx
.
setFieldState
(
"agree"
,
state
=>
{
state
.
props
[
"x-component-props"
]
=
{
...
...
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