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
1931db83
Commit
1931db83
authored
Oct 09, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改酒店散卖订单
parent
3476c991
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
9 deletions
+71
-9
HotelOrderTotal.vue
src/components/TravelManager/TravelList/HotelOrderTotal.vue
+71
-9
No files found.
src/components/TravelManager/TravelList/HotelOrderTotal.vue
View file @
1931db83
...
...
@@ -141,7 +141,9 @@
text-decoration
:
underline
;
cursor
:
pointer
;
}
.SalesHotelOrder
.el-button-group
.el-button
{
padding
:
5px
;
}
</
style
>
<
template
>
...
...
@@ -295,23 +297,25 @@
<table
class=
"SalesHotelOrderTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th>
订单号
</th>
<th>
第三方订单号
</th>
<th>
团号
</th>
<th
width=
"50"
>
订单号
</th>
<th
width=
"95"
>
第三方订单号
</th>
<th
width=
"190"
>
团号
</th>
<th>
房间数
</th>
<th>
总额
</th>
<th>
实收
</th>
<th>
大红包
</th>
<th>
优惠金额
</th>
<th>
待收金额
</th>
<th>
日元(含税/不含税)
</th>
<th>
日元成本价
</th>
<th>
订单状态
</th>
<th>
创建时间
</th>
<th>
入住/离店时间
</th>
<th>
取消费用
</th>
<th>
客户信息
</th>
<th
width=
"220"
>
客户信息
</th>
<th>
创建人
</th>
<th>
结束时间
</th>
<th>
操作
</th>
<th
width=
"180"
>
操作
</th>
</tr>
<tbody
v-for=
"(item,index) in dataList"
>
<tr>
...
...
@@ -324,6 +328,8 @@
<td>
{{
item
.
RedEnvelopeMoney
}}
</td>
<td>
{{
item
.
DiscountMoney
}}
</td>
<td>
{{
item
.
DueinMoney
}}
</td>
<td>
{{
item
.
UpdateJapanese
}}
/
{{
item
.
totalChargeableRateInfoTaxOut
}}
</td>
<td>
{{
item
.
UpdateJapanese
-
(
item
.
totalChargeableRateInfoTaxOut
*
0.04
)
}}
</td>
<td>
<span
:class=
"item.OrderStatus=='已取消'?'color_red_order':''"
>
{{
item
.
OrderStatus
}}
</span>
</td>
...
...
@@ -354,6 +360,9 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top-start"
>
<el-button
type=
"success"
icon=
"iconfont icon-sousuo"
@
click=
"goOrderDetails(item.OrderID)"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"EmployeeId==380||EmployeeId==46||EmployeeId==1||EmployeeId==5"
class=
"item"
effect=
"dark"
content=
"修改成本价"
placement=
"top-start"
>
<el-button
type=
"success"
icon=
"iconfont icon-Edit"
@
click=
"getThisMsg(item)"
></el-button>
</el-tooltip>
</el-button-group>
</el-row>
</td>
...
...
@@ -369,7 +378,7 @@
</div>
</div>
</td>
<td
colspan=
"
9
"
style=
"text-align:left;width:600px"
>
<td
colspan=
"
10
"
style=
"text-align:left;width:600px"
>
<div
class=
"SH_OrderDan"
>
<div>
收款单据:
</div>
<div>
...
...
@@ -429,6 +438,23 @@
<button
class=
"normalBtn"
type=
"primary"
@
click=
"querenGL"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</el-dialog>
<el-dialog
title=
"修改价格"
width=
"400px"
:visible
.
sync=
"updatePriceDialog"
center
:before-close=
"closeChangeMachie"
>
<el-form
label-width=
"110px"
>
<el-form-item
label=
"日元含税价"
>
<el-input
type=
"text"
v-model=
"updateMsg.UpdateJapanesePrice"
@
keyup
.
native=
"checkPrice(updateMsg,'UpdateJapanesePrice')"
></el-input>
</el-form-item>
<el-form-item
label=
"日元不含税价"
>
<el-input
type=
"text"
v-model=
"updateMsg.totalChargeableRateInfoTaxOut"
@
keyup
.
native=
"checkPrice(updateMsg,'totalChargeableRateInfoTaxOut')"
></el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"updatePriceDialog=false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"querenPrice"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</el-dialog>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
</el-pagination>
...
...
@@ -456,6 +482,14 @@ export default {
total
:
0
,
currentPage
:
1
,
loading
:
false
,
updateMsg
:{
OrderID
:
''
,
//日元含税价
UpdateJapanesePrice
:
0
,
//日元不含税价
totalChargeableRateInfoTaxOut
:
0
},
updatePriceDialog
:
false
,
StartTimeBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
msg
.
EndTime
==
null
)
{
...
...
@@ -529,6 +563,8 @@ export default {
searchList
:
[],
loading2
:
false
,
dialogFormVisible
:
false
,
//员工ID
EmployeeId
:
''
};
},
methods
:
{
...
...
@@ -551,6 +587,33 @@ export default {
}
},
err
=>
{});
},
//获取当前信息
getThisMsg
(
item
){
this
.
updatePriceDialog
=
true
;
this
.
updateMsg
.
OrderID
=
item
.
OrderID
;
this
.
updateMsg
.
UpdateJapanesePrice
=
item
.
UpdateJapanese
;
this
.
updateMsg
.
totalChargeableRateInfoTaxOut
=
item
.
totalChargeableRateInfoTaxOut
;
},
//修改成本价
querenPrice
(){
this
.
$confirm
(
'是否确认修改?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apipost
(
'sellorder_post_UpdateUpdateJapaneseOrder'
,
this
.
updateMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"修改成功"
);
this
.
updatePriceDialog
=
false
;
this
.
getList
()
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{})
}).
catch
(()
=>
{
this
.
Error
(
'已取消修改'
);
});
},
closeChangeMachie
(
done
)
{
// 弹=窗口关闭
done
();
},
...
...
@@ -610,7 +673,6 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
console
.
log
(
this
.
dataList
,
'datalist'
);
let
userInfo
=
this
.
getLocalStorage
();
let
EmployeeId
=
userInfo
.
EmployeeId
;
this
.
dataList
.
forEach
(
x
=>
{
...
...
@@ -730,7 +792,7 @@ export default {
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
this
.
getDepartmentMsg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
//公司
this
.
EmployeeId
=
userInfo
.
EmployeeId
//员工
this
.
getCompanyList
()
this
.
getDepartment
()
this
.
getEmployee
()
...
...
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