Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
acbd26f2
Commit
acbd26f2
authored
Dec 05, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8eb1ca0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
3 deletions
+31
-3
companyManagement.vue
src/components/platformModule/companyManagement.vue
+31
-3
No files found.
src/components/platformModule/companyManagement.vue
View file @
acbd26f2
...
...
@@ -138,6 +138,16 @@
<el-dialog
custom-class=
'w500'
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible"
center
:before-close=
"closeChangeMachie"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"120px"
>
<el-form-item
class=
'w400'
label=
"本位币"
prop=
"StandardCurrencyId"
>
<el-select
class=
'w280'
placeholder=
"请选择本位币"
filterable
v-model=
"addMsg.StandardCurrencyId"
>
<el-option
v-for=
'item in coinGetList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
<!--
<el-input
type=
"text"
v-model=
"addMsg.StandardCurrencyId"
placeholder=
"请选择本位币"
></el-input>
-->
</el-form-item>
<el-form-item
class=
'w400'
:label=
"$t('admin.admin_company')"
prop=
"BName"
>
<el-input
type=
"text"
v-model=
"addMsg.BName"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
...
...
@@ -215,7 +225,7 @@
</el-form-item>
<el-form-item
:label=
'$t("admin.companyZhang")'
>
<el-upload
class=
"avatar-uploader"
:http-request=
"UploadImage"
:show-file-list=
"false"
<el-upload
action=
"http://upload.oytour.com"
class=
"avatar-uploader"
:http-request=
"UploadImage"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"avatar"
>
<i
class=
"el-icon-upload2 avatar-uploader-icon"
></i>
...
...
@@ -224,7 +234,7 @@
</el-upload>
</el-form-item>
<el-form-item
:label=
'$t("admin.tripLogo")'
>
<el-upload
class=
"avatar-uploader"
:http-request=
"UploadImage_Logo"
:show-file-list=
"false"
<el-upload
action=
"http://upload.oytour.com"
class=
"avatar-uploader"
:http-request=
"UploadImage_Logo"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccessLogo"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"imageUrlLogo"
:src=
"imageUrlLogo"
class=
"avatar"
>
<i
class=
"el-icon-upload2 avatar-uploader-icon"
></i>
...
...
@@ -305,6 +315,11 @@
message
:
'请选择集团'
,
trigger
:
'change'
}],
StandardCurrencyId
:
[{
required
:
true
,
message
:
'请选择本位币'
,
trigger
:
'change'
}],
BName
:
[{
required
:
true
,
message
:
'请输入公司名称'
,
...
...
@@ -379,8 +394,10 @@
TravelLogo
:
''
,
CompanyTitle
:
''
,
IsFreeFee
:
0
,
ServiceFee
:
0
ServiceFee
:
0
,
StandardCurrencyId
:
''
},
coinGetList
:
[],
updateMsg
:
{
GroupId
:
'1'
},
...
...
@@ -400,8 +417,16 @@
this
.
getList
();
this
.
getGroup
();
this
.
getEmployee
();
this
.
financeinfo_post_GetList
()
},
methods
:
{
financeinfo_post_GetList
(
TCID
){
// 获取币种
this
.
apipost
(
'financeinfo_post_GetList'
,{
Name
:
''
,
TCID
:
TCID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
coinGetList
=
res
.
data
.
data
;
}
},
err
=>
{})
},
//上传图片
UploadImage
(
file
)
{
let
newArr
=
[];
...
...
@@ -505,6 +530,9 @@
this
.
addMsg
.
is_show
=
this
.
addMsg
.
is_show
.
toString
();
this
.
addMsg
.
B2BShow
=
this
.
addMsg
.
B2BShow
.
toString
();
this
.
addMsg
.
IsParentCompany
=
this
.
addMsg
.
IsParentCompany
.
toString
();
if
(
this
.
addMsg
.
StandardCurrencyId
==
0
){
this
.
addMsg
.
StandardCurrencyId
=
''
}
this
.
imageUrl
=
this
.
addMsg
.
ConfirmationSignet
;
this
.
imageUrlLogo
=
this
.
addMsg
.
TravelLogo
;
}
else
{}
...
...
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