Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李俊赕
self-support
Commits
11c353b7
Commit
11c353b7
authored
Jun 30, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 完工提交配件
parent
f00f63e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
complete.vue
src/pages/order/complete.vue
+4
-4
No files found.
src/pages/order/complete.vue
View file @
11c353b7
...
...
@@ -567,14 +567,14 @@
},
// 提交配件信息
submitParts
()
{
if
(
this
.
form
.
orderAccessorys
)
{
const
lists
=
this
.
form
.
orderAccessorys
.
filter
(
v
=>
v
.
quantity
>
0
)
if
(
this
.
form
.
orderSpareParts
)
{
const
orderSpareParts
=
JSON
.
parse
(
this
.
form
.
orderSpareParts
)
const
lists
=
orderSpareParts
.
filter
(
v
=>
v
.
quantity
>
0
)
const
params
=
{
workOrderId
:
this
.
orderId
,
applyType
:
'10'
,
parts
:
JSON
.
stringify
(
lists
)
parts
:
lists
}
this
.
$u
.
api
.
createParts
(
params
).
then
(
res
=>
{
if
(
res
.
code
!==
200
)
{
this
.
$refs
.
uToast
.
show
({
...
...
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