Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
9b794fb1
Commit
9b794fb1
authored
Jul 03, 2023
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 放开企业名称修改按钮
parent
4737ee34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
data.js
src/pages/businessManage/info/data.js
+4
-4
index.jsx
src/pages/businessManage/info/index.jsx
+3
-3
No files found.
src/pages/businessManage/info/data.js
View file @
9b794fb1
...
@@ -266,8 +266,8 @@ export function renderServiceTags() {
...
@@ -266,8 +266,8 @@ export function renderServiceTags() {
that
.
state
.
businessInfo
.
customList
.
map
(
tag
=>
{
that
.
state
.
businessInfo
.
customList
.
map
(
tag
=>
{
const
isLongTag
=
tag
.
length
>
20
;
const
isLongTag
=
tag
.
length
>
20
;
const
tagElem
=
(
const
tagElem
=
(
//
closable
二期放开
// 二期放开
<
Tag
key
=
{
tag
}
onClose
=
{()
=>
handleClose
.
call
(
that
,
tag
)}
>
<
Tag
key
=
{
tag
}
closable
onClose
=
{()
=>
handleClose
.
call
(
that
,
tag
)}
>
{
isLongTag
?
`
${
tag
.
slice
(
0
,
20
)}
...`
:
tag
}
{
isLongTag
?
`
${
tag
.
slice
(
0
,
20
)}
...`
:
tag
}
<
/Tag
>
<
/Tag
>
);
);
...
@@ -293,14 +293,14 @@ export function renderServiceTags() {
...
@@ -293,14 +293,14 @@ export function renderServiceTags() {
/
>
/
>
)}
)}
{
/* 二期放开 */
}
{
/* 二期放开 */
}
{
/* {
!that.state.tagVisible && (
{
!
that
.
state
.
tagVisible
&&
(
<
Tag
<
Tag
onClick
=
{()
=>
showInput
.
call
(
that
)}
onClick
=
{()
=>
showInput
.
call
(
that
)}
style
=
{{
background
:
'
#fff
'
,
borderStyle
:
'
dashed
'
}}
style
=
{{
background
:
'
#fff
'
,
borderStyle
:
'
dashed
'
}}
>
>
<
PlusOutlined
/>
新增
<
PlusOutlined
/>
新增
<
/Tag
>
<
/Tag
>
)}
*/
}
)}
<
/div
>
<
/div
>
);
);
}
}
...
...
src/pages/businessManage/info/index.jsx
View file @
9b794fb1
...
@@ -70,7 +70,7 @@ class BusinessInfo extends Component {
...
@@ -70,7 +70,7 @@ class BusinessInfo extends Component {
mainCategoryId
:
null
,
mainCategoryId
:
null
,
companyNamedis
:
false
,
// 公司名称
companyNamedis
:
false
,
// 公司名称
companyType
:
null
,
// 企业类型
companyType
:
null
,
// 企业类型
disabled
:
tru
e
,
// 二期放开
disabled
:
fals
e
,
// 二期放开
};
};
async
componentDidMount
()
{
async
componentDidMount
()
{
...
@@ -582,9 +582,9 @@ class BusinessInfo extends Component {
...
@@ -582,9 +582,9 @@ class BusinessInfo extends Component {
<
Row
>
<
Row
>
<
Col
span=
{
4
}
style=
{
{
marginTop
:
'
4px
'
}
}
>
<
Col
span=
{
4
}
style=
{
{
marginTop
:
'
4px
'
}
}
>
{
/* 二期放开 */
}
{
/* 二期放开 */
}
{
/* {
businessInfo.companyName && (
{
businessInfo
.
companyName
&&
(
<
Button
onClick=
{
this
.
setCompanyName
}
>
修改
</
Button
>
<
Button
onClick=
{
this
.
setCompanyName
}
>
修改
</
Button
>
)}
*/
}
)
}
</
Col
>
</
Col
>
<
Col
span=
{
12
}
>
<
Col
span=
{
12
}
>
<
FormItem
label=
"公司名称"
labelCol=
{
{
span
:
8
}
}
>
<
FormItem
label=
"公司名称"
labelCol=
{
{
span
:
8
}
}
>
...
...
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