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 4c7dc8d8
authored
Jun 13, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v6.10.0' into 'develop'
发货单管理已发数量弹框字段列名修改 See merge request
!5
2 parents
c772a99b
13e90176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
94 additions
and
38 deletions
src/views/orderManage/detail.vue
src/views/orderManage/detail.vue
View file @
4c7dc8d
<
template
>
<div>
<div
style=
"text-align:right"
>
<el-button
type=
"primary"
plain
size=
"small"
icon=
"el-icon-download"
:loading=
"exportLoading"
@
click=
"exportInfo()"
>
导出列表
</el-button>
</div>
<div
style=
"text-align:right"
>
<el-button
type=
"primary"
plain
size=
"small"
icon=
"el-icon-download"
:loading=
"exportLoading"
@
click=
"exportInfo()"
>
导出列表
</el-button>
</div>
<!-- 表格区域 开始 -->
<div
class=
"table_box"
>
<el-table
v-loading=
"tableLoading"
:data=
"tableData"
stripe
style=
"width: 100%"
size=
"small"
border
>
<el-table-column
type=
"index"
label=
"序号"
width=
"60"
/>
<el-table-column
prop=
"iccid"
label=
"ICCID"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"sn"
label=
"SN"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"imei"
label=
"IMEI"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"materialCode"
label=
"物料编码"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"materialName"
label=
"物料名称"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"dispatchOrderCode"
label=
"订单号"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"updatedDate"
label=
"发货时间"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
>
<template
slot-scope=
"scope"
>
{{
DATEFORMATE
(
scope
.
row
.
updatedDate
,
'YYYY-MM-DD HH:mm:ss'
)
}}
</
template
>
<el-table
v-loading=
"tableLoading"
:data=
"tableData"
stripe
style=
"width: 100%"
size=
"small"
border
>
<el-table-column
type=
"index"
label=
"序号"
width=
"60"
/>
<el-table-column
prop=
"iccid"
label=
"ICCID"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"sn"
label=
"SN"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"imei"
label=
"IMEI"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"materialCode"
label=
"实发物料编码"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"materialName"
label=
"实发物料名称"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"dispatchOrderCode"
label=
"订单号"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
/>
<el-table-column
prop=
"updatedDate"
label=
"发货时间"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'Y'"
>
<template
slot-scope=
"scope"
>
{{
DATEFORMATE
(
scope
.
row
.
updatedDate
,
'YYYY-MM-DD HH:mm:ss'
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"dispatchOrderCode"
label=
"发货单号"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'N' || ndScan == 'D'"
/>
<el-table-column
prop=
"updatedDate"
label=
"发货时间"
show-overflow-tooltip
v-if=
"ndScan == 'N' || ndScan == 'D'"
>
<
template
slot-scope=
"scope"
>
{{
DATEFORMATE
(
scope
.
row
.
updatedDate
,
'YYYY-MM-DD'
)
}}
</
template
>
<el-table-column
prop=
"dispatchOrderCode"
label=
"发货单号"
show-overflow-tooltip
:width=
"tdWidth"
v-if=
"ndScan == 'N' || ndScan == 'D'"
/>
<el-table-column
prop=
"updatedDate"
label=
"发货时间"
show-overflow-tooltip
v-if=
"ndScan == 'N' || ndScan == 'D'"
>
<
template
slot-scope=
"scope"
>
{{
DATEFORMATE
(
scope
.
row
.
updatedDate
,
'YYYY-MM-DD'
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"logisticsCompany"
label=
"物流公司"
show-overflow-tooltip
:width=
"tdWidth"
/>
<el-table-column
prop=
"logisticsNum"
label=
"物流单号"
show-overflow-tooltip
:width=
"tdWidth"
/>
<el-table-column
prop=
"sendQulities"
label=
"发货数量"
width=
"80"
v-if=
"ndScan == 'N' || ndScan == 'D'"
/>
<el-table-column
prop=
"logisticsCompany"
label=
"物流公司"
show-overflow-tooltip
:width=
"tdWidth"
/>
<el-table-column
prop=
"logisticsNum"
label=
"物流单号"
show-overflow-tooltip
:width=
"tdWidth"
/>
<el-table-column
prop=
"sendQulities"
label=
"发货数量"
width=
"80"
v-if=
"ndScan == 'N' || ndScan == 'D'"
/>
<!-- <el-table-column prop="sendQulities" label="发货物流">
<template slot-scope="{row}">
<div v-html="row."></div>
...
...
@@ -30,15 +88,13 @@
</el-table-column> -->
</el-table>
<div
class=
"pagination_list"
>
<el-pagination
background
layout=
"sizes, total,prev, pager, next, jumper"
:total=
"pageTotal"
:page-size=
"pageSize"
:page-sizes=
"pageSizes"
@
current-change=
"getDetail"
@
size-change=
"changePageSize"
/>
<el-pagination
background
layout=
"sizes, total,prev, pager, next, jumper"
:total=
"pageTotal"
:page-size=
"pageSize"
:page-sizes=
"pageSizes"
@
current-change=
"getDetail"
@
size-change=
"changePageSize"
/>
</div>
</div>
<!-- 表格区域 end -->
...
...
@@ -49,7 +105,7 @@
import
{
PAGEDISPATCHORDERDETAIL
}
from
'@/http/interface'
import
{
EXPORTDISPATCHORDERDETAIL
}
from
'@/http/order'
import
{
EXPORTDISPATCHORDERDETAIL
}
from
'@/http/order'
import
{
exportExcel
,
}
from
'@/common/common'
...
...
@@ -82,7 +138,7 @@ export default {
},
mounted
:
function
()
{
mounted
:
function
()
{
this
.
init
()
},
methods
:
{
...
...
@@ -90,7 +146,7 @@ export default {
/**
* 初始化函数
*/
init
:
function
()
{
init
:
function
()
{
if
(
this
.
orderCode
)
{
this
.
getDetail
()
}
...
...
@@ -99,7 +155,7 @@ export default {
/**
* 查询列表
*/
getDetail
:
function
(
current
)
{
getDetail
:
function
(
current
)
{
const
_this
=
this
const
oParams
=
_this
.
getParams
()
console
.
log
(
current
)
...
...
@@ -125,7 +181,7 @@ export default {
/**
* 获取查询参数
*/
getParams
:
function
()
{
getParams
:
function
()
{
const
oParams
=
{}
oParams
.
pageSize
=
this
.
pageSize
oParams
.
pageStart
=
0
...
...
@@ -135,7 +191,7 @@ export default {
/**
* 每页展示
*/
changePageSize
:
function
(
e
)
{
changePageSize
:
function
(
e
)
{
this
.
pageSize
=
e
this
.
getDetail
()
},
...
...
@@ -143,7 +199,7 @@ export default {
/**
* 导出列表
*/
exportInfo
:
function
()
{
exportInfo
:
function
()
{
const
_this
=
this
const
_data
=
{}
_data
.
dispatchOrderCode
=
this
.
orderCode
...
...
@@ -167,7 +223,7 @@ export default {
</
script
>
<
style
lang=
"scss"
>
.table_box
{
margin
:
20px
0
;
}
.table_box
{
margin
:
20px
0
;
}
</
style
>
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