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
2347b651
Commit
2347b651
authored
Jul 05, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix: 修复采购门户
parent
32e74e70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
addForm.tsx
...saction/dealAbility/inquiryOffer/waitAddOffer/addForm.tsx
+1
-1
edit.tsx
...ransaction/dealAbility/inquiryOffer/waitAddOffer/edit.tsx
+1
-2
index.tsx
...saction/purchaseAbility/purchasDoor/purchasInfo/index.tsx
+13
-1
No files found.
src/pages/transaction/dealAbility/inquiryOffer/waitAddOffer/addForm.tsx
View file @
2347b651
...
...
@@ -193,7 +193,7 @@ export default AddQuotes
// /** 提交的接口 */
// fetchRequest?: () => Promise<unknown>,
// /** 本地缓存的名称 */
// spam?: string,
// spam?: string
| boolean
,
// /** 标题 */
// title?: string,
// }
...
...
src/pages/transaction/dealAbility/inquiryOffer/waitAddOffer/edit.tsx
View file @
2347b651
...
...
@@ -10,4 +10,4 @@ const EditQuote: React.FC<{}> = () => {
/>
)
}
export
default
EditQuote
;
\ No newline at end of file
export
default
EditQuote
;
src/pages/transaction/purchaseAbility/purchasDoor/purchasInfo/index.tsx
View file @
2347b651
...
...
@@ -385,10 +385,22 @@ const PurchasInfo: React.FC<PurchasInfoPropsType> = (props) => {
setFormIsHalfFilledOut
(
true
)
}
const
checkUrl
=
(
url
)
=>
{
if
(
url
&&
typeof
url
===
'string'
)
{
if
(
url
.
indexOf
(
'/'
)
>
-
1
)
{
return
url
.
replace
(
'/'
,
''
).
trim
()
}
else
{
return
`
${
url
}
`
.
trim
()
}
}
}
/** 获取店铺链接 */
const
handleMallSelectChange
=
(
val
,
option
)
=>
{
setDoor
(
option
.
children
);
setResUrl
(
`
${
siteUrl
}${
option
.
url
}
`
)
if
(
option
.
url
)
{
setResUrl
(
`
${
siteUrl
}
/
${
checkUrl
(
option
.
url
)}
`
)
}
}
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