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
6930bb6e
Commit
6930bb6e
authored
Jul 24, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改跟团游订单
parent
6b5245e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
171 additions
and
20 deletions
+171
-20
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+171
-20
No files found.
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
6930bb6e
...
...
@@ -790,6 +790,77 @@
margin
:
5px
;
text-align
:
center
;
}
.groupts
.leftSetInfo
,
.groupts
.GO_TPright
{
float
:
left
;
}
._TravelPricePopover
.GOScenicDiv
{
width
:
500px
;
max-height
:
400px
;
overflow
:
auto
;
}
._TravelPricePopover
table
{
padding
:
10px
0
0
20px
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;
margin
:
0
20px
5px
0
;
width
:
100%
;
}
._TravelPricePopover
table
._color_666
{
background-color
:
#ededed
;
color
:
#666666
;
padding
:
5px
;
}
._TravelPricePopover
table
td
{
background-color
:
#ffffff
;
padding
:
9px
0
;
color
:
#333333
;
text-align
:
center
;
border
:
1px
solid
#d2d2d2
;
}
._TravelPricePopover
table
td
._d_name
{
background-color
:
#ededed
;
}
.groupts
.GO_Title
{
display
:
inline-block
;
margin-top
:
10px
;
padding-right
:
10px
;
font-size
:
12px
;
width
:
90px
;
text-align
:
right
;
}
.groupts
.SimulateDrop-box
{
width
:
230px
;
min-height
:
34px
;
position
:
relative
;
padding
:
5px
21px
5px
6px
;
float
:
left
;
margin-top
:
4px
;
border
:
1px
solid
#d1d1d1
;
}
.groupts
.GO_SimulaDrop
{
position
:
absolute
;
right
:
10px
;
top
:
5px
;
color
:
#d1d1d1
;
}
.groupts
.SD_flight
{
display
:
inline-block
;
height
:
24px
;
margin
:
0
3px
3px
0
;
overflow
:
hidden
;
max-width
:
200px
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
font-size
:
12px
;
padding
:
0
8px
;
line-height
:
22px
;
background-color
:
#f0f2f5
;
}
</
style
>
...
...
@@ -1398,18 +1469,60 @@
<el-input v-model='addMsg.AirticketNum' @keyup.native="checkInteger(addMsg,'AirticketNum')" @input='getTotalPrice();getHouseNo()'></el-input>
</el-form-item>-->
</el-col>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"可退景点"
>
<el-col
:span=
"
8
"
>
<
!-- <
el-form-item label="可退景点">
<el-select filterable multiple class='multiple_input' v-model='addMsg.ScenicRefundArr'
:placeholder="$t('pub.pleaseSel')" @change='ScenicRefundMethods'>
<el-option v-for='item in ScenicRefundList' :label='item.ScenicName' :value='item.Id'
:key='item.ScenicName'>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
</el-form-item> -->
<div
class=
"clearfix"
>
<div
class=
"leftSetInfo"
>
<span
class=
"GO_Title"
>
可退景点
</span>
</div>
<div
class=
"GO_TPright clearfix"
>
<el-popover
popper-class=
"_TravelPricePopover"
trigger=
"click"
>
<div>
<div
class=
"GOScenicDiv"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
class=
"_color_666"
>
选择
</td>
<td
class=
"_color_666"
>
景点名称
</td>
<td
class=
"_color_666"
>
OP设置金额
</td>
<td
class=
"_color_666"
>
人数
</td>
<td
class=
"_color_666"
>
退款金额
</td>
</tr>
<tr
v-for=
"item in ScenicRefundList"
>
<td>
<el-checkbox
:checked=
"item.IsChecked"
@
change=
"getGOScenic(item)"
></el-checkbox>
</td>
<td>
{{item.CouponsName}}
</td>
<td>
{{item.RefundMoney}}
</td>
<td>
<el-input
class=
"w80"
@
keyup
.
native=
"checkInteger(item,'Number')"
v-model=
"item.Number"
></el-input>
</td>
<td>
<el-input
class=
"w80"
@
keyup
.
native=
"checkPrice(item,'BackMoney')"
v-model=
"item.BackMoney"
></el-input>
</td>
</tr>
</table>
</div>
</div>
<div
slot=
"reference"
class=
"SimulateDrop-box"
>
<span
class=
"SD_flight"
v-for=
"subItem in SciencNameList"
>
{{subItem}}
</span>
<i
class=
"iconfont icon-arrow-down GO_SimulaDrop"
></i>
</div>
</el-popover>
</div>
</div>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
...
...
@@ -1900,10 +2013,15 @@
@
click=
'getDetail(item)'
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改备注"
placement=
"top-start"
>
<el-button
<
!-- <
el-button
v-if="(userId==1||userId==5)|| ( item.isOwn==1 ||item.isHaveFinance=='1'||item.orderState=='1')"
type="primary" style='background:#a55eea; border-color:#a55eea' icon="iconfont icon-beizhu"
@click='getRemarks(item)'></el-button> -->
<el-button
v-if=
"(userId==1||userId==5)|| item.isOwn==1"
type=
"primary"
style=
'background:#a55eea; border-color:#a55eea'
icon=
"iconfont icon-beizhu"
@
click=
'getRemarks(item)'
></el-button>
</el-tooltip>
<el-tooltip
effect=
"dark"
content=
"日志"
placement=
"top-start"
style=
"float:left"
>
<el-popover
width=
'230'
trigger=
"click"
>
...
...
@@ -2667,6 +2785,8 @@
RefuseVisaNum
:
'0'
,
AirticketNum
:
"0"
,
ScenicRefundArr
:
[],
//景点新数组
OrderBackScenicList
:[],
GoCityTime
:
""
,
BackCityTime
:
""
,
CommissionSharePeople
:
"-1"
,
...
...
@@ -2890,8 +3010,7 @@
tcnum
:
''
,
isOrder
:
''
,
},
SciencNameList
:[]
};
},
components
:
{
...
...
@@ -3377,24 +3496,52 @@
this
.
getTotalPrice
();
this
.
getTicheng
();
},
getScenicRefund
(
TCID
)
{
getScenicRefund
(
TCID
,
OrderId
)
{
console
.
log
(
TCID
,
'TCID'
);
console
.
log
(
OrderId
,
'OrderId'
);
this
.
OrderId
=
OrderId
;
this
.
ScenicRefundList
=
[];
let
msg
=
{
TCID
:
TCID
,
OrderId
:
OrderId
}
this
.
apipost
(
"sellorder_get_GetScenicRefundList"
,
{
TCID
},
"sellorder_get_GetScenicRefundList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
,
'resss'
);
this
.
ScenicRefundList
=
res
.
data
.
data
;
this
.
ScenicRefundList
.
forEach
(
item
=>
{
item
[
"ScenicName"
]
=
item
.
CouponsName
+
" -¥"
+
this
.
moneyFormat
(
item
.
RefundMoney
);
});
this
.
ScenicRefundMethods
();
this
.
getGOScenictWO
();
}
},
err
=>
{}
);
},
//勾选景点
getGOScenic
(
item
){
item
.
IsChecked
=!
item
.
IsChecked
;
this
.
getGOScenictWO
();
},
//勾选
getGOScenictWO
(){
this
.
addMsg
.
OrderBackScenicList
=
[];
this
.
SciencNameList
=
[];
this
.
ScenicRefundList
.
forEach
(
x
=>
{
if
(
x
.
IsChecked
){
let
obj
=
{
CouponsId
:
x
.
CouponsId
,
IsChecked
:
x
.
IsChecked
,
BackMoney
:
x
.
BackMoney
,
Number
:
x
.
Number
}
this
.
SciencNameList
.
push
(
x
.
CouponsName
);
this
.
addMsg
.
OrderBackScenicList
.
push
(
obj
);
}
})
console
.
log
(
this
.
SciencNameList
,
'SciencNameList'
);
console
.
log
(
this
.
addMsg
.
OrderBackScenicList
,
'ScenicRefundList'
);
},
platformOrderMethods
()
{
if
(
this
.
addMsg
.
PlatformOrder
==
""
)
{
this
.
addMsg
.
MinOrderPrice
=
0
;
...
...
@@ -3453,6 +3600,7 @@
},
// 点击修改
getDetail
(
obj
)
{
console
.
log
(
obj
,
'objjjj'
);
this
.
goLVurl
.
orderId
=
obj
.
orderId
;
this
.
goLVurl
.
tcid
=
obj
.
tcid
;
this
.
goLVurl
.
tcnum
=
obj
.
tcnum
;
...
...
@@ -3479,7 +3627,8 @@
this
.
addObj
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
this
.
addMsg
.
OneSex
=
x
.
OneSex
;
this
.
addMsg
.
ScenicRefundArr
=
res
.
data
.
data
.
ScenicRefundArr
;
this
.
getScenicRefund
(
obj
.
tcid
);
this
.
addMsg
.
OrderBackScenicList
=
[];
this
.
getScenicRefund
(
obj
.
tcid
,
obj
.
orderId
);
this
.
getPlatformAccount
(
obj
.
platformAccountTypeId
,
obj
.
platformAccount
);
this
.
SetOutCityId
=
res
.
data
.
data
.
SetOutCityId
;
this
.
reOutCityId
=
res
.
data
.
data
.
SetBackCityId
;
...
...
@@ -3497,6 +3646,7 @@
this
.
addMsg
.
RefuseVisaNum
=
x
.
RefuseVisaNum
.
toString
();
this
.
addMsg
.
OrderForm
=
x
.
OrderForm
this
.
addMsg
.
allName
=
x
.
ContactName
// this.addMsg_form.OrderId=x.OrderId;
// this.addMsg_form.OpSetLossMoney=x.OpSetLossMoney;//收损金额
// this.addMsg_form.BabyChargePrice=modelPrice.BabyChargePrice;//小孩附加费
...
...
@@ -3622,7 +3772,7 @@
let
x
=
res
.
data
.
data
.
model
;
this
.
addMsg
=
x
;
this
.
addMsg
.
ScenicRefundArr
=
res
.
data
.
data
.
ScenicRefundArr
;
this
.
getScenicRefund
(
obj
.
tcid
);
this
.
getScenicRefund
(
obj
.
tcid
,
obj
.
orderId
);
this
.
SetOutCityId
=
res
.
data
.
data
.
SetOutCityId
;
this
.
reOutCityId
=
res
.
data
.
data
.
SetBackCityId
;
this
.
addMsg
.
CustomerType
=
x
.
CustomerType
.
toString
();
...
...
@@ -4247,6 +4397,7 @@
Number
(
this
.
addMsg
.
AirticketNum
);
this
.
addMsg
.
IsChildrenTour
=
this
.
IsChildrenTour
;
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
;
this
.
getGOScenictWO
();
this
.
apipost
(
"sellorder_post_SetOrderInfo_02"
,
this
.
addMsg
,
...
...
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