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
887124e8
Commit
887124e8
authored
Apr 10, 2023
by
张子雨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/constructionOne' into feature/20230327_public_takeaway
* feat/constructionOne: feat: 开户许可证编号
parents
5602636e
c2dec122
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
data.js
src/pages/businessManage/info/data.js
+0
-2
index.jsx
src/pages/businessManage/info/index.jsx
+5
-3
No files found.
src/pages/businessManage/info/data.js
View file @
887124e8
...
...
@@ -179,7 +179,6 @@ export function uploadPropsFn(
};
imgList
.
push
(
attachment
);
if
(
imgList
.
length
<=
limit
)
{
console
.
log
(
imgList
);
state
.
businessInfo
[
keyName
]
=
imgList
;
}
else
{
notification
.
error
({
message
:
`最多只能上传
${
limit
}
个文件!`
});
...
...
@@ -331,7 +330,6 @@ export async function getAreaAddr() {
label
:
item
.
addrName
,
value
:
item
.
addrId
,
}));
console
.
log
(
this
.
state
.
businessInfo
,
'
......
'
);
// 编辑时 回显 市、区、街道
if
(
this
.
state
.
businessInfo
.
provinceId
)
{
const
pros
=
res
.
filter
(
item
=>
+
item
.
value
===
+
this
.
state
.
businessInfo
.
provinceId
);
...
...
src/pages/businessManage/info/index.jsx
View file @
887124e8
...
...
@@ -295,7 +295,6 @@ class BusinessInfo extends Component {
}
else
{
delete
obj
.
categoryQualificateImage
;
}
console
.
log
(
obj
.
categoryQualificateImage
);
obj
.
legalPersonIdCard
=
obj
.
legalPersonIdCard
?.
toLocaleUpperCase
()
||
''
;
obj
.
bankAccountLicenseNum
=
obj
.
bankAccountLicenseNum
?.
toLocaleUpperCase
()
||
''
;
obj
.
socialCode
=
obj
.
socialCode
?.
toLocaleUpperCase
()
||
''
;
...
...
@@ -941,9 +940,12 @@ class BusinessInfo extends Component {
<
Col
span=
{
12
}
>
<
FormItem
label=
"开户许可证编号"
labelCol=
{
{
span
:
8
}
}
>
{
getFieldDecorator
(
'
bankAccountLicenseNum
'
,
{
rules
:
[{
required
:
true
,
message
:
'
请输入开户许可证编号!
'
}],
rules
:
[
{
required
:
true
,
message
:
'
请输入开户许可证编号!
'
},
{
pattern
:
/^
[
A-Za-z0-9
]
*$/
,
message
:
'
请输入数字或字母
'
},
],
initialValue
:
businessInfo
.
bankAccountLicenseNum
,
})(<
Input
maxLength=
{
32
}
/>)
}
})(<
Input
/>)
}
</
FormItem
>
</
Col
>
<
Col
span=
{
12
}
>
...
...
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