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
4cbcf18a
Commit
4cbcf18a
authored
Jun 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联运返佣
parent
7039fb71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
44 deletions
+43
-44
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+43
-44
No files found.
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
4cbcf18a
...
@@ -1734,7 +1734,10 @@
...
@@ -1734,7 +1734,10 @@
<tbody
v-for=
"(childItem,childIndex) in subItem.List"
>
<tbody
v-for=
"(childItem,childIndex) in subItem.List"
>
<tr>
<tr>
<td
rowspan=
"3"
style=
"position:relative;"
>
<td
rowspan=
"3"
style=
"position:relative;"
>
<div
v-if=
"childItem.IsReturnIntermodal==1 || childItem.IsIntermodal==1"
class=
"order_union"
>
联
</div>
<div
class=
"order_union"
>
<div
v-if=
"childItem.IsReturnIntermodal==1 || childItem.IsIntermodal==1"
class=
"fl"
>
联
</div>
<div
v-if=
"childItem.IsBackUnionMoney==1"
class=
"fl"
>
不返佣
</div>
</div>
<p
v-if=
"childItem.IsChargeLossOrders==1"
style=
"color:red"
>
损
</p>
<p
v-if=
"childItem.IsChargeLossOrders==1"
style=
"color:red"
>
损
</p>
<div
class=
"fbold over_ellipsis"
style=
"width: 120px;cursor:pointer;"
:title=
"childItem.OrderId"
>
<div
class=
"fbold over_ellipsis"
style=
"width: 120px;cursor:pointer;"
:title=
"childItem.OrderId"
>
{{
childItem
.
OrderId
}}
{{
childItem
.
OrderId
}}
...
@@ -1931,7 +1934,7 @@
...
@@ -1931,7 +1934,7 @@
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
<div
v-if=
"OrderDataList.IsUpdateOrderCommission"
@
click=
'EwMsg.OrderId = childItem.OrderId, EwMsg.ExtraRewardMoney = childItem.ExtraRewardMoney,EwMsg.ExtraDeductMoney=childItem.ExtraDeductMoney, OrderMoneyDialog = true'
>
@
click=
'EwMsg.OrderId = childItem.OrderId, EwMsg.ExtraRewardMoney = childItem.ExtraRewardMoney,EwMsg.ExtraDeductMoney=childItem.ExtraDeductMoney, OrderMoneyDialog = true'
>
设置额外金额
</div>
设置额外金额
</div>
<div
@
click=
"lianyunFY(childItem)"
>
联运返佣
</div>
<div
v-if=
"childItem.OrderState=='1'||childItem.OrderState=='2'||childItem.OrderState=='3'"
<div
v-if=
"childItem.OrderState=='1'||childItem.OrderState=='2'||childItem.OrderState=='3'"
@
click=
'deleteItem(childItem)'
>
@
click=
'deleteItem(childItem)'
>
删除
删除
...
@@ -2478,7 +2481,19 @@
...
@@ -2478,7 +2481,19 @@
<button
class=
"hollowFixedBtn"
@
click=
"OrderLoading=false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"OrderLoading=false"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 联运返佣弹窗 -->
<el-dialog
custom-class=
'w350'
title=
"联运返佣"
:visible
.
sync=
"FyongLoading"
center
>
<!--zhaunMsg.TCNUM-->
<el-form
label-width=
"110px"
>
<el-form-item
label=
"是否返佣:"
class=
"w280"
>
<el-switch
v-model=
"IsBackStatus"
:active-value=
"0"
:inactive-value=
"1"
></el-switch>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"FyongLossOk"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"FyongLoading=false"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
<el-dialog
custom-class=
'w350'
title=
"修改OP备注"
:visible
.
sync=
"zhuanLoading"
center
:before-close=
"initOPRemarkMsg"
>
<el-dialog
custom-class=
'w350'
title=
"修改OP备注"
:visible
.
sync=
"zhuanLoading"
center
:before-close=
"initOPRemarkMsg"
>
<!--zhaunMsg.TCNUM-->
<!--zhaunMsg.TCNUM-->
<el-form
label-width=
"110px"
>
<el-form
label-width=
"110px"
>
...
@@ -2784,6 +2799,7 @@
...
@@ -2784,6 +2799,7 @@
CreateBy
:
0
,
CreateBy
:
0
,
RefuseVisaNum
:
0
,
//拒签人数
RefuseVisaNum
:
0
,
//拒签人数
},
},
lianyunFYId
:
0
,
//行程下载使用
//行程下载使用
travelControlTripLayerShow
:
false
,
travelControlTripLayerShow
:
false
,
tripObj
:
{
tripObj
:
{
...
@@ -2856,6 +2872,7 @@
...
@@ -2856,6 +2872,7 @@
message
:
"请选择客户门店"
,
message
:
"请选择客户门店"
,
trigger
:
"change"
trigger
:
"change"
}],
}],
FyongLoading
:
false
,
// DepartureCityId: [
// DepartureCityId: [
// { required: true, message: "请选择出发城市", trigger: "change" }
// { required: true, message: "请选择出发城市", trigger: "change" }
// ],
// ],
...
@@ -3046,6 +3063,7 @@
...
@@ -3046,6 +3063,7 @@
OrderUnitPrice
:
0
OrderUnitPrice
:
0
},
},
SuperiorPeople
:
[],
SuperiorPeople
:
[],
IsBackStatus
:
1
};
};
},
},
components
:
{
components
:
{
...
@@ -3053,6 +3071,27 @@
...
@@ -3053,6 +3071,27 @@
updateSalesMan
:
updateSalesMan
updateSalesMan
:
updateSalesMan
},
},
methods
:
{
methods
:
{
FyongLossOk
:
function
()
{
let
msg
=
{
OrderId
:
this
.
lianyunFYId
,
IsBackStatus
:
this
.
IsBackStatus
}
this
.
apipost
(
'sellorder_post_SetOrderUnionBackMoney'
,
msg
,
res
=>
{
console
.
log
(
res
)
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
getList
()
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
null
)
},
lianyunFY
:
function
(
item
)
{
console
.
log
(
item
)
this
.
FyongLoading
=
true
this
.
IsBackStatus
=
item
.
IsBackUnionMoney
this
.
lianyunFYId
=
item
.
OrderId
},
goIisDetail
:
function
(
id
)
{
// 跳转发票详情页面
goIisDetail
:
function
(
id
)
{
// 跳转发票详情页面
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'invoicesManagerDetail'
,
name
:
'invoicesManagerDetail'
,
...
@@ -3165,7 +3204,7 @@
...
@@ -3165,7 +3204,7 @@
this
.
Unit_PriceList
=
[];
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
obj
.
TCID
,
"TCID"
:
obj
.
TCID
,
"MaxPeopleNum"
:
m
axPeopleNum
"MaxPeopleNum"
:
M
axPeopleNum
},
res
=>
{
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
...
@@ -3807,7 +3846,6 @@
...
@@ -3807,7 +3846,6 @@
}
else
{
}
else
{
this
.
addMsg
.
PreferPrice
=
Number
(
this
.
addMsg
.
YSeatNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
OpSetLossMoney
;
this
.
addMsg
.
PreferPrice
=
Number
(
this
.
addMsg
.
YSeatNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
OpSetLossMoney
;
}
}
this
.
getlessPrice
();
this
.
getTicheng
();
this
.
getTicheng
();
},
},
yzBigBed2
()
{
yzBigBed2
()
{
...
@@ -4771,45 +4809,6 @@
...
@@ -4771,45 +4809,6 @@
// }
// }
// },
// },
// err => {})
// err => {})
},
getlessPrice
(){
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
))
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addMsg
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
TC_Price
-
i
*
10
;
obj
.
LessMoney
=
this
.
addMsg
.
TC_Price
-
i
*
10
;
this
.
Unit_PriceList
.
push
(
obj
);
}
if
(
this
.
Unit_PriceList
.
findIndex
(
markers
=>
markers
.
ID
==
this
.
addMsg
.
Unit_Price
)
<
0
)
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
}
}
else
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
}
},
err
=>
{})
}
}
},
},
mounted
()
{
mounted
()
{
...
...
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