Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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-admin
Commits
bf99c0d1
Commit
bf99c0d1
authored
Aug 02, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:
parent
e04844ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
global.d.ts
src/global/config/global.d.ts
+2
-2
index.tsx
src/pages/commodity/productWillCheck/index.tsx
+1
-1
addRule.tsx
src/pages/ruleSettingManage/transactionRules/addRule.tsx
+1
-3
No files found.
src/global/config/global.d.ts
View file @
bf99c0d1
...
...
@@ -41,7 +41,7 @@ export interface ShopInfo {
describe
:
string
;
state
:
number
;
url
:
string
;
isDefault
?:
any
;
isDefault
:
number
;
}
export
interface
OrderMode
{
...
...
@@ -60,7 +60,7 @@ export interface SiteInfo {
name
:
string
;
logo
:
string
;
siteUrl
:
string
;
symbol
?:
any
;
symbol
:
string
;
}
export
interface
Site
{
...
...
src/pages/commodity/productWillCheck/index.tsx
View file @
bf99c0d1
...
...
@@ -132,7 +132,7 @@ const Products: React.FC<{}> = () => {
return
(
<>
{
/* btnCode="DevTest" */
}
<
AuthButton
menuCode=
{
MENU_NODE
}
>
<
AuthButton
menuCode=
{
MENU_NODE
}
btnCode=
"DevTest"
>
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/commodity/productWillCheck/detail?id=${record.id}`
)
}
>
审核
</
Button
>
</
AuthButton
>
...
...
src/pages/ruleSettingManage/transactionRules/addRule.tsx
View file @
bf99c0d1
...
...
@@ -30,7 +30,6 @@ const AddRule:React.FC<{}> = (props) => {
setIsDisabled
(
true
)
const
params
=
omit
(
values
,
[
'state'
])
params
.
baseProcessId
=
params
.
baseProcessId
[
0
]
console
.
log
(
params
,
'parmas'
)
// 切割memberId
let
res
:
any
=
{}
...
...
@@ -39,11 +38,10 @@ const AddRule:React.FC<{}> = (props) => {
}
else
if
(
pageStatus
===
PageStatus
.
ADD
){
res
=
await
PublicApi
.
postOrderPlatformTradeProcessCreate
(
params
)
}
if
(
res
.
code
===
1000
){
setIsDisabled
(
false
)
history
.
goBack
()
}
setIsDisabled
(
false
)
}
return
(
...
...
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