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
c97fbfe5
Commit
c97fbfe5
authored
Sep 16, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat(确认询价报价): 跳转链接加单号和id
parent
c8d88aff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
index.tsx
...ransaction/dealAbility/confirmOffer/offerSearch/index.tsx
+1
-1
index.tsx
...ansaction/marketingAbility/components/dateModal/index.tsx
+1
-1
index.tsx
...urchaseAbility/purchaseInquiry/addInquiry/modal/index.tsx
+3
-3
No files found.
src/pages/transaction/dealAbility/confirmOffer/offerSearch/index.tsx
View file @
c97fbfe5
...
...
@@ -70,7 +70,7 @@ const OfferSearch = () => {
title
:
'操作'
,
key
:
'operate'
,
dataIndex
:
'operate'
,
render
:
(
_
,
record
)
=>
record
.
isShowPurchaseOrder
&&
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/tranactionAbility/purchaseOrder/readyAddOrder/b2b/add?modelType=3`
)
}
>
创建采购订单
</
Button
>
render
:
(
_
,
record
)
=>
record
.
isShowPurchaseOrder
&&
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/tranactionAbility/purchaseOrder/readyAddOrder/b2b/add?modelType=3
"ationNo=${record.quotationNo}&id=${record.id}
`
)
}
>
创建采购订单
</
Button
>
}
];
...
...
src/pages/transaction/marketingAbility/components/dateModal/index.tsx
View file @
c97fbfe5
...
...
@@ -64,7 +64,7 @@ const DateModalLayout: React.FC<DateModalProps> = (props: any) => {
name=
'reason'
rules=
{
[{
required
:
true
,
message
:
'请输入原因'
}]
}
>
<
Input
.
TextArea
rows=
{
3
}
/>
<
Input
.
TextArea
rows=
{
3
}
maxLength=
{
50
}
/>
</
Form
.
Item
>
</
Form
>
</
Modal
>
...
...
src/pages/transaction/purchaseAbility/purchaseInquiry/addInquiry/modal/index.tsx
View file @
c97fbfe5
...
...
@@ -137,16 +137,16 @@ const AnchorModal: React.FC<AnchorModalProps> = (props: any) => {
/** 选择货品点击 */
const
confirm
=
(
selectRowKeys
:
string
[]
|
number
[],
selectRowRecord
:
any
)
=>
{
const
selectRow
=
selectRowRecord
;
console
.
log
(
ids
,
10086
)
if
(
ids
.
includes
(
selectRow
[
0
].
id
))
{
message
.
error
(
'货品已存在,请勿重复选择!'
)
return
}
if
(
selectRow
.
length
>
0
)
{
const
data
:
any
=
selectRow
[
0
]
if
(
data
.
customerCategory
.
category
)
{
const
fullId
=
data
.
customerCategory
.
category
.
fullId
;
if
(
data
.
customerCategory
)
{
const
fullId
=
data
.
customerCategory
.
fullId
;
const
ids
=
fullId
.
replace
(
/
\b(
0+
)
/gi
,
''
).
split
(
'.'
);
console
.
log
(
ids
,
fullId
)
form
.
setFieldsValue
({
ids
:
ids
.
join
(
','
).
split
(
','
),
})
...
...
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