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
f048de51
Commit
f048de51
authored
Mar 31, 2023
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改业务模式
parent
ba103189
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
data.js
src/pages/businessManage/info/data.js
+3
-1
index.jsx
src/pages/chainStoreManage/index.jsx
+8
-7
No files found.
src/pages/businessManage/info/data.js
View file @
f048de51
...
@@ -90,8 +90,10 @@ export async function getInfo() {
...
@@ -90,8 +90,10 @@ export async function getInfo() {
if
(
res
.
townId
)
{
if
(
res
.
townId
)
{
res
.
addr
.
push
(
res
.
townId
);
res
.
addr
.
push
(
res
.
townId
);
}
}
if
(
settlementType
!==
null
)
{
settlementType
=
+
res
.
settlementType
;
settlementType
=
+
res
.
settlementType
;
}
}
}
// 身份证有效期处理
// 身份证有效期处理
const
date
=
res
.
legalPersonPeriod
.
split
(
'
-
'
)
||
[];
const
date
=
res
.
legalPersonPeriod
.
split
(
'
-
'
)
||
[];
res
.
legalPersonStart
=
date
[
0
]
&&
moment
(
date
[
0
]);
res
.
legalPersonStart
=
date
[
0
]
&&
moment
(
date
[
0
]);
...
...
src/pages/chainStoreManage/index.jsx
View file @
f048de51
...
@@ -215,7 +215,8 @@ export default () => {
...
@@ -215,7 +215,8 @@ export default () => {
dataIndex
:
'
productBusiness
'
,
dataIndex
:
'
productBusiness
'
,
width
:
120
,
width
:
120
,
align
:
'
center
'
,
align
:
'
center
'
,
render
:
v
=>
(
render
:
v
=>
v
&&
(
<
div
>
<
div
>
{
v
.
map
(
it
=>
(
{
v
.
map
(
it
=>
(
<
span
>
{
businessList
.
find
(
item
=>
+
it
===
+
item
.
value
).
label
}
 
</
span
>
<
span
>
{
businessList
.
find
(
item
=>
+
it
===
+
item
.
value
).
label
}
 
</
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