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
51792c5c
Commit
51792c5c
authored
Sep 26, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
ce94c200
ece9ce08
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
252 additions
and
74 deletions
+252
-74
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+65
-19
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+187
-55
No files found.
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
51792c5c
...
...
@@ -933,9 +933,9 @@
.GO_Contract
{
color
:
blue
;
display
:
block
;
display
:
inline-
block
;
cursor
:
pointer
;
ma
x-width
:
20
0px
;
ma
rgin-right
:
2
0px
;
}
.RegistrationList
.leftSetInfo
,
.RegistrationList
.GO_TPright
{
float
:
left
;
...
...
@@ -1880,6 +1880,7 @@
@
click=
'EwMsg.OrderId = item.OrderId, EwMsg.ExtraRewardMoney = item.ExtraRewardMoney,EwMsg.ExtraDeductMoney=item.ExtraDeductMoney, OrderMoneyDialog = true'
>
设置额外金额
</div>
<div
@
click=
"SetShouSunClick(item.OrderId,item.GuestNum)"
>
设置收损金额
</div>
<div
@
click=
"ZhuiJiaTuanKuan(item.OrderId)"
v-if=
"RBBranchId == 0"
>
追加团款
</div>
<div
@
click=
'deleteItem(item)'
>
删除
</div>
</div>
...
...
@@ -1911,8 +1912,16 @@
<!-- <span>暂无名单</span>-->
<!-- </p>-->
<span>
房间信息:{{item.OrderGuestHouseStr}}
</span>
<span
v-if=
"item.ContractNum==''"
class=
"GO_Contract"
@
click=
"goContract(item)"
>
领取合同
</span>
<span
v-else
class=
"GO_Contract"
@
click=
"goContract(item)"
>
{{item.ContractNum}}
</span>
<div
v-if=
"item.ContractNum.length==0"
>
<span
class=
"GO_Contract"
@
click=
"goContract(item,{})"
>
领取合同
</span>
</div>
<div
v-else
>
<span
v-for=
"sItem in item.ContractNum"
class=
"GO_Contract"
@
click=
"goContract(item,sItem)"
>
{{sItem.Client_Name+''+sItem.ContractNum}}
</span>
</div>
<!-- <span v-if="item.ContractNum==''" class="GO_Contract" @click="goContract(item)">领取合同</span>
<span v-else class="GO_Contract" @click="goContract(item)">{{item.ContractNum}}</span> -->
</td>
</tr>
<tr>
...
...
@@ -2182,6 +2191,7 @@
@
click=
'EwMsg.OrderId = childItem.OrderId, EwMsg.ExtraRewardMoney = childItem.ExtraRewardMoney,EwMsg.ExtraDeductMoney=childItem.ExtraDeductMoney, OrderMoneyDialog = true'
>
设置额外金额
</div>
<div
@
click=
"SetShouSunClick(childItem.OrderId, childItem.GuestNum)"
>
设置收损金额
</div>
<div
v-if=
"childItem.IsChargeLossOrders==1"
@
click=
"setChargeLoss(childItem)"
>
恢复收损单
</div>
<div
@
click=
"lianyunFY(childItem)"
>
联运返佣
</div>
<div
@
click=
"ZhuiJiaTuanKuan(childItem.OrderId)"
v-if=
"RBBranchId == 0"
>
追加团款
</div>
<div
@
click=
"importNameOrder(childItem.OrderId)"
v-if=
"OrderDataList.OtherOrderList.length == 1 && subItem.List.length == 1"
>
导入旅客名单
</div>
...
...
@@ -2246,8 +2256,14 @@
style=
"text-decoration:underline;color:blue;cursor:pointer"
v-for=
"(id,i) in childItem.TipFrId"
:key=
"i"
>
{{
id
}}
</span>
</span>
<span
v-if=
"childItem.ContractNum==''"
class=
"GO_Contract"
@
click=
"goContract(childItem)"
>
领取合同
</span>
<span
v-else
class=
"GO_Contract"
@
click=
"goContract(childItem)"
>
{{
childItem
.
ContractNum
}}
</span>
<div
v-if=
"childItem.ContractNum.length==0"
>
<span
class=
"GO_Contract"
@
click=
"goContract(childItem,
{})">领取合同
</span>
</div>
<div
v-else
>
<span
v-for=
"sItem in childItem.ContractNum"
class=
"GO_Contract"
@
click=
"goContract(childItem,sItem)"
>
{{
sItem
.
Client_Name
+
''
+
sItem
.
ContractNum
}}
</span>
</div>
</div>
</td>
</tr>
...
...
@@ -2554,6 +2570,8 @@
@
click=
'EwMsg.OrderId = item.OrderId, EwMsg.ExtraRewardMoney = item.ExtraRewardMoney,EwMsg.ExtraDeductMoney=item.ExtraDeductMoney, OrderMoneyDialog = true'
>
设置额外金额
</div>
<div
@
click=
"SetShouSunClick(item.OrderId, item.GuestNum)"
>
设置收损金额
</div>
<div
@
click=
"ZhuiJiaTuanKuan(item.OrderId)"
v-if=
"RBBranchId == 0"
>
追加团款
</div>
<div
@
click=
"importNameOrder(item.OrderId)"
>
导入旅客名单
</div>
<div
v-if=
"item.OrderState=='2'||item.OrderState=='3'"
@
click=
'deleteItem(item)'
>
删除
</div>
...
...
@@ -3426,6 +3444,33 @@
commonShouSun
:
commonShouSun
},
methods
:
{
setChargeLoss
(
obj
){
console
.
log
(
"obj"
,
obj
)
this
.
$confirm
(
"确定恢复收损单"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
apipost
(
"sellorder_post_RemoveChargeLossOrders"
,
{
OrderId
:
obj
.
OrderId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
"操作成功!"
);
this
.
getList
();
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
})
.
catch
(()
=>
{
this
.
$message
.
info
(
"取消!"
);
});
},
//上传
handleAvatarSuccess
(
res
,
file
)
{
if
(
res
.
resultCode
==
1
)
{
...
...
@@ -5305,28 +5350,29 @@
},
//跳转至领取合同
goContract
(
item
)
{
if
(
item
.
ContractNum
)
{
let
routeData
=
this
.
$router
.
resolve
({
name
:
'TravelContractDetail'
,
query
:
{
TCID
:
item
.
TCID
,
orderID
:
item
.
OrderId
,
blank
:
'y'
}
})
window
.
open
(
routeData
.
href
,
'_blank'
)
}
else
{
goContract
(
item
,
sItem
)
{
//
if (item.ContractNum) {
//
let routeData = this.$router.resolve({
//
name: 'TravelContractDetail',
//
query: {
//
TCID: item.TCID,
//
orderID: item.OrderId,
//
blank: 'y'
//
}
//
})
//
window.open(routeData.href, '_blank')
//
} else {
let
routeData
=
this
.
$router
.
resolve
({
name
:
'TravelContractNew'
,
query
:
{
TCID
:
item
.
TCID
,
guestId
:
sItem
.
GuestId
,
orderID
:
item
.
OrderId
,
blank
:
'y'
}
})
window
.
open
(
routeData
.
href
,
'_blank'
)
}
//
}
},
Discount
(
TCID
)
{
this
.
SpecialOffer
=
true
...
...
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
51792c5c
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