Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
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
吴迪
gs1
Commits
c3ae393c
Commit
c3ae393c
authored
Dec 25, 2021
by
Jianli Ou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug处理
parent
df4760e5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
301 additions
and
197 deletions
+301
-197
companyInfo.vue
src/views/MyManage/SystemMember/companyInfo.vue
+212
-143
uploadvendor.vue
src/views/MyManage/UnVerify/uploadvendor.vue
+26
-21
vendor.vue
src/views/MyManage/UnVerify/vendor.vue
+34
-3
vendorModify.vue
src/views/MyManage/UnVerify/vendorModify.vue
+3
-0
index.vue
src/views/MyManage/index.vue
+26
-30
No files found.
src/views/MyManage/SystemMember/companyInfo.vue
View file @
c3ae393c
...
...
@@ -9,221 +9,214 @@
label-width=
'160px'
:model=
'form'
>
<el-form-item
label=
'企业名称(中文):'
prop=
'
chinese
Name'
prop=
'
firm
Name'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.
chineseName'
autocomplete=
'off'
placeholder=
"请输入企业中文名称"
></el-input>
<el-input
v-model=
'form.
firmName'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入企业中文名称"
></el-input>
</el-form-item>
<el-form-item
label=
'企业名称(英文):'
prop=
'
englishName
'
>
<el-input
v-model=
'form.
englishName'
autocomplete=
'off'
placeholder=
"请输入企业英文名称"
></el-input>
prop=
'
firmName1
'
>
<el-input
v-model=
'form.
firmName1'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入企业英文名称"
></el-input>
</el-form-item>
<el-form-item
label=
'注册地址:'
prop=
'registered
Address'
:rules=
"[
{
required:
tru
e,
prop=
'register
Address'
:rules=
"[
{
required:
fals
e,
message: '不能为空',
}]"
>
<el-input
placeholder=
"请输入注册地址"
v-model=
"form.registeredAddress"
class=
"input-with-select"
>
<el-select
v-model=
"form.city"
slot=
"prepend"
placeholder=
"请选择"
class=
"smallselect"
>
<el-option
label=
"黑龙江"
value=
"1"
></el-option>
</el-select>
<el-input
placeholder=
"请输入注册地址"
:disabled=
"true"
v-model=
"form.registerAddress"
class=
"input-with-select"
>
<el-cascader
slot=
"prepend"
placeholder=
"请选择"
class=
"smallselect"
style=
"margin: -10px -20px;"
v-model=
"form.political"
:disabled=
"true"
:options=
"cascadeRegion"
:props=
"
{ expandTrigger: 'hover', label: 'label', value: 'code' }"
size="medium"
@change="politicalChangeEvent">
</el-cascader>
<!--
<el-select
v-model=
"form.political"
@
change=
"politicalChangeEvent"
slot=
"prepend"
placeholder=
"请选择"
class=
"smallselect"
>
-->
<!--
<el-option
v-for=
"item in AdministrativeDivisionCode"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
></el-option>
-->
<!--
</el-select>
-->
</el-input>
</el-form-item>
<el-form-item
label=
'注册地址(英文):'
prop=
'englishRegisterAddr'
>
<el-input
v-model=
'form.englishRegisterAddr'
autocomplete=
'off'
placeholder=
"请输入英文注册地址"
></el-input>
<el-form-item
label=
'注册地址(英文):'
prop=
'registerAddress1'
>
<el-input
v-model=
'form.registerAddress1'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入英文注册地址"
></el-input>
</el-form-item>
<el-form-item
label=
'注册地址邮政编码:'
prop=
'
registerAddrC
ode'
prop=
'
postc
ode'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.
registerAddrCode'
autocomplete=
'off'
placeholder=
"请输入注册地址邮政编码"
></el-input>
<el-input
v-model=
'form.
postcode'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入注册地址邮政编码"
></el-input>
</el-form-item>
<el-form-item
label=
'办公地址:'
prop=
'
officeAddr
'
prop=
'
address
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.
officeAddr'
autocomplete=
'off'
placeholder=
"请输入办公地址"
></el-input>
<el-input
v-model=
'form.
address'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入办公地址"
></el-input>
</el-form-item>
<el-form-item
label=
'办公地址(英文):'
prop=
'
englishOfficeAddr
'
>
<el-input
v-model=
'form.
englishOfficeAddr'
autocomplete=
'off'
placeholder=
"请输入英文办公地址"
></el-input>
prop=
'
address1
'
>
<el-input
v-model=
'form.
address1'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入英文办公地址"
></el-input>
</el-form-item>
<el-form-item
label=
'办公地址邮政编码:'
prop=
'officeAddrCode'
<el-form-item
label=
'办公地址邮政编码:'
prop=
'postcode1'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.
officeAddrCode'
autocomplete=
'off'
placeholder=
"请输入办公地址邮政编码"
></el-input>
<el-input
v-model=
'form.
postcode1'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入办公地址邮政编码"
></el-input>
</el-form-item>
<el-form-item
label=
'统一社会信用代码:'
prop=
'c
redit
Code'
prop=
'c
ertificate
Code'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.c
reditCode'
autocomplete=
'off'
placeholder=
"请输入统一社会信用代码"
></el-input>
<el-input
v-model=
'form.c
ertificateCode'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入统一社会信用代码"
></el-input>
</el-form-item>
<el-form-item
label=
'注册资金(万元):'
prop=
'register
edCapit
al'
prop=
'register
Princip
al'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.register
edCapital'
autocomplete=
'off'
placeholder=
"请输入注册资金(万元)"
></el-input>
<el-input
v-model=
'form.register
Principal'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入注册资金(万元)"
></el-input>
</el-form-item>
<el-form-item
label=
'货币种类:'
prop=
'c
urrency
'
prop=
'c
oinType
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-select
v-model=
"form.c
urrency
"
placeholder=
"请选择货币种类"
>
<el-option
label=
""
value=
"1"
></el-option>
<el-select
v-model=
"form.c
oinType"
:disabled=
"true
"
placeholder=
"请选择货币种类"
>
<el-option
v-for=
"item in coinTypeList"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
'企业类别:'
prop=
'
enterpriseCategory
'
prop=
'
firmType
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-select
v-model=
"form.
enterpriseCategory
"
placeholder=
"请选择企业类别"
>
<el-option
label=
""
value=
"1"
></el-option>
<el-select
v-model=
"form.
firmType"
:disabled=
"true
"
placeholder=
"请选择企业类别"
>
<el-option
v-for=
"item in firmTypeList"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
'经济类型代码:'
prop=
'
economicTypeCode
'
prop=
'
dm
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-select
v-model=
"form.
economicTypeCod
e"
placeholder=
"请选择经济类型代码"
>
<el-option
label=
""
value=
"1"
></el-option>
<el-select
v-model=
"form.
dm"
:disabled=
"tru
e"
placeholder=
"请选择经济类型代码"
>
<el-option
v-for=
"item in EconomicCategoryCode"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
'国民经济行业分类代码:'
prop=
'
nationalEconomyCode
'
prop=
'
TJDm
'
class=
"moreLong"
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-select
v-model=
"form.
branch
"
placeholder=
"请选择国民经济行业分类代码"
>
<el-option
label=
""
value=
"1"
></el-option>
<el-select
v-model=
"form.
TJDm"
:disabled=
"true
"
placeholder=
"请选择国民经济行业分类代码"
>
<el-option
v-for=
"item in NationalIndustryClassificationCode"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
'组织机构代码:'
prop=
'
organization
Code'
>
<el-input
v-model=
'form.
organizationCode'
autocomplete=
'off'
placeholder=
"请输入组织机构代码"
></el-input>
<el-form-item
label=
'组织机构代码:'
prop=
'
firm
Code'
>
<el-input
v-model=
'form.
firmCode'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入组织机构代码"
></el-input>
</el-form-item>
<el-form-item
label=
'法定代表人:'
prop=
'le
galRepresentative
'
prop=
'le
ader
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.le
galRepresentative'
autocomplete=
'off'
placeholder=
"请输入法定代表人"
></el-input>
<el-input
v-model=
'form.le
ader'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入法定代表人"
></el-input>
</el-form-item>
<el-form-item
label=
'电话:'
prop=
'le
galRepresentativeTel
'
>
<el-input
v-model=
'form.le
galRepresentativeTel'
autocomplete=
'off'
placeholder=
"请输入法定代表人电话"
></el-input>
<el-form-item
label=
'
法定代表人
电话:'
prop=
'le
aderTele
'
>
<el-input
v-model=
'form.le
aderTele'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入法定代表人电话"
></el-input>
</el-form-item>
<el-form-item
label=
'手机:'
prop=
'le
galRepresentativePhone
'
<el-form-item
label=
'
法定代表人
手机:'
prop=
'le
aderHandset
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.le
galRepresentativePhone'
autocomplete=
'off'
placeholder=
"请输入法定代表人手机"
></el-input>
<el-input
v-model=
'form.le
aderHandset'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入法定代表人手机"
></el-input>
</el-form-item>
<el-form-item
label=
'企业网址:'
prop=
'
website
'
>
<el-input
v-model=
'form.
website'
autocomplete=
'off'
placeholder=
"请输入企业网址:"
></el-input>
prop=
'
netStation
'
>
<el-input
v-model=
'form.
netStation'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入企业网址:"
></el-input>
</el-form-item>
<p
class=
"content-from-title"
>
经办人信息
</p>
<el-form-item
label=
'经办人姓名:'
prop=
'
name
'
<p
class=
"content-from-title"
>
经办人信息
填报
</p>
<el-form-item
label=
'经办人姓名:'
prop=
'
contactman
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.
name'
autocomplete=
'off'
placeholder=
"请输入经办人姓名"
></el-input>
<el-input
v-model=
'form.
contactman'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入经办人姓名"
></el-input>
</el-form-item>
<el-form-item
label=
'电话:'
prop=
'
tel
'
<el-form-item
label=
'电话:'
prop=
'
contactmanCtqh
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
}]">
<el-input
v-model=
'form.
tel'
autocomplete=
'off'
placeholder=
"请输入电话"
></el-input>
<el-input
v-model=
'form.
contactmanCtqh'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入电话"
></el-input>
</el-form-item>
<el-form-item
label=
'手机:'
prop=
'
mobile
'
<el-form-item
label=
'手机:'
prop=
'
contactmanMp
'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
},
{ validator:checkMobileReg },
{ validator:checkMobile, trigger:'blur' },]">
<el-input
v-model=
'form.
mobile'
autocomplete=
'off'
placeholder=
"请输入手机"
></el-input>
<el-input
v-model=
'form.
contactmanMp'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入手机"
></el-input>
</el-form-item>
<el-form-item
label=
'传真:'
prop=
'fax'
:rules=
"[
{
required: true,
message: '不能为空',
}]">
<el-input
v-model=
'form.email'
autocomplete=
'off'
placeholder=
"请输入传真"
></el-input>
prop=
'contactmanFax'
>
<el-input
v-model=
'form.contactmanFax'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入传真"
></el-input>
</el-form-item>
<el-form-item
label=
'E-mail:'
prop=
'
e
mail'
prop=
'
contactmanE
mail'
:rules=
"[
{
required:
tru
e,
required:
fals
e,
message: '不能为空',
},
{ type: 'email',
message: '请输入正确的邮箱地址',
trigger: ['blur', 'change']
}]">
<el-input
v-model=
'form.
email'
autocomplete=
'off'
placeholder=
"请输入E-mail"
></el-input>
<el-input
v-model=
'form.
contactmanEmail'
:disabled=
"true"
autocomplete=
'off'
placeholder=
"请输入E-mail"
></el-input>
</el-form-item>
</el-form>
</div>
<div
class=
"btn-div"
>
<el-button
type=
"primary"
@
click=
"register"
style=
"width: 110px"
>
保 存
</el-button
>
<el-button
style=
"width: 110px"
>
取 消
</el-button
>
</div
>
<!--
<div
class=
"btn-div"
>
--
>
<!--
<el-button
type=
"primary"
@
click=
"register"
style=
"width: 110px"
>
保 存
</el-button>
--
>
<!--
<el-button
style=
"width: 110px"
>
取 消
</el-button>
--
>
<!--
</div>
--
>
</div>
</div>
...
...
@@ -234,46 +227,96 @@ export default {
name
:
"index"
,
data
()
{
return
{
loginInfo
:
{},
memberInfo
:
{},
hasSent
:
false
,
timer
:
null
,
time
:
60
,
form
:
{
chineseName
:
''
,
englishName
:
''
,
registeredAddress
:
''
,
city
:
'1'
,
englishRegisterAddr
:
''
,
registerAddrCode
:
''
,
officeAddr
:
''
,
englishOfficeAddr
:
''
,
officeAddrCode
:
''
,
creditCode
:
''
,
registeredCapital
:
''
,
currency
:
''
,
enterpriseCategory
:
''
,
economicTypeCode
:
''
,
nationalEconomyCode
:
''
,
organizationCode
:
''
,
legalRepresentative
:
''
,
legalRepresentativeTel
:
''
,
legalRepresentativePhone
:
''
,
website
:
''
,
name
:
''
,
tel
:
''
,
mobile
:
''
,
fax
:
''
,
email
:
''
,
business
:
''
firmName
:
''
,
// 企业名称
firmName1
:
''
,
// 企业名称(英文)
registerAddress
:
''
,
// 注册地址
political
:
''
,
// 注册地址地区编码 6位数字
branchCode
:
''
,
// 所属分支机构
registerAddress1
:
''
,
// 注册地址(英文)
postcode
:
''
,
// 注册地址邮政编码
address
:
''
,
// 办公地址
address1
:
''
,
// 办公地址(英文)
postcode1
:
''
,
// 办公地址邮政编码
certificateCode
:
''
,
// 统一社会信用代码
registerPrincipal
:
''
,
// 注册资金
coinType
:
''
,
// 货币种类 人民币、美元、欧元、港币、日元、英镑、德国马克、瑞士法郎、澳门元
firmType
:
''
,
// 企业类别
dm
:
''
,
// 经济类型代码
TJDm
:
''
,
// 国民经济行业分类代码
firmCode
:
''
,
// 组织机构代码
leader
:
''
,
// 法定代表人
leaderTele
:
''
,
// 法定代表人电话
leaderHandset
:
''
,
// 法定代表人手机
netStation
:
''
,
// 企业网址
firmBusinessLicenseFile
:
''
,
// 上传已年检企业营业执照扫描件
contactman
:
''
,
// 经办人姓名
contactmanCtqh
:
''
,
// 经办人电话 提交数据到接口时,区号和电话后8位需分开 区号存入contactmanCtqh字段,后8位存入contactmanTele字段
contactmanMp
:
''
,
// 经办人手机
contactmanFax
:
''
,
// 经办人传真
contactmanEmail
:
''
,
// 经办人邮箱
serviceType
:
''
// 办理业务
// chineseName:'',
// englishName:'',
// registeredAddress:'',
// city:'1',
// englishRegisterAddr:'',
// registerAddrCode:'',
// officeAddr:'',
// englishOfficeAddr:'',
// officeAddrCode:'',
// creditCode:'',
// registeredCapital:'',
// currency:'',
// enterpriseCategory:'',
// economicTypeCode:'',
// nationalEconomyCode:'',
// organizationCode:'',
// legalRepresentative:'',
// legalRepresentativeTel:'',
// legalRepresentativePhone:'',
// website:'',
// name:'',
// tel:'',
// mobile:'',
// fax:'',
// email:'',
// business:''
},
mobilePattern
:
/^
((
13
[
0-9
])
|
(
15
[^
4
])
|
(
18
[
0-9
])
|
(
17
[
0-8
])
|
(
147
))\d{8}
$/
,
cascadeRegion
:
window
.
CodeTable
.
cascadeRegion
,
coinTypeList
:
[
{
label
:
'人民币'
,
value
:
'人民币'
},
{
label
:
'美元'
,
value
:
'美元'
},
{
label
:
'欧元'
,
value
:
'欧元'
},
{
label
:
'港币'
,
value
:
'港币'
},
{
label
:
'日元'
,
value
:
'日元'
},
{
label
:
'英镑'
,
value
:
'英镑'
},
{
label
:
'德国马克'
,
value
:
'德国马克'
},
{
label
:
'瑞士法郎'
,
value
:
'瑞士法郎'
},
{
label
:
'澳门元'
,
value
:
'澳门元'
}
],
firmTypeList
:
[
{
label
:
'单个生产企业'
,
value
:
'单个生产企业'
},
{
label
:
'集团公司'
,
value
:
'集团公司'
},
{
label
:
'进出口公司'
,
value
:
'进出口公司'
}
],
serviceTypeList
:
[
{
label
:
'进口商品数据通报'
,
value
:
'进口商品数据通报'
},
{
label
:
'申请全球位置码(GLN)'
,
value
:
'申请全球位置码(GLN)'
}
],
branchList
:
[],
AdministrativeDivisionCode
:
window
.
CodeTable
.
AdministrativeDivisionCodeHandle
,
EconomicCategoryCode
:
window
.
CodeTable
.
EconomicCategoryCodeHandle
,
NationalIndustryClassificationCode
:
window
.
CodeTable
.
NationalIndustryClassificationCodeHandle
}
},
methods
:
{
register
()
{
},
checkMobileReg
(
rule
,
value
,
callback
)
{
if
(
value
!==
''
)
{
if
(
this
.
mobilePattern
.
test
(
value
))
{
...
...
@@ -283,16 +326,42 @@ export default {
}
}
},
checkMobile
()
{
console
.
log
(
'checkMobile'
);
return
new
Promise
((
resolve
)
=>
{
resolve
(
true
);
});
},
politicalChangeEvent
()
{
console
.
log
(
this
.
form
.
political
)
this
.
form
.
branchCode
=
''
this
.
branchList
=
window
.
CodeTable
.
getBranches
(
this
.
form
.
political
[
this
.
form
.
political
.
length
-
1
])
this
.
branchList
.
length
>
0
&&
(
this
.
form
.
branchCode
=
this
.
branchList
[
0
].
value
)
},
async
getTycpdmFirmInfo
()
{
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})
const
tycpdmFirmInfo
=
result
.
data
.
data
this
.
initFormData
(
tycpdmFirmInfo
)
},
async
getMemberInfo
()
{
this
.
memberInfo
=
(
await
this
.
$api
.
myManage
.
memberInfo
({
id
:
this
.
loginInfo
.
id
})).
data
await
this
.
getTycpdmFirmInfo
()
},
initFormData
(
tycpdmFirmInfo
)
{
this
.
form
.
political
=
[
tycpdmFirmInfo
.
political
]
this
.
politicalChangeEvent
()
Object
.
keys
(
this
.
form
).
forEach
(
key
=>
{
if
([
'political'
].
indexOf
(
key
)
<
0
)
{
this
.
form
[
key
]
=
tycpdmFirmInfo
[
key
.
toLowerCase
()]
}
})
this
.
form
.
contactmanCtqh
=
tycpdmFirmInfo
[
'contactmanctqh'
]
+
'-'
+
tycpdmFirmInfo
[
'contactmantele'
]
}
},
mounted
()
{
this
.
loginInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
this
.
getMemberInfo
()
}
}
</
script
>
...
...
src/views/MyManage/UnVerify/uploadvendor.vue
View file @
c3ae393c
...
...
@@ -51,27 +51,32 @@ export default {
this
.
uploading
=
false
},
uploadEvent
()
{
let
inputObj
=
null
if
(
!
document
.
getElementById
(
'file'
))
{
inputObj
=
document
.
createElement
(
'input'
)
inputObj
.
setAttribute
(
'id'
,
'file'
)
inputObj
.
setAttribute
(
'type'
,
'file'
)
inputObj
.
setAttribute
(
'name'
,
'file'
)
inputObj
.
setAttribute
(
'style'
,
'visibility:hidden'
)
document
.
body
.
appendChild
(
inputObj
)
const
that
=
this
document
.
querySelector
(
'#file'
).
addEventListener
(
'change'
,
()
=>
{
const
fileObj
=
document
.
getElementById
(
'file'
).
files
[
0
]
let
form
=
new
FormData
()
// FormData 对象
form
.
append
(
'file'
,
fileObj
)
// 文件对象
form
.
append
(
'id'
,
that
.
tycpdmFirmInfo
.
status
===
1
?
that
.
tycpdmFirmInfo
.
fid
:
that
.
tycpdmFirmInfo
.
id
)
form
.
append
(
'status'
,
that
.
tycpdmFirmInfo
.
status
)
this
.
upload
(
form
)
})
}
else
{
inputObj
=
document
.
getElementById
(
'file'
)
}
inputObj
.
click
()
this
.
$confirm
(
'请核对企业信息。提交后,在管理员审核完成前,不能修改。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
}).
then
(()
=>
{
let
inputObj
=
null
if
(
!
document
.
getElementById
(
'file'
))
{
inputObj
=
document
.
createElement
(
'input'
)
inputObj
.
setAttribute
(
'id'
,
'file'
)
inputObj
.
setAttribute
(
'type'
,
'file'
)
inputObj
.
setAttribute
(
'name'
,
'file'
)
inputObj
.
setAttribute
(
'style'
,
'visibility:hidden'
)
document
.
body
.
appendChild
(
inputObj
)
const
that
=
this
document
.
querySelector
(
'#file'
).
addEventListener
(
'change'
,
()
=>
{
const
fileObj
=
document
.
getElementById
(
'file'
).
files
[
0
]
let
form
=
new
FormData
()
// FormData 对象
form
.
append
(
'file'
,
fileObj
)
// 文件对象
form
.
append
(
'id'
,
that
.
tycpdmFirmInfo
.
status
===
1
?
that
.
tycpdmFirmInfo
.
fid
:
that
.
tycpdmFirmInfo
.
id
)
form
.
append
(
'status'
,
that
.
tycpdmFirmInfo
.
status
)
this
.
upload
(
form
)
})
}
else
{
inputObj
=
document
.
getElementById
(
'file'
)
}
inputObj
.
click
()
}).
catch
(()
=>
{});
},
async
getTycpdmFirmInfo
()
{
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})
...
...
src/views/MyManage/UnVerify/vendor.vue
View file @
c3ae393c
<
template
>
<div
class=
"container2"
v-loading=
"uploading"
>
<div
class=
"header"
>
<div
v-if=
"status === 2"
class=
"header"
>
<p><i
class=
"bi bi-exclamation-triangle-fill"
></i>
注:若您只是变更了不需要审核的信息(请查看
<a
href=
"/MyManage/UnVerify/vendorModify"
>
修改企业信息
</a>
),系统会默认通过审核。
</p>
</div>
<div
v-else
class=
"header"
>
<p><i
class=
"bi bi-exclamation-triangle-fill"
></i>
厂商实名认证(办理“进口商品信息通报、GLN”等业务需先完成此认证)
</p>
</div>
<div
class=
"content"
>
...
...
@@ -34,6 +37,7 @@
prop=
'firmName1'
>
<el-input
v-model=
'form.firmName1'
autocomplete=
'off'
placeholder=
"请输入企业英文名称"
></el-input>
<span
class=
"form-item-tip"
>
对俄罗斯出口的企业,本项必填!
</span>
</el-form-item>
<el-form-item
label=
'注册地址:'
prop=
'registerAddress'
...
...
@@ -199,8 +203,17 @@
required: true,
message: '不能为空',
}]">
<el-input
v-model=
'form.firmBusinessLicenseFile'
autocomplete=
'off'
type=
"file"
style=
"display:none"
></el-input>
<el-button
@
click=
"uploadEvent"
type=
"primary"
style=
"width: 110px;height: 36px;"
>
上传
</el-button>
<el-input
v-model=
'form.firmBusinessLicenseFile'
autocomplete=
'off'
style=
"display:none"
></el-input>
<el-button
@
click=
"uploadEvent"
type=
"primary"
style=
"width: 110px;height: 36px;"
>
上传
</el-button><br/>
<span
style=
"margin-right: 15px;cursor: pointer;color: #0D6EFD;"
>
查看历史上传文件
</span>
<el-popover
placement=
"bottom"
width=
"300"
trigger=
"hover"
v-model=
"uploadTipVisible"
>
<span
slot=
"reference"
style=
"cursor:pointer;"
>
必须为清晰彩色原件扫描件或数码照,必须...
</span>
必须为清晰彩色原件扫描件或数码照,必须在有效期内且年检章齐全(当年成立的公司可无年检章),支持png,bmp,jpg格式,大小不得超过3M
</el-popover>
</el-form-item>
<p
class=
"content-from-title"
>
经办人信息填报
</p>
...
...
@@ -276,6 +289,12 @@
<t-j-dm-select
@
cancel=
"dialogVisible = false"
:initSelect=
"form.TJDm"
@
confirm=
"confirmEvent"
/>
</div>
</el-dialog>
<el-image
id=
"image"
style=
"width: 10px; height: 10px;opacity: 0;"
:src=
"imagePreview.url"
:preview-src-list=
"imagePreview.srcList"
>
</el-image>
</div>
</
template
>
...
...
@@ -291,8 +310,13 @@ export default {
return
{
dialogVisible
:
false
,
uploading
:
false
,
uploadTipVisible
:
false
,
loginInfo
:
{},
memberInfo
:
{},
imagePreview
:
{
url
:
''
,
srcList
:
[]
},
hasSent
:
false
,
timer
:
null
,
time
:
60
,
...
...
@@ -671,6 +695,13 @@ export default {
}
}
}
.form-item-tip
{
position
:
absolute
;
margin
:
10px
0
0
5px
;
width
:
200px
;
font-size
:
13px
;
color
:
#F56C6C
;
}
</
style
>
<
style
lang=
"scss"
scoped
>
@media
(
max-width
:
768px
)
{
...
...
src/views/MyManage/UnVerify/vendorModify.vue
View file @
c3ae393c
<
template
>
<div
class=
"container2"
v-loading=
"uploading"
>
<div
class=
"header"
>
<p><i
class=
"bi bi-exclamation-triangle-fill"
></i>
注:若需对以下不可编辑的信息进行修改,必须申请
<a
href=
"/MyManage/UnVerify/vendor"
>
变更厂商实名认证信息 。
</a></p>
</div>
<div
class=
"content"
>
<div
class=
"title"
>
修改企业信息
<a
href=
"/MyManage/UnVerify/vendor"
>
变更厂商实名认证信息
</a>
...
...
src/views/MyManage/index.vue
View file @
c3ae393c
...
...
@@ -131,20 +131,26 @@ export default {
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"
修改登录密码
"
,
name
:
"
企业信息
"
,
index
:
1
,
link
:
'/MyManage/SystemMember/companyInfo'
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"修改登录密码"
,
index
:
2
,
link
:
"/MyManage/UnVerify/changePass"
,
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"修改手机号码"
,
index
:
2
,
index
:
3
,
link
:
"/MyManage/UnVerify/changePhone"
,
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"变更企业信息"
,
index
:
1
,
index
:
4
,
link
:
"/MyManage/UnVerify/vendor"
,
},
],
...
...
@@ -185,34 +191,24 @@ export default {
adminBranchRouterList
:
[
{
id
:
uuid
(
"gs_nav"
),
name
:
"业务审核"
,
name
:
"
实名认证
业务审核"
,
index
:
0
,
link
:
"/MyManage/admin/check"
,
},
// {
// id: uuid("gs_nav"),
// name: "统一产品编码",
// index: 1,
// link: "/MyManage/admin/code",
// },
{
id
:
uuid
(
"gs_nav"
),
name
:
"审核状态修改"
,
index
:
2
,
link
:
"/MyManage/admin/status_change"
,
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"企业信息修改"
,
index
:
3
,
link
:
"/MyManage/admin/ent_info"
,
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"日志查看"
,
index
:
4
,
link
:
"/MyManage/admin/log"
,
},
link
:
""
,
children
:
[
{
id
:
uuid
(
"gs_nav"
),
name
:
"企业实名认证"
,
index
:
0
,
link
:
"/MyManage/admin/check"
,
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"企业实名认证变更"
,
index
:
1
,
link
:
"/MyManage/admin/check"
,
},
],
}
],
userType
:
ADMIN
,
loginInfo
:
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
...
...
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