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
120be057
Commit
120be057
authored
Jun 18, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改公司管理权限,签证产品可查看
parent
54e61d7d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
20 deletions
+65
-20
ModifyVisaProduct.vue
src/components/SalesVisa/ModifyVisaProduct.vue
+5
-2
VisaProduct.vue
src/components/SalesVisa/VisaProduct.vue
+53
-18
companyManagement.vue
src/components/platformModule/companyManagement.vue
+7
-0
No files found.
src/components/SalesVisa/ModifyVisaProduct.vue
View file @
120be057
...
...
@@ -699,7 +699,7 @@
<i
class=
"iconfont icon-huidaodingbu"
></i>
</div>
<!-- @click="submitForm(1)" -->
<div
class=
"DTSaveBtn"
@
click=
"SaveVisaProduct('addMsg')"
>
保存
</div>
<div
v-show=
"saveBtn"
class=
"DTSaveBtn"
@
click=
"SaveVisaProduct('addMsg')"
>
保存
</div>
<!--
<div
class=
"DTSaveBtn"
>
提交
</div>
-->
<!--
<div
v-if=
"ConfigId>0"
class=
"DTSaveBtn"
:class=
"
{'disClick':!isSubmit}" @click="goB2B()">预览
</div>
-->
</div>
...
...
@@ -733,6 +733,7 @@ export default {
},
data
()
{
return
{
saveBtn
:
true
,
fileList
:[],
checkList
:[],
...
...
@@ -837,7 +838,9 @@ export default {
};
},
mounted
()
{
if
(
this
.
$route
.
query
.
save
){
this
.
saveBtn
=
false
;
}
if
(
this
.
$route
.
query
.
Id
){
this
.
Pid
=
this
.
$route
.
query
.
Id
;
this
.
GetVisaProductDetails
(
this
.
Pid
);
...
...
src/components/SalesVisa/VisaProduct.vue
View file @
120be057
...
...
@@ -300,10 +300,10 @@
<table
class=
"VisaProductTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
width=
"10%"
>
产品名称
</th>
<th
width=
"
8
%"
>
签证类型
</th>
<th
width=
"
8
%"
>
价格有效日期
</th>
<th
width=
"
5
%"
>
签证类型
</th>
<th
width=
"
12
%"
>
价格有效日期
</th>
<th
width=
"8%"
>
成本价
</th>
<th
width=
"
8
%"
>
同业价
</th>
<th
width=
"
7
%"
>
同业价
</th>
<th
width=
"8%"
>
直客价
</th>
<th
width=
"6%"
>
状态
</th>
<th
width=
"6%"
>
订单数
</th>
...
...
@@ -320,7 +320,14 @@
<span
v-else
class=
"tuanqian"
>
团签
</span>
</td>
<td>
<span
class=
"fbold"
>
{{
item
.
SendVisaDate
}}
</span>
<p>
结束日期:
<span
class=
"fbold"
>
{{
item
.
SendVisaDate
}}
</span>
</p>
<p>
开始日期:
<span
class=
"fbold"
>
{{
item
.
EffectiveStartDate
}}
</span>
</p>
</td>
<td>
<span
class=
"totalPrice fbold"
style=
"color: #47BF8C;"
>
¥
{{
moneyFormat
(
item
.
CostPrice
)
}}
</span>
...
...
@@ -409,20 +416,36 @@
@
click=
"getDetail(item)"
></el-button>
</el-tooltip>
-->
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"item.SendVisaStatus==1&&msg.isFinacial==1"
>
<el-button
type=
"primary"
style=
"background:#409EFF; border-color:#409EFF"
icon=
"iconfont icon-img_bianji_small"
@
click=
"EditVisaProduct(item)"
></el-button>
</el-tooltip>
<div
style=
"display:inline-block"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"item.SendVisaStatus==1&&msg.isFinacial==1"
>
<el-button
type=
"primary"
style=
"background:#409EFF; border-color:#409EFF"
icon=
"iconfont icon-img_bianji_small"
@
click=
"EditVisaProduct(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看详情"
placement=
"top-start"
v-else
>
<el-button
style=
"background:#E95252; border-color:#E95252;color:#fff"
icon=
"iconfont icon-chakan"
@
click=
"ChaKan(item)"
></el-button>
</el-tooltip>
</div>
<el-tooltip
effect=
"dark"
content=
"查看"
placement=
"top-start"
v-if=
"msg.isFinacial==1"
>
<el-button
type=
"primary"
...
...
@@ -677,6 +700,18 @@ export default {
},
methods
:
{
// 只能查看,不能修改
ChaKan
(
item
){
this
.
$router
.
push
({
name
:
"ModifyVisaProduct"
,
query
:
{
Id
:
item
.
Id
,
blank
:
"y"
,
save
:
false
,
tab
:
"配置签证产品"
}
});
},
// 修改签证产品
EditVisaProduct
(
item
){
this
.
$router
.
push
({
...
...
src/components/platformModule/companyManagement.vue
View file @
120be057
...
...
@@ -53,6 +53,7 @@
<th>
{{
$t
(
'restaurant.res_ContactNumber'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_status'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_isshow'
)
}}
</th>
<th>
B2B是否显示
</th>
<th>
公司类型
</th>
<th
width=
"200"
>
{{
$t
(
'admin.admin_operate'
)
}}
</th>
</tr>
...
...
@@ -65,6 +66,7 @@
<td>
{{
item
.
MobilePhone
}}
</td>
<td>
{{
item
.
Status
==
0
?
$t
(
'pub.openSel'
):
$t
(
'pub.closeSel'
)
}}
</td>
<td>
{{
item
.
is_show
==
0
?
'显示'
:
'不显示'
}}
</td>
<td>
{{
item
.
B2BShow
==
0
?
'显示'
:
'不显示'
}}
</td>
<td>
{{
item
.
IsParentCompany
==
'1'
?
'总公司'
:
'分公司'
}}
</td>
<td>
<el-row>
...
...
@@ -152,6 +154,9 @@
</el-form-item>
<el-form-item
class=
'w400'
:label=
'$t("admin.admin_isshow")'
prop=
"is_show"
>
<el-switch
v-model=
"addMsg.is_show"
active-value=
"0"
inactive-value=
"1"
></el-switch>
</el-form-item>
<el-form-item
class=
'w400'
label=
'B2B是否显示'
prop=
"B2BShow"
>
<el-switch
v-model=
"addMsg.B2BShow"
active-value=
"0"
inactive-value=
"1"
></el-switch>
</el-form-item>
<el-form-item
class=
'w400'
label=
'是否为总公司'
prop=
"IsParentCompany"
>
<el-switch
v-model=
"addMsg.IsParentCompany"
active-value=
"1"
inactive-value=
"2"
></el-switch>
...
...
@@ -305,6 +310,7 @@
AirportServicePerson
:
''
,
AirportServicePhone
:
''
,
is_show
:
'0'
,
B2BShow
:
'0'
,
BranchManager
:
''
,
IsParentCompany
:
'1'
,
BeginTier
:
''
,
...
...
@@ -411,6 +417,7 @@
this
.
getCityList
(
this
.
addMsg
.
Province
,
2
);
this
.
addMsg
.
Status
=
this
.
addMsg
.
Status
.
toString
();
this
.
addMsg
.
is_show
=
this
.
addMsg
.
is_show
.
toString
();
this
.
addMsg
.
B2BShow
=
this
.
addMsg
.
B2BShow
.
toString
();
this
.
addMsg
.
IsParentCompany
=
this
.
addMsg
.
IsParentCompany
.
toString
();
this
.
imageUrl
=
this
.
addMsg
.
ConfirmationSignet
;
this
.
imageUrlLogo
=
this
.
addMsg
.
TravelLogo
;
...
...
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