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
9091efbe
Commit
9091efbe
authored
Mar 20, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交地接总表预计用款下载
parent
9221bd13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
0 deletions
+67
-0
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+67
-0
No files found.
src/components/dmc/manager/dmcTotalTable.vue
View file @
9091efbe
...
...
@@ -140,6 +140,7 @@
</li>
<li>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList();resetPageIndex()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('adm.adm_download')"
@
click=
"DownLoad.ShowDownLoad=true"
/>
</li>
</ul>
</div>
...
...
@@ -571,6 +572,21 @@
<el-dialog
:visible
.
sync=
"dialog.show"
width=
"1400px"
title=
"报价详情"
>
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
</el-dialog>
<el-dialog
:visible
.
sync=
"DownLoad.ShowDownLoad"
width=
"386px"
title=
"预计用款下载"
>
<div
style=
"height:120px;"
><ul>
<li><span><em>
{{$t('sm.chutuandate')}}
</em>
<el-date-picker
v-model=
'DownLoad.StartDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
:picker-options=
"pickerBeginDateBeforeDownLoad"
></el-date-picker>
-
<el-date-picker
v-model=
'DownLoad.EndDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
:picker-options=
"pickerBeginDateAfterDownLoad"
></el-date-picker>
</span>
</li>
<li>
<input
style=
"margin-top:25px;float:right;"
type=
"button"
class=
"normalBtn"
:value=
"$t('adm.adm_download')"
@
click=
"DownLoadExpectedUsage()"
/>
<input
style=
"margin-top:25px;float:right;"
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.cancelBtn')"
@
click=
"CancelDownLoad()"
/></li>
</ul></div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -700,6 +716,29 @@
let
startTime
=
new
Date
(
this
.
UpdateHotelMsg
.
StartDate
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
},
pickerBeginDateBeforeDownLoad
:
{
disabledDate
:
time
=>
{
if
(
this
.
DownLoad
.
EndDate
==
null
)
{
return
false
;
}
else
{
let
endTime
=
new
Date
(
this
.
DownLoad
.
EndDate
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
}
},
pickerBeginDateAfterDownLoad
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
DownLoad
.
StartDate
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
},
DownLoad
:{
ShowDownLoad
:
false
,
StartDate
:
""
,
//开始日期
EndDate
:
""
,
//结束日期
EmployeeID
:
0
,
}
}
},
...
...
@@ -710,6 +749,33 @@
priceDialog
},
methods
:
{
CancelDownLoad
(){
this
.
DownLoad
.
ShowDownLoad
=
false
;
this
.
DownLoad
.
StartDate
=
""
;
this
.
DownLoad
.
EndDate
=
""
;
this
.
DownLoad
.
EmployeeID
=
0
;
},
DownLoadExpectedUsage
(
item
)
{
this
.
loading
=
true
;
//导出报表
if
(
this
.
DownLoad
.
StartDate
==
""
||
this
.
DownLoad
.
EndDate
==
""
)
{
this
.
Error
(
'请选择出团日期'
)
this
.
loading
=
false
;
return
}
this
.
DownLoad
.
EmployeeID
=
this
.
getLocalStorage
().
EmployeeId
;
var
fileName
=
"团预计用款下载.xls"
;
this
.
GetLocalFile
(
"dmcstatistics_post_GetHotelPriceDownLoad"
,
this
.
DownLoad
,
fileName
,
res
=>
{
this
.
DownLoad
.
ShowDownLoad
=
false
;
this
.
loading
=
false
;
this
.
DownLoad
.
StartDate
=
""
;
this
.
DownLoad
.
EndDate
=
""
;
this
.
DownLoad
.
EmployeeID
=
0
;
});
},
showDialog
(
ConfigId
,
OfferId
)
{
if
(
!
OfferId
)
{
return
...
...
@@ -1216,6 +1282,7 @@
this
.
loading
=
false
;
});
},
goRoomTip
()
{
this
.
Error
(
"请联系组团OP提供分房表文件!"
);
},
...
...
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