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
黄庭坚
jinfa-platform
Commits
b64160ab
Commit
b64160ab
authored
Feb 22, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理下单报价单文案异常
parent
4511c8b8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
addBrand.tsx
src/pages/trademark/addBrand.tsx
+3
-4
index.tsx
...transaction/purchaseOrder/orderCollect/constant/index.tsx
+1
-1
No files found.
src/pages/trademark/addBrand.tsx
View file @
b64160ab
...
...
@@ -62,12 +62,11 @@ const AddBrand: React.FC<{}> = () => {
const
[
currentStep
,
setCurrentStep
]
=
useState
(
0
)
const
[
fileList
,
setFileList
]
=
useState
<
any
[]
>
([])
// const [proveUrl, setProveUrl] = useState<any>({})
const
[
isEnableCheck
,
setIsEnableCheck
]
=
useState
(
true
)
const
[
responseId
,
setReponseId
]
=
useState
<
number
>
(
null
)
const
[
formValues
,
setFormValues
]
=
useState
<
any
>
({})
const
[
banSomeField
,
setBanSomeField
]
=
useState
<
boolean
>
(
false
)
const
[
isDisabledSave
,
setIsDisabledSave
]
=
useState
<
boolean
>
(
false
)
const
[
isDisabledCheck
,
setDisabledCheck
]
=
useState
<
boolean
>
(
fals
e
)
const
[
isDisabledCheck
,
setDisabledCheck
]
=
useState
<
boolean
>
(
tru
e
)
useEffect
(()
=>
{
const
{
id
}
=
history
.
location
.
query
...
...
@@ -142,7 +141,7 @@ const AddBrand: React.FC<{}> = () => {
}
PublicApi
.
postProductBrandSaveOrUpdateBrand
(
values
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
set
IsEnable
Check
(
false
)
set
Disabled
Check
(
false
)
setReponseId
(
res
.
data
)
}
else
{
setIsDisabledSave
(
false
)
...
...
@@ -186,7 +185,7 @@ const AddBrand: React.FC<{}> = () => {
backIcon=
{
<
ReutrnEle
description=
"返回"
/>
}
title=
{
history
.
location
.
query
?.
id
?
'修改品牌'
:
'新建品牌'
}
extra=
{
[
<
Button
key=
"2"
disabled=
{
isEnableCheck
}
onClick=
{
handleApplyCheck
}
disabled=
{
isDisabledCheck
}
>
直接提交审核
</
Button
>,
<
Button
key=
"2"
onClick=
{
handleApplyCheck
}
disabled=
{
isDisabledCheck
}
>
直接提交审核
</
Button
>,
<
Button
icon=
{
<
SaveOutlined
/>
}
key=
"1"
type=
"primary"
onClick=
{
handleSave
}
disabled=
{
isDisabledSave
}
>
保存
</
Button
>,
...
...
src/pages/transaction/purchaseOrder/orderCollect/constant/index.tsx
View file @
b64160ab
...
...
@@ -156,7 +156,7 @@ export const inquiryColumns: any[] = [
key
:
'details'
,
},
{
title
:
'
询
价会员'
,
title
:
'
报
价会员'
,
dataIndex
:
'memberName'
,
align
:
'center'
,
key
:
'memberName'
,
...
...
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