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
d75af8bd
Commit
d75af8bd
authored
May 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a8a63470
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
569 additions
and
272 deletions
+569
-272
QuotationPrice_SWT.vue
...s/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
+521
-264
newQuotation_SWT.vue
...nts/TravelManager/TravelNewQuotation/newQuotation_SWT.vue
+48
-8
No files found.
src/components/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
View file @
d75af8bd
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/newQuotation_SWT.vue
View file @
d75af8bd
...
...
@@ -52,6 +52,14 @@
text-align
:
center
;
}
.newQuostayDays
{
padding
:
8px
15px
;
background-color
:
#2aaef2
;
color
:
#ffffff
;
text-align
:
center
;
font-size
:
14px
;
}
</
style
>
<
template
>
<div
class=
"flexOne quoTation"
>
...
...
@@ -78,6 +86,12 @@
</el-select>
</span>
</li>
<li>
<span>
<em>
团名
</em>
<el-input
v-model=
"queryData.Title"
clearable
></el-input>
</span>
</li>
<li>
<button
class=
"hollowFixedBtn"
@
click=
"getList(),resetPageIndex()"
>
查询
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goMakeQuo('QuotationPrice_SWT',0)"
>
新增
</button>
...
...
@@ -86,10 +100,10 @@
</div>
<div
class=
"commonContent"
v-loading=
"loading"
>
<ul
class=
"_content"
>
<li
v-for=
"item in dataList"
:key=
"item.subCode"
:data-id=
"item.I
D
"
style=
"padding:0 10px;"
>
<li
v-for=
"item in dataList"
:key=
"item.subCode"
:data-id=
"item.I
d
"
style=
"padding:0 10px;"
>
<div
class=
"_left"
style=
"padding:0;flex:0.3;display:flex;"
>
<div
class=
"QT_CodeNum"
>
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
{{
item
.
I
D
}}
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
{{
item
.
I
d
}}
</div>
</div>
<div
class=
"_left"
style=
"display:flex;"
>
...
...
@@ -111,9 +125,14 @@
</p>
</div>
</div>
<div
class=
"_left"
style=
"padding-left:10px"
>
<div
style=
"margin: 0 13px 0 10px;"
class=
"newQuostayDays"
>
出发日期
{{
item
.
StartDateStr
}}
</div>
</div>
<div
class=
"_cent"
>
<div
style=
"margin: 0 13px 0 10px;"
class=
"stayDays"
>
{{
item
.
DayNum
}}
天
出发日期
{{
item
.
StartDateStr
}}
</div>
<div
style=
"margin: 0 13px 0 10px;"
class=
"
newQuo
stayDays"
>
{{
item
.
DayNum
}}
天
</div>
</div>
<div
class=
"_right"
>
<div
class=
"AuditUserInfo clearfix aa"
style=
"margin-left:10px;"
>
...
...
@@ -125,9 +144,9 @@
<div>
{{
item
.
CreateByName
}}
</div>
</div>
</div>
<div
style=
"width:134px;"
>
<span
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationPrice_SWT',item.Id)"
>
<span
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationPrice_SWT',item.Id)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
...
...
@@ -140,7 +159,7 @@
</el-tooltip>
</span>
<span
style=
"background:#85ce61; "
class=
"newAopbdd"
@
click=
"
showDownLoad
(item)"
>
<span
style=
"background:#85ce61; "
class=
"newAopbdd"
@
click=
"
SwtDownLoadFile
(item)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bb-xiazai"
></i>
</el-tooltip>
...
...
@@ -219,6 +238,7 @@
PageSize
:
10
,
total
:
0
,
currentPage
:
1
,
Title
:
""
,
},
loading
:
true
,
//线路列表
...
...
@@ -316,7 +336,7 @@
//报价单跳转
goMakeQuo
(
path
,
Id
)
{
this
.
$router
.
push
({
path
:
path
,
name
:
path
,
query
:
{
Id
:
Id
,
blank
:
'y'
,
...
...
@@ -374,6 +394,26 @@
this
.
loading
=
false
;
});
},
//报价单下载
SwtDownLoadFile
(
item
)
{
this
.
downloadBill
=
false
;
this
.
loading
=
true
;
var
swtMsg
=
{
Id
:
item
.
Id
};
var
fileName
=
""
;
if
(
item
.
CustomerName
)
{
fileName
+=
"【"
+
item
.
CustomerName
+
"】"
;
}
else
if
(
item
.
LtName
)
{
fileName
+=
"【"
+
item
.
LtName
+
"】"
;
}
else
if
(
item
.
LineName
)
{
fileName
+=
"【"
+
item
.
LineName
+
"】"
;
}
fileName
+=
"成本下载.xls"
;
this
.
GetLocalFile
(
"quotation_get_SwtDownLoadQuotation"
,
swtMsg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
},
GetAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
EditQuotation
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
...
...
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