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
9bd3c656
Commit
9bd3c656
authored
Apr 16, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加少价设置额外奖励扣除 恢复日志 增加退款列表
parent
16f40d9e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
460 additions
and
15 deletions
+460
-15
refundQuery.vue
src/components/FinancialModule/refundQuery.vue
+203
-0
VisaFinancialDocuments.vue
src/components/SalesModule/VisaFinancialDocuments.vue
+6
-6
enrollTotal.vue
src/components/SalesModule/enrollTotal.vue
+2
-0
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+38
-3
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+41
-2
index.vue
src/components/index.vue
+96
-2
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+66
-2
config.js
src/router/config.js
+8
-0
No files found.
src/components/FinancialModule/refundQuery.vue
0 → 100644
View file @
9bd3c656
<
style
>
</
style
>
<
template
>
<div
class=
'flexOne'
>
<div
class=
"query-box"
>
<ul>
<li>
<span>
<em>
订单号
</em>
<el-input
type=
"text"
v-model=
"msg.OrderId"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
订单来源
</em>
<el-select
v-model=
"msg.OrderSource"
filterable
clearable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"0"
></el-option>
<el-option
v-for=
"item in orderList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</span>
</li>
<li>
<span><em>
商务订单
</em>
<el-input
type=
"text"
v-model=
"msg.Pay_Order"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span><em>
平台订单
</em>
<el-input
type=
"text"
v-model=
"msg.Trade_Order"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
支付方式
</em>
<el-select
v-model=
"msg.Pay_Way"
filterable
clearable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"0"
></el-option>
<el-option
label=
"微信"
:value=
"1"
></el-option>
<el-option
label=
"QQ"
:value=
"2"
></el-option>
<el-option
label=
"支付宝"
:value=
"3"
></el-option>
<el-option
label=
"银联"
:value=
"4"
></el-option>
</el-select>
</span>
</li>
<li>
<span><em>
商户号
</em>
<el-input
type=
"text"
v-model=
"msg.Mch_Id"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
类型
</em>
<el-select
v-model=
"msg.Type"
filterable
clearable
>
<el-option
label=
"收款"
:value=
"1"
></el-option>
<el-option
label=
"退款"
:value=
"2"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
退款状态
</em>
<el-select
v-model=
"msg.RefundStatus"
filterable
clearable
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
label=
"收款中"
:value=
"1"
></el-option>
<el-option
label=
"退款成功"
:value=
"2"
></el-option>
<el-option
label=
"退款失败"
:value=
"3"
></el-option>
<el-option
label=
"转入代发"
:value=
"4"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
财务单据
</em>
<el-input
type=
"text"
v-model=
"msg.FinanceId"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
日期
</em>
<el-date-picker
type=
"date"
v-model=
"msg.StartTime"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
<el-date-picker
type=
"date"
v-model=
"msg.EndTime"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
<li>
<span>
<em>
退款日期
</em>
<el-date-picker
type=
"date"
v-model=
"msg.RefundStartTime"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
-
<el-date-picker
type=
"date"
v-model=
"msg.RefundEndTime"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"handleCurrentChange(),getList()"
/>
</li>
</ul>
</div>
<div
class=
"cm_content"
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
width=
"250"
>
平台单号
</th>
<th
width=
"100"
>
金额
</th>
<th>
支付方式
</th>
<th>
支付日期
</th>
<th>
状态
</th>
<th>
退款金额
</th>
</tr>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
Trade_Order
}}
</td>
<td>
{{
item
.
Money
}}
</td>
<td>
{{
item
.
PayWayName
}}
</td>
<td>
{{
item
.
Pay_Date
}}
</td>
<td>
{{
item
.
PayStatus
}}
</td>
<td>
{{
item
.
RefundMoney
}}
</td>
</tr>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
:page-size=
"msg.pageSize"
layout=
"total,prev, pager, next, jumper"
:total=
"msg.total"
></el-pagination>
</div>
</
template
>
<
script
>
export
default
{
data
(){
return
{
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
OrderId
:
''
,
OrderSource
:
0
,
Pay_Order
:
''
,
Trade_Order
:
''
,
Pay_Way
:
0
,
Mch_Id
:
''
,
StartTime
:
''
,
EndTime
:
''
,
RefundStartTime
:
''
,
RefundEndTime
:
''
,
Type
:
2
,
RefundStatus
:
0
,
FinanceId
:
''
,
currentPage
:
1
,
total
:
0
,
},
loading
:
false
,
orderList
:[],
dataList
:[],
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
let
endTime
=
new
Date
(
this
.
msg
.
EndTime
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
},
pickerBeginDateAfter
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
msg
.
StartTime
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
}
}
},
methods
:{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
getList
(){
//获取列表
this
.
loading
=
true
;
this
.
apipost
(
'OnlinePay_get_GetOrderPayMoneyInfo'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
console
.
log
(
res
,
'res'
);
if
(
res
.
data
.
resultCode
==
1
){
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
//订单来源
getOrderlist
()
{
this
.
apipost
(
"order_post_GetOrderSource"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
orderList
=
res
.
data
.
data
;
}
},
null
);
},
},
mounted
(){
this
.
getOrderlist
();
this
.
getList
();
}
}
</
script
>
src/components/SalesModule/VisaFinancialDocuments.vue
View file @
9bd3c656
...
...
@@ -140,7 +140,7 @@
<th
width=
"100"
>
实收
</th>
<th
width=
"100"
>
平台税金
</th>
<th
width=
"150"
>
交易日期
</th>
<
th
width=
"150"
>
旅客名单
</th
>
<
!--
<th
width=
"150"
>
旅客名单
</th>
--
>
<th
width=
"100"
>
制单人员
</th>
<th
width=
"120"
>
当前状态
</th>
</tr>
...
...
@@ -179,7 +179,7 @@
<td
width=
""
>
{{item.TradeDate}}
</td>
<!-- 旅客名单 -->
<!-- <td width="">旅客名单</td> -->
<td>
<
!-- <
td>
<span v-if="item.GuestInfoList.length>0" >
<el-popover class="item" effect="dark" placement="top-start" width="350" trigger="click">
<span style="display:inline-block;cursor:pointer;margin:6px;word-break:break-all;" v-for="item2 in item.GuestInfoList" :key="item2.GuestId">{{item2.GuestName}} </span>
...
...
@@ -189,7 +189,7 @@
</el-popover>
</span>
<span v-if="item.GuestInfoList.length==0">暂无名单</span>
</td>
</td>
-->
<td
width=
""
>
{{item.EmName}}
</td>
<td
width=
""
>
<i
v-if=
"item.Status==1"
class=
"iconfont icon-daiqueren"
style=
"color: #4BCA81"
></i>
...
...
@@ -240,7 +240,7 @@
<th
width=
"100"
>
实付
</th>
<th
width=
"100"
>
平台税金
</th>
<th
width=
"150"
>
交易日期
</th>
<
th
width=
"150"
>
旅客名单
</th
>
<
!-- <th width="150">旅客名单</th> --
>
<th
width=
"100"
>
制单人员
</th>
<th
width=
"120"
>
当前状态
</th>
</tr>
...
...
@@ -277,7 +277,7 @@
<p
style=
"line-height:20px"
><span>
{{moneyFormat(item.Fee)}}
</span></p>
</td>
<td
width=
""
>
{{item.TradeDate}}
</td>
<td>
<
!-- <
td>
<span v-if="item.GuestInfoList.length>0" >
<el-popover class="item" effect="dark" placement="top-start" width="350" trigger="click">
<span style="display:inline-block;cursor:pointer;margin:6px;word-break:break-all;" v-for="item2 in item.GuestInfoList" :key="item2.GuestId">{{item2.GuestName}} </span>
...
...
@@ -287,7 +287,7 @@
</el-popover>
</span>
<span v-if="item.GuestInfoList.length==0">暂无名单</span>
</td>
</td>
-->
<td
width=
""
>
{{item.EmName}}
</td>
<td
width=
""
>
<i
v-if=
"item.Status==1"
class=
"iconfont icon-daiqueren"
style=
"color: #4BCA81"
></i>
...
...
src/components/SalesModule/enrollTotal.vue
View file @
9bd3c656
...
...
@@ -193,6 +193,8 @@
<p>
发团:
{{
item
.
startDate
}}
</p>
<p
v-if=
'item.commissionMoney'
style=
"color:red"
>
提成:
{{
item
.
commissionMoney
}}
</p>
<p
v-else-if=
"item.latestCommissionMoney"
style=
"color:red"
>
提成:
{{
item
.
latestCommissionMoney
}}
</p>
<div
v-if=
"item.extraRewardMoney!=null&&item.extraRewardMoney>0"
>
奖励金额:
<span
style=
"color:#e95252"
>
{{
item
.
extraRewardMoney
}}
</span></div>
<div
v-if=
"item.extraDeductMoney!=null&&item.extraDeductMoney>0"
>
扣除金额:
<span
style=
"color:#e95252"
>
{{
item
.
extraDeductMoney
}}
</span></div>
</td>
<td>
<p
class=
"over_ellipsis"
style=
"width: 150px;"
:title=
"item.contactName"
>
{{
item
.
contactName
}}
</p>
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
9bd3c656
...
...
@@ -1739,6 +1739,8 @@
<div
v-if=
"isUpdateOrder"
@
click=
'zhuanLoading = true,OPRemarkMsg.OrderId = item.orderId'
>
OP备注
</div>
<!-- v-if="item.isUpdateOrderCommission" -->
<div
v-if=
"isUpdateOrderCommission"
@
click=
'TCMsg.OrderId = item.orderId, TCMsg.CommissionMinusRate = item.commissionMinusRate,TCMsg.LatestCommissionMoney=item.latestCommissionMoney, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"isUpdateOrderCommission"
@
click=
'EwMsg.OrderId = item.orderId, EwMsg.ExtraRewardMoney = item.extraRewardMoney,EwMsg.ExtraDeductMoney=item.extraDeductMoney, OrderMoneyDialog = true'
>
设置额外金额
</div>
<div
v-if=
'item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0)'
@
click=
'goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId)'
>
申请发票
</div>
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2')"
@
click=
'setChargeLoss(item)'
>
<span
v-if=
"item.isChargeLossOrders==1"
>
恢复收损单
</span>
...
...
@@ -2151,6 +2153,24 @@
<button
class=
"hollowFixedBtn"
@
click=
"initTCMsg"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
<el-dialog
custom-class=
'w350'
title=
"修改订单额外金额"
:visible
.
sync=
"OrderMoneyDialog"
center
>
<el-form
label-width=
"110px"
>
<el-form-item
label=
"额外奖励金额:"
class=
"w280"
>
<el-input
placeholder=
"请输入"
type=
"text"
@
keyup
.
native=
"checkPrice(EwMsg,'ExtraRewardMoney')"
v-model=
"EwMsg.ExtraRewardMoney"
>
</el-input>
</el-form-item>
<el-form-item
label=
"额外扣除金额:"
class=
"w280"
>
<el-input
placeholder=
"请输入"
type=
"number"
@
keyup
.
native=
"checkPrice(EwMsg,'ExtraDeductMoney')"
v-model=
"EwMsg.ExtraDeductMoney"
>
</el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"submitEWMsg"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"OrderMoneyDialog=false"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
</div>
</template>
...
...
@@ -2176,6 +2196,12 @@ export default {
OrderId
:
0
,
CommissionMinusRate
:
0
,
LatestCommissionMoney
:
''
,
},
OrderMoneyDialog
:
false
,
EwMsg
:{
OrderId
:
0
,
ExtraRewardMoney
:
''
,
ExtraDeductMoney
:
''
},
checkedObj
:{},
positionId
:
0
,
...
...
@@ -2543,6 +2569,18 @@ export default {
LatestCommissionMoney
:
''
}
},
//设置额外金额
submitEWMsg
(){
this
.
apipost
(
'sellorder_post_SetOrderExtraMoney'
,
this
.
EwMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
getList
()
this
.
OrderMoneyDialog
=
false
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
)
},
TransferDocuments
:
function
()
{
this
.
apipost
(
'sellorder_get_SetOrderOPRemarks'
,
this
.
OPRemarkMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -2934,13 +2972,10 @@ submitYSZEForm(){
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
isAllowUpdate
=
res
.
data
.
data
.
IsUpdatePlatOrder
;
let
x
=
res
.
data
.
data
.
model
;
let
modelPrice
=
res
.
data
.
data
.
modelPrice
;
this
.
addMsg
=
x
;
this
.
addObj
=
res
.
data
.
data
.
modelPrice
;
this
.
addObj
.
OrderId
=
x
.
OrderId
;
this
.
addObj
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
...
...
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
9bd3c656
...
...
@@ -1616,6 +1616,7 @@
<div
v-if=
"userId==1"
@
click=
"getSalerInfo(item)"
>
修改业务员
</div>
<div
@
click=
'zhuanLoading = true,OPRemarkMsg.OrderId = item.OrderId'
>
OP备注
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate,TCMsg.LatestCommissionMoney=item.LatestCommissionMoney, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'EwMsg.OrderId = item.OrderId, EwMsg.ExtraRewardMoney = item.ExtraRewardMoney,EwMsg.ExtraDeductMoney=item.ExtraDeductMoney, OrderMoneyDialog = true'
>
设置额外金额
</div>
<div
@
click=
'deleteItem(item)'
>
删除
</div>
</div>
<el-button
slot=
"reference"
type=
"primary"
style=
'background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...
...
@@ -1841,6 +1842,7 @@
<div
@
click=
"OrderLoading=true,OrderLossInfo(childItem)"
>
订单收损
</div>
<div
@
click=
'zhuanLoading = true,OPRemarkMsg.OrderId = childItem.OrderId,OPRemarkMsg.OP_Remarks=childItem.OP_Remarks'
>
OP备注
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'TCMsg.OrderId = childItem.OrderId, TCMsg.CommissionMinusRate = childItem.CommissionMinusRate,TCMsg.LatestCommissionMoney=childItem.LatestCommissionMoney, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'EwMsg.OrderId = childItem.OrderId, EwMsg.ExtraRewardMoney = childItem.ExtraRewardMoney,EwMsg.ExtraDeductMoney=childItem.ExtraDeductMoney, OrderMoneyDialog = true'
>
设置额外金额
</div>
<div
v-if=
"childItem.OrderState=='1'||childItem.OrderState=='2'||childItem.OrderState=='3'"
@
click=
'deleteItem(childItem)'
>
删除
...
...
@@ -2114,6 +2116,8 @@
<div
v-if=
"userId==1"
@
click=
"getSalerInfo(item)"
>
修改业务员
</div>
<div
@
click=
'zhuanLoading = true,OPRemarkMsg.OrderId = item.OrderId,OPRemarkMsg.OP_Remarks=item.OP_Remarks'
>
OP备注
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate,TCMsg.LatestCommissionMoney=item.LatestCommissionMoney, TiChengLoading = true'
>
修改提成
</div>
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'EwMsg.OrderId = item.OrderId, EwMsg.ExtraRewardMoney = item.ExtraRewardMoney,EwMsg.ExtraDeductMoney=item.ExtraDeductMoney, OrderMoneyDialog = true'
>
设置额外金额
</div>
<div
v-if=
"item.OrderState=='2'||item.OrderState=='3'"
@
click=
'deleteItem(item)'
>
删除
</div>
</div>
<el-button
slot=
"reference"
type=
"primary"
style=
'background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...
...
@@ -2346,6 +2350,23 @@
</div>
</el-dialog>
<el-dialog
custom-class=
'w350'
title=
"修改订单额外金额"
:visible
.
sync=
"OrderMoneyDialog"
center
>
<el-form
label-width=
"110px"
>
<el-form-item
label=
"额外奖励金额:"
class=
"w280"
>
<el-input
placeholder=
"请输入"
type=
"text"
@
keyup
.
native=
"checkPrice(EwMsg,'ExtraRewardMoney')"
v-model=
"EwMsg.ExtraRewardMoney"
>
</el-input>
</el-form-item>
<el-form-item
label=
"额外扣除金额:"
class=
"w280"
>
<el-input
placeholder=
"请输入"
type=
"number"
@
keyup
.
native=
"checkPrice(EwMsg,'ExtraDeductMoney')"
v-model=
"EwMsg.ExtraDeductMoney"
>
</el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"submitEWMsg"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"OrderMoneyDialog=false"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
<el-dialog
custom-class=
'passgenrDialog'
title=
"航班列表"
:visible
.
sync=
"outerVisible"
center
>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
...
...
@@ -2461,6 +2482,12 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
CommissionMinusRate
:
0
,
LatestCommissionMoney
:
''
},
OrderMoneyDialog
:
false
,
EwMsg
:{
OrderId
:
0
,
ExtraRewardMoney
:
''
,
ExtraDeductMoney
:
''
},
zhuanLoading
:
false
,
notUpdate
:
true
,
//是否显示操作按钮
...
...
@@ -3009,12 +3036,12 @@ submitYSZEForm(){
submitTCMsg
:
function
()
{
this
.
apipost
(
'sellorder_post_SetOrderCommission'
,
this
.
TCMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
s
uccess
(
res
.
data
.
message
)
this
.
S
uccess
(
res
.
data
.
message
)
this
.
getList
()
this
.
initTCMsg
()
this
.
TiChengLoading
=
false
}
else
{
this
.
$message
.
e
rror
(
res
.
data
.
message
);
this
.
E
rror
(
res
.
data
.
message
);
}
},
null
)
},
...
...
@@ -3026,6 +3053,18 @@ submitYSZEForm(){
LatestCommissionMoney
:
''
}
},
//设置额外金额
submitEWMsg
(){
this
.
apipost
(
'sellorder_post_SetOrderExtraMoney'
,
this
.
EwMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
getList
()
this
.
OrderMoneyDialog
=
false
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
)
},
goUrlSFD
:
function
(
path
,
name
,
item
)
{
let
obj
=
JSON
.
parse
(
JSON
.
stringify
(
item
))
obj
.
oP_Remarks
=
''
...
...
src/components/index.vue
View file @
9bd3c656
...
...
@@ -117,7 +117,7 @@
<i
class=
"iconfont icon-imessage_top"
:class=
"[hasNewMsg>0&&!IM_bodyIsShow?'animation red':'',IM_bodyIsShow?'red':'']"
@
click=
"IM_bodyIsShow=!IM_bodyIsShow"
></i>
<!--<i class="iconfont icon-imessage_top" @click="togglebox($event)"></i>-->
</li>
<li><i
class=
"iconfont icon-help_top
"
></i></li>
<li><i
class=
"iconfont icon-banbengengxin"
@
click=
"goUrlLog()
"
></i></li>
<li>
<el-dropdown
trigger=
"click"
>
<span
class=
"el-dropdown-link"
>
...
...
@@ -574,6 +574,18 @@
<div
style=
"width: 100%; height: 50px;"
></div>
</div>
</div>
<div
class=
"logsBack"
v-if=
"logsShow"
>
<div
class=
"updateLogs"
>
<img
src=
"../assets/img/logsImg.png"
alt=
""
class=
"logsImg"
/>
<div
class=
"logsTitle"
>
{{versionList[0].UpdateTitle}}版本更新
</div>
<div
class=
"inlogs_Content"
v-html=
"versionList[0].UpdateContent"
>
</div>
<input
type=
"button"
value=
"我知道了"
class=
"normalBtn"
style=
"margin:10px 0 0 155px;"
@
click=
"logsShow=false"
/>
</div>
</div>
<div
class=
"downmz"
v-show=
"downmz"
>
<div
class=
"top_1"
></div>
<div
style=
"text-align:center"
>
...
...
@@ -924,6 +936,9 @@ export default {
displayNone
:
true
,
dialogTitle
:
""
,
outerVisible
:
false
,
logsShow
:
false
,
newVersion
:
''
,
versionList
:[],
msg
:
{
ParentId
:
0
,
MenuStatus
:
""
,
...
...
@@ -1249,7 +1264,7 @@ export default {
msglist
()
{
let
msgs
=
this
.
$store
.
state
.
currSessionMsgs
;
return
msgs
;
}
}
,
},
mounted
()
{
let
that
=
this
;
...
...
@@ -1302,6 +1317,8 @@ export default {
this
.
allPartMsg
.
RB_Group_Id
=
this
.
deleteMsg
.
groupId
=
this
.
likeMsg
.
groupId
=
this
.
addDynamicMsg
.
rB_GroupId
=
this
.
dynamicMsg
.
groupId
=
UserInfo
.
RB_Group_id
;
this
.
addDynamicMsg
.
rB_BranchId
=
UserInfo
.
RB_Branch_id
;
//获取版本
this
.
getVersion
();
this
.
getMenu
();
this
.
setCheckMenu
();
...
...
@@ -1382,6 +1399,34 @@ export default {
}
},
methods
:
{
//获取版本号
getVersion
(){
let
msg
=
{
pageIndex
:
1
,
pageSize
:
5
}
this
.
apipost
(
"sysrecord_get_GetPageList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
versionList
=
res
.
data
.
data
.
pageData
;
if
(
this
.
versionList
.
length
>
0
){
let
oldVersion
=
localStorage
.
version
;
this
.
newVersion
=
this
.
versionList
[
0
].
UpdateTitle
;
if
(
this
.
newVersion
!=
oldVersion
){
this
.
logsShow
=
true
;
localStorage
.
version
=
this
.
newVersion
;
}
else
{
this
.
logsShow
=
false
;
}
}
else
{
this
.
logsShow
=
false
;
}
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
CloseZip
(){
this
.
mazip
=
1
;
localStorage
.
setItem
(
"mazip"
,
1
);
...
...
@@ -3010,6 +3055,9 @@ export default {
// this.$router.push({ path: url });
// }
},
goUrlLog
(){
this
.
$router
.
push
({
path
:
'systemLogs'
,
query
:{}
});
},
goUrlPayment
()
{
let
eid
=
this
.
getLocalStorage
().
EmployeeId
;
this
.
$router
.
push
({
path
:
'empBankAccount'
,
query
:
{
id
:
eid
,
type
:
10
,
blank
:
'y'
}
});
...
...
@@ -4017,4 +4065,50 @@ export default {
._more_dropdown._dropdown.el-dropdown-menu{
top: 50px !important;
}
.logsBack{
position: fixed;
z-index: 999;
background: rgba(0, 0, 0, 0.2);
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.updateLogs{
position: absolute;
width:400px;
height:400px;
left:50%;
top:50%;
margin-left:-200px;
margin-top:-200px;
border-radius: 4px;
border:1px solid #DCDCDC;
z-index: 9999;
background-color: #fff;
}
.logsTitle{
width:100%;
padding:0 10px;
text-align: center;
color:#333333;
font-size:12px;
margin-top:10px;
font-weight: bold;
}
.inlogs_Content{
width:100%;
padding:0 15px;
height:260px;
overflow: auto;
margin-top:20px;
color:#666666;
font-size:12px;
}
.logsImg{
margin-top:-30px;
margin-left:155px;
}
</
style
>
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
9bd3c656
...
...
@@ -328,7 +328,12 @@
cursor
:
default
!important
;
box-shadow
:
none
!important
;
}
.lessPriceRule
{
font-size
:
14px
;
margin-left
:
40px
;
text-decoration
:
underline
;
cursor
:
pointer
;
}
</
style
>
<
template
>
...
...
@@ -429,6 +434,9 @@
<el-checkbox
v-model=
"priceData.IsBookTeam"
:true-label=
"CheckedVaule"
v-if=
"PostConfig.LineId==14"
:false-label=
"UnCheckedVaule"
>
订团
</el-checkbox>
<el-checkbox
v-model=
"priceData.IsLessPrice"
:true-label=
"CheckedVaule"
:false-label=
"UnCheckedVaule"
>
可少价
</el-checkbox>
<input
type=
"button"
class=
"normalBtn"
value=
"酒店使用情况"
@
click=
"outerVisible=true"
v-if=
"PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0"
/>
</div>
<el-form-item
prop=
"B2BMemberPrice"
>
...
...
@@ -765,6 +773,9 @@
</el-form-item>
</div>
</div>
<div
class=
"TPright"
>
<span
v-if=
"priceData.IsLessPrice==1"
@
click=
"getLessPriceInfo(),lessPriceVisible=true"
class=
"lessPriceRule"
>
少价规则
</span>
</div>
</div>
</el-form>
</div>
...
...
@@ -807,6 +818,35 @@
<button
class=
"hollowFixedBtn"
:class=
"{'disClick':!isSaved}"
@
click=
"cancelHotelUseDetail()"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
<el-dialog
custom-class=
'Tp_hotelDialog'
title=
"少价规则"
:visible
.
sync=
"lessPriceVisible"
center
>
<table
class=
"TphotelTable"
border=
"0"
cellspacing=
'1'
v-if=
"lessPriceData.length>0"
>
<tr>
<th>
所有人
</th>
<th>
部门主管
</th>
<th>
分公司总经理
</th>
</tr>
<tr
v-for=
"item in lessPriceData"
>
<td>
<span
v-if=
"item.LessMoney!=null"
style=
"margin-right:30px;"
>
{{item.LessMoney}}元
</span><span
v-if=
"item.LessPercent!=null"
>
{{item.LessPercent}}%
</span>
</td>
<td>
<span
v-if=
"item.DeptLessMoney!=null"
style=
"margin-right:30px;"
>
{{item.DeptLessMoney}}元
</span><span
v-if=
"item.DeptLessPercent!=null"
>
{{item.DeptLessPercent}}%
</span>
</td>
<td>
<span
v-if=
"item.FilialeLessMoney!=null"
style=
"margin-right:30px;"
>
{{item.FilialeLessMoney}}元
</span><span
v-if=
"item.FilialeLessPercent!=null"
>
{{item.FilialeLessPercent}}%
</span>
</td>
</tr>
</table>
<div
class=
"noData"
v-else
>
{{$t('system.content_noData')}}
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"lessPriceVisible=false"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -896,7 +936,10 @@
let
startTime
=
new
Date
(
this
.
QFlightDateStart
);
return
startTime
.
getTime
()
>=
time
.
getTime
();
}
}
},
//少价规则
lessPriceVisible
:
false
,
lessPriceData
:[],
};
},
methods
:
{
...
...
@@ -999,6 +1042,8 @@
CanSellTicketNum
:
2
,
//是否订团,0-不订,1需要订
IsBookTeam
:
0
,
//少价,0-不少价,1少价
IsLessPrice
:
0
,
//是否重新生成行程数据
IsNew
:
false
,
//选中的酒店数组
...
...
@@ -1516,6 +1561,24 @@
err
=>
{}
);
}
},
//获取少价信息
getLessPriceInfo
(){
let
msg
=
{
RB_Branch_id
:
this
.
priceData
.
OutBranchId
,
LineID
:
this
.
PostConfig
.
LineId
,
LineTeamId
:
this
.
PostConfig
.
LineteamId
}
this
.
apipost
(
"sell_get_GetNewTCIDLessprice"
,
msg
,
res
=>
{
console
.
log
(
res
,
'res'
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
lessPriceData
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
},
mounted
()
{
...
...
@@ -1557,6 +1620,7 @@
this
.
DateArr
.
push
(
x
.
StartDate
);
});
this
.
initCalendar
();
console
.
log
(
this
.
priceData
,
'pricedate'
);
},
deep
:
true
},
...
...
src/router/config.js
View file @
9bd3c656
...
...
@@ -2389,6 +2389,14 @@ export default {
title
:
'应收应付查询'
},
},
{
//财务 财务单据 原路退款查询
path
:
'/refundQuery'
,
name
:
'refundQuery'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/refundQuery'
],
resolve
),
meta
:
{
title
:
'原路退款查询'
},
},
{
//财务 财务单据 出纳工作台
path
:
'/CashierWork'
,
name
:
'CashierWork'
,
...
...
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