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
9fd9849a
Commit
9fd9849a
authored
5 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
21bc5ae9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
newQuotation.vue
...ponents/TravelManager/TravelNewQuotation/newQuotation.vue
+14
-6
No files found.
src/components/TravelManager/TravelNewQuotation/newQuotation.vue
View file @
9fd9849a
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
<i
class=
"iconfont icon-shanchu"
></i>
<i
class=
"iconfont icon-shanchu"
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
style=
"background:#85ce61;
display:none;"
class=
"opbd"
@
click=
"DownLoadFile(item.ID
)"
>
<span
style=
"background:#85ce61;
"
class=
"opbd"
@
click=
"DownLoadFile(item
)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
popper-class=
"max-w250"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bb-xiazai"
></i>
<i
class=
"iconfont icon-bb-xiazai"
></i>
</el-tooltip>
</el-tooltip>
...
@@ -475,14 +475,22 @@
...
@@ -475,14 +475,22 @@
}
}
},
},
//报价单下载
//报价单下载
DownLoadFile
(
configId
)
{
DownLoadFile
(
item
)
{
this
.
loading
=
true
;
this
.
loading
=
true
;
var
newMsg
=
{
var
newMsg
=
{
ID
:
configId
ID
:
item
.
ID
};
};
var
fileName
=
"成本下载"
+
configId
+
".xls"
;
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_DownLoadQuotation"
,
newMsg
,
fileName
,
res
=>
{
this
.
GetLocalFile
(
"quotation_get_DownLoadQuotation"
,
newMsg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
},
},
},
},
...
...
This diff is collapsed.
Click to expand it.
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