Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
458bd25e
Commit
458bd25e
authored
Jun 30, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分次全部放入最后一次不是剩余数据的bug
parent
70319e7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
PutIn.vue
src/views/ecw/order/splitApply/components/PutIn.vue
+11
-10
No files found.
src/views/ecw/order/splitApply/components/PutIn.vue
View file @
458bd25e
...
...
@@ -318,15 +318,16 @@ export default {
orderLocationList
}
// 如果拆完了则剩下的全部放入,否则按照比例计算
if
(
this
.
warehouseRecord
.
cartonsNum
===
this
.
totalSplitSum
(
'
num
'
)
+
row
.
num
)
{
row
.
num
=
this
.
leftData
(
'
num
'
)
row
.
volume
=
this
.
leftData
(
'
volume
'
)
row
.
weight
=
this
.
leftData
(
'
weight
'
)
row
.
quantity
=
this
.
leftData
(
'
quantity
'
)
this
.
$nextTick
(()
=>
{
if
(
this
.
leftData
(
'
num
'
,
true
)
<=
0
)
{
row
.
volume
=
this
.
leftData
(
'
volume
'
,
true
)
row
.
weight
=
this
.
leftData
(
'
weight
'
,
true
)
row
.
quantity
=
this
.
leftData
(
'
quantity
'
,
true
)
}
else
{
// 按照比例计算重量体积和数量
this
.
calc
(
row
)
}
})
this
.
form
.
list
.
push
(
row
)
},
...
...
@@ -390,7 +391,7 @@ export default {
return
this
.
$message
.
error
(
"
全拆拆出体积必须等于原入仓体积
"
)
}
if
(
this
.
splitTotal
(
'
weight
'
)
!==
this
.
warehouseRecord
.
weight
){
return
this
.
$message
.
error
(
"
全拆拆出
体积
必须等于原入仓体积
"
)
return
this
.
$message
.
error
(
"
全拆拆出
重量
必须等于原入仓体积
"
)
}
}
this
.
$emit
(
'
submit
'
,
this
.
form
.
list
)
...
...
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