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
dfd09728
Commit
dfd09728
authored
Jul 15, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
84101e6e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
384 additions
and
149 deletions
+384
-149
QuotationPrice_SWT.vue
...s/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
+207
-30
newQuotation_SWT.vue
...nts/TravelManager/TravelNewQuotation/newQuotation_SWT.vue
+49
-61
busPriceConfig.vue
src/components/busManagement/busPriceConfig.vue
+128
-58
No files found.
src/components/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
View file @
dfd09728
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/newQuotation_SWT.vue
View file @
dfd09728
...
@@ -13,11 +13,13 @@
...
@@ -13,11 +13,13 @@
line-height
:
15px
;
line-height
:
15px
;
color
:
white
;
color
:
white
;
border
:
1px
solid
#e95252
;
border
:
1px
solid
#e95252
;
cursor
:
pointer
;
}
}
.BilldownLoadCommon
input
[
type
=
"checkbox"
]
:checked
+
label
::before
{
.BilldownLoadCommon
input
[
type
=
"checkbox"
]
:checked
+
label
::before
{
content
:
"\2713"
;
content
:
"\2713"
;
background-color
:
#e95252
;
background-color
:
#e95252
;
cursor
:
pointer
;
}
}
.BilldownLoadCommon
input
[
type
=
"checkbox"
]
{
.BilldownLoadCommon
input
[
type
=
"checkbox"
]
{
...
@@ -27,12 +29,14 @@
...
@@ -27,12 +29,14 @@
.BilldownLoadCommon
input
[
type
=
"checkbox"
]
:focus
+
label
::before
{
.BilldownLoadCommon
input
[
type
=
"checkbox"
]
:focus
+
label
::before
{
box-shadow
:
none
;
box-shadow
:
none
;
cursor
:
pointer
;
}
}
.BilldownLoadCommon
input
[
type
=
"checkbox"
]
:disabled
+
label
::before
{
.BilldownLoadCommon
input
[
type
=
"checkbox"
]
:disabled
+
label
::before
{
background-color
:
gray
;
background-color
:
gray
;
box-shadow
:
none
;
box-shadow
:
none
;
color
:
#555
;
color
:
#555
;
cursor
:
pointer
;
}
}
.BilldownLoadCommon
table
td
{
.BilldownLoadCommon
table
td
{
...
@@ -59,8 +63,9 @@
...
@@ -59,8 +63,9 @@
text-align
:
center
;
text-align
:
center
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.wstRedType
{
color
:
red
;
.wstRedType
{
color
:
red
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
...
@@ -156,7 +161,8 @@
...
@@ -156,7 +161,8 @@
</
template
>
</
template
>
</div>
</div>
<span
slot=
"reference"
><span
class=
"teamName"
></span>
<span
slot=
"reference"
><span
class=
"teamName"
></span>
审核状态:
<span
style=
"cursor:pointer"
:class=
"{'wstRedType':item.AuditStatus==2}"
title=
"点击查看"
>
{{item.AuditStatusStr}}
</span>
审核状态:
<span
style=
"cursor:pointer"
:class=
"{'wstRedType':item.AuditStatus==2}"
title=
"点击查看"
>
{{item.AuditStatusStr}}
</span>
</span>
</span>
</el-popover>
</el-popover>
</div>
</div>
...
@@ -172,19 +178,17 @@
...
@@ -172,19 +178,17 @@
</div>
</div>
<div
style=
"width:134px;"
>
<div
style=
"width:134px;"
>
<span
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationPrice_SWT',item.Id)"
>
<span
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationPrice_SWT',item.Id)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
popper-class=
"max-w250"
>
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
<i
class=
"iconfont icon-bianji-smal"
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
class=
"newAopbdd"
style=
"background-color:#67c23a;"
@
click=
"delQuotation(item.Id)"
>
<span
class=
"newAopbdd"
style=
"background-color:#67c23a;"
@
click=
"delQuotation(item.Id)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top-start"
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top-start"
popper-class=
"max-w250"
>
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-biaoge"
></i>
<i
class=
"iconfont icon-biaoge"
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
style=
"background:#85ce61; "
class=
"newAopbdd"
@
click=
"
SwtDownLoadFile
(item)"
>
<span
style=
"background:#85ce61; "
class=
"newAopbdd"
@
click=
"
showDownLoad
(item)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
popper-class=
"max-w250"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bb-xiazai"
></i>
<i
class=
"iconfont icon-bb-xiazai"
></i>
</el-tooltip>
</el-tooltip>
...
@@ -211,38 +215,41 @@
...
@@ -211,38 +215,41 @@
</tr>
</tr>
<tbody>
<tbody>
<tr
height=
"36"
>
<tr
height=
"36"
>
<td
width=
"50%"
><input
id=
"IsShow
TripPrice"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowTripPrice
"
/><label
<td
width=
"50%"
><input
id=
"IsShow
BaseInfo"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowBaseInfo
"
/><label
for=
"IsShow
TripPrice"
>
行程报价
<br
/>
(房、餐、车、门票)
</label></td>
for=
"IsShow
BaseInfo"
>
基础信息
</label></td>
<td
width=
"50%"
><input
id=
"IsShow
Traffic"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowTraffic
"
/><label
<td
width=
"50%"
><input
id=
"IsShow
SalePrice"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowSalePrice
"
/><label
for=
"IsShow
Traffic"
>
交通部分
</label></td>
for=
"IsShow
SalePrice"
>
建議售價
</label></td>
</tr>
</tr>
<tr
height=
"36"
>
<tr
height=
"36"
>
<td><input
id=
"IsShow
ZaZhi"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowZaZhi
"
/><label
<td><input
id=
"IsShow
SingleRoomPrice"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowSingleRoomPrice
"
/><label
for=
"IsShow
ZaZhi"
>
杂支部分
</label></td>
for=
"IsShow
SingleRoomPrice"
>
單房差
</label></td>
<td><input
id=
"IsShow
OtherZhichu"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowOtherZhichu
"
/><label
<td><input
id=
"IsShow
Hotel"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowHotel
"
/><label
for=
"IsShow
OtherZhichu"
>
其他支出
</label></td>
for=
"IsShow
Hotel"
>
飯店
</label></td>
</tr>
</tr>
<tr
height=
"36"
>
<tr
height=
"36"
>
<td><input
id=
"IsShow
ShouRu"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowShouRu
"
/><label
<td><input
id=
"IsShow
Dinner"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowDinner
"
/><label
for=
"IsShow
ShouRu"
>
收入
</label></td>
for=
"IsShow
Dinner"
>
餐食
</label></td>
<td><input
id=
"IsShow
TuanFuFee"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowTuanFuFee
"
/><label
<td><input
id=
"IsShow
Bus"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowBus
"
/><label
for=
"IsShow
TuanFuFee"
>
团负费
</label></td>
for=
"IsShow
Bus"
>
車資
</label></td>
</tr>
</tr>
<tr
height=
"36"
>
<tr
height=
"36"
>
<td><input
id=
"IsShow
LeaderFenTan"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowLeaderFenTan
"
/><label
<td><input
id=
"IsShow
SelfFeeTrip"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowSelfFeeTrip
"
/><label
for=
"IsShow
LeaderFenTan"
>
领队分摊
</label></td>
for=
"IsShow
SelfFeeTrip"
>
自費行程
</label></td>
<td><input
id=
"IsShow
Cost"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowCost
"
/><label
<td><input
id=
"IsShow
Shopping"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowShopping
"
/><label
for=
"IsShow
Cost"
>
成本统计
</label></td>
for=
"IsShow
Shopping"
>
SHOPPING
</label></td>
</tr>
</tr>
<tr
height=
"36"
>
<tr
height=
"36"
>
<td><input
id=
"IsShowOtherPrice"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowOtherPrice"
/><label
<td><input
id=
"IsShowBusShop"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowBusShop"
/><label
for=
"IsShowOtherPrice"
>
其他定价
</label></td>
for=
"IsShowBusShop"
>
車購
</label></td>
<td
style=
"display:none;"
><input
id=
"IsShowScenic"
type=
"checkbox"
v-model=
"downLoadMsg.IsShowScenic"
/><label
for=
"IsShowScenic"
>
景點門票
</label></td>
</tr>
</tr>
</tbody>
</tbody>
<tr
height=
"66"
>
<tr
height=
"66"
>
<td
colspan=
"2"
style=
"text-align:center;"
>
<td
colspan=
"2"
style=
"text-align:center;"
>
<input
type=
"button"
class=
"normalBtn"
style=
"margin-left:-70px;"
:value=
"$t('pub.sureBtn')"
<input
type=
"button"
class=
"normalBtn"
style=
"margin-left:-70px;"
:value=
"$t('pub.sureBtn')"
@
click=
"DownLoadFile()"
/>
@
click=
"
Swt
DownLoadFile()"
/>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -265,7 +272,7 @@
...
@@ -265,7 +272,7 @@
currentPage
:
1
,
currentPage
:
1
,
Title
:
""
,
Title
:
""
,
AuditStatus
:
-
1
,
AuditStatus
:
-
1
,
IsQAuditStatus
:
0
,
//所有的数据
IsQAuditStatus
:
0
,
//所有的数据
},
},
loading
:
true
,
loading
:
true
,
//线路列表
//线路列表
...
@@ -278,17 +285,18 @@
...
@@ -278,17 +285,18 @@
downloadBill
:
false
,
downloadBill
:
false
,
//下载参数
//下载参数
downLoadMsg
:
{
downLoadMsg
:
{
I
D
:
0
,
I
d
:
0
,
FileName
:
""
,
FileName
:
""
,
IsShowTripPrice
:
true
,
//行程报价
IsShowBaseInfo
:
true
,
//基础信息
IsShowTraffic
:
false
,
//交通价格
IsShowSalePrice
:
false
,
//是否显示建议售价
IsShowZaZhi
:
false
,
//杂支部分
IsShowSingleRoomPrice
:
false
,
//是否显示单房差
IsShowOtherZhichu
:
false
,
//其他支出
IsShowHotel
:
false
,
//是否显示酒店
IsShowShouRu
:
false
,
//收入部分
IsShowDinner
:
false
,
//是否显示餐食
IsShowTuanFuFee
:
false
,
//团负费
IsShowScenic
:
false
,
//是否显示景点门票
IsShowLeaderFenTan
:
false
,
//领队分摊
IsShowBus
:
false
,
//是否显示车资
IsShowCost
:
false
,
//成本统计
IsShowSelfFeeTrip
:
false
,
//是否显示自费行程
IsShowOtherPrice
:
false
,
//其他定价
IsShowShopping
:
false
,
//是否显示自费购物
IsShowBusShop
:
false
,
//是否显示车购
},
},
};
};
},
},
...
@@ -400,7 +408,7 @@
...
@@ -400,7 +408,7 @@
},
},
//显示下载弹窗
//显示下载弹窗
showDownLoad
(
item
)
{
showDownLoad
(
item
)
{
this
.
downLoadMsg
.
I
D
=
item
.
ID
;
this
.
downLoadMsg
.
I
d
=
item
.
Id
;
var
fileName
=
""
;
var
fileName
=
""
;
if
(
item
.
CustomerName
)
{
if
(
item
.
CustomerName
)
{
fileName
+=
"【"
+
item
.
CustomerName
+
"】"
;
fileName
+=
"【"
+
item
.
CustomerName
+
"】"
;
...
@@ -414,30 +422,10 @@
...
@@ -414,30 +422,10 @@
this
.
downloadBill
=
true
;
this
.
downloadBill
=
true
;
},
},
//报价单下载
//报价单下载
DownLoadFile
()
{
SwtDownLoadFile
()
{
this
.
downloadBill
=
false
;
this
.
loading
=
true
;
this
.
GetLocalFile
(
"quotation_get_DownLoadQuotation"
,
this
.
downLoadMsg
,
this
.
downLoadMsg
.
FileName
,
res
=>
{
this
.
loading
=
false
;
});
},
//报价单下载
SwtDownLoadFile
(
item
)
{
this
.
downloadBill
=
false
;
this
.
downloadBill
=
false
;
this
.
loading
=
true
;
this
.
loading
=
true
;
var
swtMsg
=
{
this
.
GetLocalFile
(
"quotation_get_SwtDownLoadQuotation"
,
this
.
downLoadMsg
,
this
.
downLoadMsg
.
FileName
,
res
=>
{
Id
:
item
.
Id
};
var
fileName
=
""
;
if
(
item
.
CustomerName
)
{
fileName
+=
"【"
+
item
.
CustomerName
+
"】"
;
}
else
if
(
item
.
LtName
)
{
fileName
+=
"【"
+
item
.
LtName
+
"】"
;
}
else
if
(
item
.
LineName
)
{
fileName
+=
"【"
+
item
.
LineName
+
"】"
;
}
fileName
+=
"成本下载.xls"
;
this
.
GetLocalFile
(
"quotation_get_SwtDownLoadQuotation"
,
swtMsg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
},
},
...
...
src/components/busManagement/busPriceConfig.vue
View file @
dfd09728
This diff is collapsed.
Click to expand it.
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