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
d157a3bd
Commit
d157a3bd
authored
Mar 26, 2023
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓补充重复表单问题
parent
b14f7bbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+18
-12
No files found.
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
d157a3bd
...
...
@@ -642,16 +642,16 @@ export default {
},
0
)
},
handleSubmit
()
{
const
orderWarehouseInItemDoList
=
[
...
this
.
warehousing
.
orderWarehouseInBackItemDoList
,
...
this
.
form
.
orderWarehouseInItemDoList
.
map
(
e
=>
{
return
{
...
e
,
boxGauge
:
e
.
boxGauge1
+
'
*
'
+
e
.
boxGauge2
+
'
*
'
+
e
.
boxGauge3
,
orderLocationCreateReqVOList
:
e
.
orderLocationBackVOList
}
})
]
//
const orderWarehouseInItemDoList = [
//
...this.warehousing.orderWarehouseInBackItemDoList,
//
...this.form.orderWarehouseInItemDoList.map(e => {
//
return {
//
...e,
//
boxGauge: e.boxGauge1 + '*' + e.boxGauge2 + '*' + e.boxGauge3,
//
orderLocationCreateReqVOList: e.orderLocationBackVOList
//
}
//
})
//
]
if
(
this
.
activeName
!==
"
first
"
){
// 添加非填单货物
this
.
$refs
[
'
form1
'
].
validate
(
valid
=>
{
...
...
@@ -717,14 +717,20 @@ export default {
}
})
}
else
{
// 首次入仓
// 首次入仓
、入仓补充
return
orderWarehouseIn
({
...
this
.
form
,
brandType
:
this
.
warehousing
.
brandType
,
orderId
:
this
.
warehousing
.
orderId
,
orderItemId
:
this
.
warehousing
.
orderItemId
,
orderNo
:
this
.
warehousing
.
orderNo
,
orderWarehouseInItemDoList
orderWarehouseInItemDoList
:
this
.
tableData
.
map
(
e
=>
{
return
{
...
e
,
boxGauge
:
e
.
boxGauge1
+
'
*
'
+
e
.
boxGauge2
+
'
*
'
+
e
.
boxGauge3
,
orderLocationCreateReqVOList
:
e
.
orderLocationBackVOList
}
}),
}).
then
(
r
=>
{
if
(
r
.
data
)
{
this
.
$message
.
success
(
'
入仓成功
'
)
...
...
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