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
6cef32ef
Commit
6cef32ef
authored
Jun 26, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b2fe8589
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
20 deletions
+74
-20
BusInfo.vue
src/components/busManagement/BusInfo.vue
+1
-1
commonHotelInfo.vue
src/components/commonPage/commonHotelInfo.vue
+52
-17
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+21
-2
No files found.
src/components/busManagement/BusInfo.vue
View file @
6cef32ef
...
...
@@ -378,7 +378,7 @@
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.CostPrice"
@
keyup
.
native=
"checkPrice(subItem,'CostPrice')"
placeholder=
"请输入成本价"
:disabled=
"isShowBtn==1?true:false"
class=
"w135"
></el-input>
placeholder=
"请输入成本价"
class=
"w135"
></el-input>
</div>
</
template
>
</el-table-column>
...
...
src/components/commonPage/commonHotelInfo.vue
View file @
6cef32ef
...
...
@@ -54,45 +54,80 @@
</
template
>
</td>
<td
v-if=
"showHotelObj.showZhan"
>
{{hotelSubItem.SureTimeStr}}
{{hotelSubItem.SureTimeStr}}
</td>
</tr>
</template>
<tfoot
v-if=
"showHotelObj.showBtnList"
>
<tr>
<td
colspan=
"8"
style=
"padding:10px 0"
>
<input
type=
"button"
class=
"normalBtn"
value=
"确定"
style=
"display:none;"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"暂定"
style=
"display:none;"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
@
click=
"DownLoadShouPeiShu()"
/>
</td>
</tr>
</tfoot>
<
template
v-if=
"HotelObj&&HotelObj.length>0"
>
<tfoot>
<tr
style=
"display:none;"
>
<td>
开团时间:
</td>
<td>
{{
HotelObj
[
0
].
PriceCreateDateStr
}}
</td>
<td>
吃房时间:
</td>
<td>
{{
HotelObj
[
0
].
UseHotelTimeStr
}}
</td>
<td>
操作时间:
</td>
<td>
{{
HotelObj
[
0
].
DMCNumCreateTimeStr
}}
</td>
<td>
操作时间:
</td>
<td>
{{
HotelObj
[
0
].
ShouPeiStatusTimeStr
}}
</td>
</tr>
<template
v-if=
"showHotelObj.showBtnList"
>
<tr>
<td
colspan=
"8"
style=
"padding:10px 0"
>
<input
type=
"button"
class=
"normalBtn"
:value=
"HotelObj[0].ShouPeiStatus==0?'手配书(确定)':'手配书(暂定)'"
v-if=
"showHotelObj.ShowShouPeiStatus"
@
click=
"subSetShouPeiShu(HotelObj[0].ShouPeiStatus)"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
@
click=
"DownLoadShouPeiShu()"
/>
</td>
</tr>
</
template
>
</tfoot>
</template>
</table>
</template>
<
script
>
export
default
{
props
:
[
"HotelObj"
,
"showHotelObj"
,
"TCID"
,
"DMCNum"
,
"TCNUM"
],
props
:
[
"HotelObj"
,
"showHotelObj"
,
"TCID"
,
"DMCNum"
,
"TCNUM"
],
data
()
{
return
{
loading
:
false
,
loading
:
false
,
};
},
methods
:
{
DownLoadShouPeiShu
()
{
this
.
loading
=
true
;
let
qMsg
=
{
TCID
:
this
.
TCID
TCID
:
this
.
TCID
};
let
fileName
=
"手配书【"
+
this
.
DMCNum
+
"】"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
let
fileName
=
"手配书【"
+
this
.
DMCNum
+
"】"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
this
.
GetLocalFile
(
"hotel_SPS_DownLoad"
,
qMsg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
},
//子组件调用父组件方法
subSetShouPeiShu
(
ShouPeiStatus
)
{
var
that
=
this
;
var
str
=
"是否将手配书设置成"
+
(
ShouPeiStatus
==
0
?
"【确定】"
:
"【暂定】"
)
+
"?"
;
this
.
Confirm
(
str
,
function
()
{
that
.
$emit
(
'SetShouPeiShu'
);
});
}
},
mounted
()
{
}
mounted
()
{}
};
</
script
>
src/components/dmc/manager/dmcTotalTable.vue
View file @
6cef32ef
...
...
@@ -292,7 +292,7 @@
v-if=
"item.LineId==14 && item.CommonReport.PriceHotelResult && item.CommonReport.PriceHotelResult.length>0"
>
<el-popover
width=
"750"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonHotelInfo
:HotelObj=
"item.CommonReport.PriceHotelResult"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUMS"
></commonHotelInfo>
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUMS"
@
SetShouPeiShu=
"SetShouPeiShu(item.TCID,item.ShouPeiStatus)"
></commonHotelInfo>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店信息
</span>
</el-popover>
</p>
...
...
@@ -544,7 +544,8 @@
showPrice
:
true
,
showPay
:
true
,
showZhan
:
true
,
showBtnList
:
true
showBtnList
:
true
,
ShowShouPeiStatus
:
true
,
//显示手配置暂定确定按钮
},
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
...
...
@@ -878,6 +879,24 @@
err
=>
{}
)
},
//更新手配书状态
SetShouPeiShu
(
TCID
,
ShouPeiStatus
)
{
var
msg
=
{
TCID
:
TCID
,
ShouPeiStatus
:(
ShouPeiStatus
==
0
?
1
:
0
)
};
this
.
apipost
(
'dmcstatistics_post_SetPriceShouPeiShuService'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
();
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
}
},
mounted
()
{
let
myDate
=
new
Date
();
...
...
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