Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
c24fdc71
Commit
c24fdc71
authored
May 30, 2022
by
季圣华
Browse files
优化出入库汇总界面
parent
79acd695
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/report/InMaterialCount.vue
View file @
c24fdc71
...
...
@@ -153,7 +153,7 @@
{
title
:
'
名称
'
,
dataIndex
:
'
mName
'
,
width
:
120
,
ellipsis
:
true
},
{
title
:
'
规格
'
,
dataIndex
:
'
standard
'
,
width
:
100
,
ellipsis
:
true
},
{
title
:
'
型号
'
,
dataIndex
:
'
model
'
,
width
:
100
,
ellipsis
:
true
},
{
title
:
'
类
型
'
,
dataIndex
:
'
categoryName
'
,
width
:
120
,
ellipsis
:
true
},
{
title
:
'
类
别
'
,
dataIndex
:
'
categoryName
'
,
width
:
120
,
ellipsis
:
true
},
{
title
:
'
单位
'
,
dataIndex
:
'
materialUnit
'
,
width
:
120
,
ellipsis
:
true
},
{
title
:
'
入库数量
'
,
dataIndex
:
'
numSum
'
,
sorter
:
(
a
,
b
)
=>
a
.
numSum
-
b
.
numSum
,
width
:
120
},
{
title
:
'
入库金额
'
,
dataIndex
:
'
priceSum
'
,
sorter
:
(
a
,
b
)
=>
a
.
priceSum
-
b
.
priceSum
,
width
:
120
}
...
...
@@ -207,7 +207,7 @@
}
},
exportExcel
()
{
let
aoa
=
[[
'
条码
'
,
'
名称
'
,
'
规格
'
,
'
型号
'
,
'
类
型
'
,
'
单位
'
,
'
入库数量
'
,
'
入库金额
'
]]
let
aoa
=
[[
'
条码
'
,
'
名称
'
,
'
规格
'
,
'
型号
'
,
'
类
别
'
,
'
单位
'
,
'
入库数量
'
,
'
入库金额
'
]]
for
(
let
i
=
0
;
i
<
this
.
dataSource
.
length
;
i
++
)
{
let
ds
=
this
.
dataSource
[
i
]
let
item
=
[
ds
.
barCode
,
ds
.
mName
,
ds
.
standard
,
ds
.
model
,
ds
.
categoryName
,
ds
.
materialUnit
,
ds
.
numSum
,
ds
.
priceSum
]
...
...
jshERP-web/src/views/report/OutMaterialCount.vue
View file @
c24fdc71
...
...
@@ -153,7 +153,7 @@
{
title
:
'
名称
'
,
dataIndex
:
'
mName
'
,
width
:
120
,
ellipsis
:
true
},
{
title
:
'
规格
'
,
dataIndex
:
'
standard
'
,
width
:
100
,
ellipsis
:
true
},
{
title
:
'
型号
'
,
dataIndex
:
'
model
'
,
width
:
100
,
ellipsis
:
true
},
{
title
:
'
类
型
'
,
dataIndex
:
'
categoryName
'
,
width
:
120
,
ellipsis
:
true
},
{
title
:
'
类
别
'
,
dataIndex
:
'
categoryName
'
,
width
:
120
,
ellipsis
:
true
},
{
title
:
'
单位
'
,
dataIndex
:
'
materialUnit
'
,
width
:
120
,
ellipsis
:
true
},
{
title
:
'
出库数量
'
,
dataIndex
:
'
numSum
'
,
sorter
:
(
a
,
b
)
=>
a
.
numSum
-
b
.
numSum
,
width
:
120
},
{
title
:
'
出库金额
'
,
dataIndex
:
'
priceSum
'
,
sorter
:
(
a
,
b
)
=>
a
.
priceSum
-
b
.
priceSum
,
width
:
120
}
...
...
Write
Preview
Supports
Markdown
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