Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
2eeaa3d9
提交
2eeaa3d9
authored
12月 06, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add-入驻主体地址
上级
326a0a88
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
12 行增加
和
2 行删除
+12
-2
fillMainInf.vue
src/views/entry/fillMainInf.vue
+8
-1
index.vue
src/views/system/shop/index.vue
+4
-1
没有找到文件。
src/views/entry/fillMainInf.vue
浏览文件 @
2eeaa3d9
...
@@ -79,6 +79,11 @@
...
@@ -79,6 +79,11 @@
<span
class=
"tips-text"
><i
class=
"el-icon-warning h-warning"
></i>
具体时间和长期,二者必填一个
</span>
<span
class=
"tips-text"
><i
class=
"el-icon-warning h-warning"
></i>
具体时间和长期,二者必填一个
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"企业地址:"
prop=
"organization_address"
inline-message=
"true"
>
<el-input
v-model=
"mainForm.organization_address"
style=
"width: 400px;"
></el-input>
<span
class=
"tips-text"
><i
class=
"el-icon-warning h-warning"
></i>
请按照营业执照上登记的完整地址填写
</span>
</el-form-item>
<el-form-item>
<el-form-item>
<p
class=
"main-form-tips"
>
请核对营业执照信息,若信息不符合,可手动修改
</p>
<p
class=
"main-form-tips"
>
请核对营业执照信息,若信息不符合,可手动修改
</p>
</el-form-item>
</el-form-item>
...
@@ -271,6 +276,7 @@
...
@@ -271,6 +276,7 @@
license
:
''
,
license
:
''
,
organization_name
:
''
,
organization_name
:
''
,
license_number
:
''
,
license_number
:
''
,
organization_address
:
''
,
// 法人信息
// 法人信息
idcard_front
:
''
,
idcard_front
:
''
,
idcard_back
:
''
,
idcard_back
:
''
,
...
@@ -287,7 +293,7 @@
...
@@ -287,7 +293,7 @@
license
:
[{
required
:
true
,
message
:
'请上传营业执照电子版'
,
validator
:
licenseValidator
}],
license
:
[{
required
:
true
,
message
:
'请上传营业执照电子版'
,
validator
:
licenseValidator
}],
organization_name
:
[{
required
:
true
,
message
:
'企业名称不能为空'
,
trigger
:
'blur'
}],
organization_name
:
[{
required
:
true
,
message
:
'企业名称不能为空'
,
trigger
:
'blur'
}],
license_number
:
[{
required
:
true
,
message
:
'统一社会代码不能为空'
,
trigger
:
'blur'
}],
license_number
:
[{
required
:
true
,
message
:
'统一社会代码不能为空'
,
trigger
:
'blur'
}],
// idcard_type: [{required: true, message: '证件类型不能为空', trigger: 'change
'}],
organization_address
:
[{
required
:
true
,
message
:
'企业地址不能为空'
,
trigger
:
'blur
'
}],
real_name
:
[{
required
:
true
,
message
:
'法人姓名不能为空'
,
trigger
:
'blur'
}],
real_name
:
[{
required
:
true
,
message
:
'法人姓名不能为空'
,
trigger
:
'blur'
}],
idcard_number
:
[
idcard_number
:
[
{
required
:
true
,
message
:
'法人证件号不能为空'
,
trigger
:
'blur'
},
{
required
:
true
,
message
:
'法人证件号不能为空'
,
trigger
:
'blur'
},
...
@@ -412,6 +418,7 @@
...
@@ -412,6 +418,7 @@
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
this
.
mainForm
.
organization_name
=
res
.
data
.
words_result
[
'单位名称'
].
words
?
res
.
data
.
words_result
[
'单位名称'
].
words
:
''
;
this
.
mainForm
.
organization_name
=
res
.
data
.
words_result
[
'单位名称'
].
words
?
res
.
data
.
words_result
[
'单位名称'
].
words
:
''
;
this
.
mainForm
.
license_number
=
res
.
data
.
words_result
[
'社会信用代码'
].
words
?
res
.
data
.
words_result
[
'社会信用代码'
].
words
:
''
;
this
.
mainForm
.
license_number
=
res
.
data
.
words_result
[
'社会信用代码'
].
words
?
res
.
data
.
words_result
[
'社会信用代码'
].
words
:
''
;
this
.
mainForm
.
organization_address
=
res
.
data
.
words_result
[
'地址'
].
words
?
res
.
data
.
words_result
[
'地址'
].
words
:
''
;
// 营业期限处理
// 营业期限处理
if
(
res
.
data
.
words_result
[
'有效期'
].
words
==
'长期'
||
res
.
data
.
words_result
[
'有效期'
].
words
==
'年月日'
)
{
if
(
res
.
data
.
words_result
[
'有效期'
].
words
==
'长期'
||
res
.
data
.
words_result
[
'有效期'
].
words
==
'年月日'
)
{
this
.
periodConcreteTime
=
[];
this
.
periodConcreteTime
=
[];
...
...
src/views/system/shop/index.vue
浏览文件 @
2eeaa3d9
...
@@ -52,6 +52,10 @@
...
@@ -52,6 +52,10 @@
<el-input
v-model=
"mainForm.organization_name"
:disabled=
"isMainItem"
style=
"width: 400px;"
></el-input>
<el-input
v-model=
"mainForm.organization_name"
:disabled=
"isMainItem"
style=
"width: 400px;"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"企业地址:"
prop=
"organization_address"
inline-message=
"true"
>
<el-input
v-model=
"mainForm.organization_address"
:disabled=
"isMainItem"
style=
"width: 400px;"
></el-input>
</el-form-item>
<el-form-item
label=
"统一社会代码:"
prop=
"license_number"
inline-message=
"true"
>
<el-form-item
label=
"统一社会代码:"
prop=
"license_number"
inline-message=
"true"
>
<el-input
v-model=
"mainForm.license_number"
:disabled=
"isMainItem"
style=
"width: 400px;"
></el-input>
<el-input
v-model=
"mainForm.license_number"
:disabled=
"isMainItem"
style=
"width: 400px;"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -486,7 +490,6 @@
...
@@ -486,7 +490,6 @@
getMainInf
().
then
(
res
=>
{
getMainInf
().
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
this
.
mainForm
=
res
.
data
;
this
.
mainForm
=
res
.
data
;
// 营业执照电子图片处理
// 营业执照电子图片处理
let
licenseImgArr
=
[];
let
licenseImgArr
=
[];
let
licenseImgUrl
=
{};
let
licenseImgUrl
=
{};
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论