Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
supply-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6bd5815a
authored
Nov 27, 2020
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
发货单管理添加导出功能
1 parent
7308eff5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletions
src/http/interface.js
src/views/orderManage/invoice.vue
src/http/interface.js
View file @
6bd5815
...
@@ -56,6 +56,9 @@ export const PAGEDISPATCHORDER = params => {
...
@@ -56,6 +56,9 @@ export const PAGEDISPATCHORDER = params => {
})
})
}
}
//发货单管理-导出列表
export
const
EXPORTSPGOODSORDER
=
BASEURL
+
'/JXCSPOrder/exportDispatchOrder'
;
// 发货单管理-出货明细
// 发货单管理-出货明细
export
const
GETDEVICEDETAILS
=
params
=>
{
export
const
GETDEVICEDETAILS
=
params
=>
{
return
axios
({
return
axios
({
...
...
src/views/orderManage/invoice.vue
View file @
6bd5815
...
@@ -52,6 +52,9 @@
...
@@ -52,6 +52,9 @@
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
:loading=
"tableLoading"
@
click=
"getList()"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
:loading=
"tableLoading"
@
click=
"getList()"
>
搜索
</el-button>
</el-form-item>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-download"
:loading=
"exportLoading"
@
click=
"exportInfo()"
>
导出
</el-button>
</el-form-item>
<!--
<el-form-item>
<!--
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-plus"
:loading=
"tableLoading"
@
click=
"editOrder"
>
新建发货单
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus"
:loading=
"tableLoading"
@
click=
"editOrder"
>
新建发货单
</el-button>
</el-form-item>
-->
</el-form-item>
-->
...
@@ -146,11 +149,13 @@ import {
...
@@ -146,11 +149,13 @@ import {
LISTDEVICETYPE
,
LISTDEVICETYPE
,
CANCELORDER
,
CANCELORDER
,
LISTWAREHOUSEINFOS
,
LISTWAREHOUSEINFOS
,
FINDSENDMERCHANTNO
FINDSENDMERCHANTNO
,
EXPORTSPGOODSORDER
}
from
'@/http/interface'
}
from
'@/http/interface'
import
GlsxDialog
from
'@/components/dialog/index'
import
GlsxDialog
from
'@/components/dialog/index'
import
addOrder
from
'./add'
import
addOrder
from
'./add'
import
alreadyShippedDetail
from
'./detail'
import
alreadyShippedDetail
from
'./detail'
import
{
exportExcel
}
from
'@/common/common'
export
default
{
export
default
{
name
:
'fimsTable8'
,
name
:
'fimsTable8'
,
components
:
{
components
:
{
...
@@ -164,6 +169,7 @@ export default {
...
@@ -164,6 +169,7 @@ export default {
tableData
:
[],
tableData
:
[],
dialogVisible
:
false
,
dialogVisible
:
false
,
tableLoading
:
false
,
tableLoading
:
false
,
exportLoading
:
false
,
pageTotal
:
0
,
pageTotal
:
0
,
userInfo
:
{},
userInfo
:
{},
currentPage
:
1
,
currentPage
:
1
,
...
@@ -359,6 +365,22 @@ export default {
...
@@ -359,6 +365,22 @@ export default {
this
.
showDetailDialog
=
false
this
.
showDetailDialog
=
false
},
},
/**
* 导出列表
*/
exportInfo
:
function
(){
const
_this
=
this
const
_data
=
_this
.
getParams
()
const
params
=
{
'fileName'
:
'发货单列表'
}
params
.
url
=
EXPORTSPGOODSORDER
params
.
method
=
'post'
params
.
data
=
_data
params
.
success
=
function
(){
_this
.
exportLoading
=
false
}
_this
.
exportLoading
=
true
exportExcel
(
params
)
},
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment