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
7a1668cd
Commit
7a1668cd
authored
Aug 25, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix: 二次询价bug修复
parent
f109afff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
index.tsx
...nsaction/dealAbility/inquiryOffer/inquirySearch/index.tsx
+14
-4
remind.ts
...readySubmitExamine/components/productListLayout/remind.ts
+3
-3
No files found.
src/pages/transaction/dealAbility/inquiryOffer/inquirySearch/index.tsx
View file @
7a1668cd
import
React
,
{
useRef
}
from
'react'
;
import
Table
from
'@/pages/transaction/components/tableLayout'
;
import
{
history
}
from
'umi'
;
import
{
Tag
,
Button
}
from
'antd'
;
import
{
Tag
,
Button
,
Modal
}
from
'antd'
;
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
EyePreview
from
'@/components/EyePreview'
;
import
moment
from
'moment'
;
...
...
@@ -31,7 +31,7 @@ const InquirySearch = () => {
setTimeout
(()
=>
{
window
.
location
.
replace
(
`/memberCenter/tranactionAbility/productInquiry/waitAddInquiry/two?id=
${
id
}
`
);
},
800
);
}).
catch
(
err
=>
{})
}).
catch
(
err
=>
{
})
}
const
columns
:
ColumnType
<
any
>
[]
=
[
...
...
@@ -84,8 +84,18 @@ const InquirySearch = () => {
{
record
.
isShowQuote
&&
(
<
Button
onClick=
{
()
=>
history
.
push
(
`/memberCenter/tranactionAbility/inquiryOffer/waitAddOffer/offer?id=${record.id}`
)
}
type=
'link'
>
报价
</
Button
>
)
}
{
(
record
.
isShowSecondInquiry
!==
null
)
&&
(
<
Button
type=
'link'
disabled=
{
record
.
isShowSecondInquiry
===
false
}
onClick=
{
()
=>
secondInquiry
(
record
.
id
)
}
>
二次询价
</
Button
>
{
(
record
.
isShowSecondInquiry
===
true
)
&&
(
<
Button
type=
'link'
onClick=
{
()
=>
secondInquiry
(
record
.
id
)
}
>
二次询价
</
Button
>
)
}
{
(
record
.
isShowSecondInquiry
===
false
)
&&
(
<
Button
type=
'link'
onClick=
{
()
=>
Modal
.
info
({
content
:
'当前询价单商品中存在不同的上游供应商不可直接转二次询价,请手工进行询价!'
})
}
>
二次询价
</
Button
>
)
}
</>
}
...
...
src/pages/transaction/marketingAbility/paltformSign/readySubmitExamine/components/productListLayout/remind.ts
View file @
7a1668cd
...
...
@@ -13,13 +13,13 @@ export type RemindLayoutProps = {
export
const
remindLayout
=
(
int
,
giveType
?,
giftType
?)
=>
{
const
give
=
(
giveType
===
1
?
'满额'
:
'买商品'
);
const
gift
=
(
giftType
===
1
?
'
赠商品'
:
'赠
优惠券'
);
const
gift
=
(
giftType
===
1
?
'
商品'
:
'
优惠券'
);
switch
(
int
)
{
case
6
:
return
{
type
:
'limitValue'
,
modalTitle
:
`设置赠品-
${
give
}${
gift
}
`
,
buttonTitle
:
'添加赠送商品'
,
modalTitle
:
`设置赠品-
${
give
}
赠
${
gift
}
`
,
buttonTitle
:
`添加赠送
${
gift
}
`
,
listTitle
:
`
${
give
}${
gift
}
`
,
label
:
{
1
:
'优惠门槛'
,
...
...
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