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
linweijiong
jinfa-platform
Commits
2ab6242a
Commit
2ab6242a
authored
Jan 30, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix: 修改询价商品新增询价商品没传id的问题
parent
09992850
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
index.tsx
src/pages/logistics/addLogistics/index.tsx
+4
-4
addForm.tsx
src/pages/transaction/goodsOffer/addEnquiryOrder/addForm.tsx
+2
-1
basicInfo.tsx
...ction/goodsOffer/addEnquiryOrder/components/basicInfo.tsx
+1
-1
No files found.
src/pages/logistics/addLogistics/index.tsx
View file @
2ab6242a
...
...
@@ -564,19 +564,19 @@ const AddLogistics: React.FC<{}> = () => {
})
setQuery
({
...
data
});
setId
(
selectRow
.
id
)
setCreateType
(
2
)
//
setCreateType(2)
break
;
case
2
:
conditions
(
selectRow
)
setCreateType
(
4
)
//
setCreateType(4)
break
;
case
3
:
conditions
(
selectRow
)
setCreateType
(
5
)
//
setCreateType(5)
break
;
case
4
:
conditions
(
selectRow
)
setCreateType
(
6
)
//
setCreateType(6)
break
;
}
setinvoicesvisible
(
false
);
...
...
src/pages/transaction/goodsOffer/addEnquiryOrder/addForm.tsx
View file @
2ab6242a
...
...
@@ -58,7 +58,7 @@ const AddQuotes: React.FC<parmas> = (props) => {
const
data
=
JSON
.
parse
(
sessionStorage
.
getItem
(
spam_id
));
const
inquiryGoods
:
any
[]
=
[];
inquiryGoods
.
push
({
commodityId
:
data
.
commodityI
d
,
commodityId
:
i
d
,
productId
:
data
.
id
,
productName
:
data
.
name
,
category
:
data
.
category
,
...
...
@@ -80,6 +80,7 @@ const AddQuotes: React.FC<parmas> = (props) => {
setEditData
({
inquiryListProductRequests
:
inquiryGoods
,
memberId
:
data
.
memberId
,
roleId
:
data
.
memberRoleId
,
memberName
:
data
.
memberName
,
enclosureUrls
:
[]
})
...
...
src/pages/transaction/goodsOffer/addEnquiryOrder/components/basicInfo.tsx
View file @
2ab6242a
...
...
@@ -169,7 +169,7 @@ const BasicInfo: React.FC<queryProps> = (props) => {
</
Form
.
Item
>
<
Form
.
Item
label=
'被询价会员'
name=
'memberId'
rules=
{
[{
required
:
true
,
message
:
'请选择被询价会员'
}]
}
>
<
Search
disabled=
{
type
===
3
||
type
===
2
}
value=
{
memberName
?
memberName
:
undefined
}
readOnly
enterButton=
{
<><
LinkOutlined
/>
选择
</>
}
onSearch=
{
()
=>
setVisibleChannelMember
(
true
)
}
/>
{
memberName
&&
<
Button
type=
'link'
onClick=
{
()
=>
window
.
open
(
`/shop?shopId=${btoa(JSON.stringify({ memberId, roleId }))}`
)
}
>
查看会员详情
</
Button
>
}
{
memberName
&&
<
Button
type=
'link'
onClick=
{
()
=>
window
.
open
(
`/shop?
roleId=${roleId}
shopId=${btoa(JSON.stringify({ memberId, roleId }))}`
)
}
>
查看会员详情
</
Button
>
}
</
Form
.
Item
>
<
Form
.
Item
label=
'询价单号'
name=
'orderNumber'
>
<
span
>
{
(
Object
.
keys
(
editData
).
length
>
0
&&
editData
.
inquiryListNo
)
?
editData
.
inquiryListNo
:
'-'
}
</
span
>
...
...
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