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
c9c0bbc5
Commit
c9c0bbc5
authored
Oct 10, 2021
by
季圣华
Browse files
解决组装拆卸单的多选商品的bug
parent
a3415ea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/mixins/BillModalMixin.js
View file @
c9c0bbc5
...
...
@@ -278,6 +278,12 @@ export const BillModalMixin = {
let
taxLastMoneyTotal
=
0
for
(
let
j
=
0
;
j
<
mArr
.
length
;
j
++
)
{
taxLastMoneyTotal
+=
mArr
[
j
].
taxLastMoney
-
0
//组合和拆分单据给商品类型进行重新赋值
if
(
j
===
0
)
{
mArr
[
0
].
mType
=
'
组合件
'
}
else
{
mArr
[
j
].
mType
=
'
普通子件
'
}
}
this
.
materialTable
.
dataSource
=
mArr
target
.
statisticsColumns
.
taxLastMoney
=
taxLastMoneyTotal
...
...
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