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
bf168d02
Commit
bf168d02
authored
Jun 30, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完工页面配件组件的datavalue为空时候的处理
parent
ce3dbf48
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
XhParts.vue
src/components/createCom/XhParts.vue
+2
-1
complete.vue
src/pages/order/complete.vue
+1
-1
No files found.
src/components/createCom/XhParts.vue
View file @
bf168d02
...
...
@@ -71,7 +71,8 @@
},
methods
:
{
getWorkOrderParts
()
{
this
.
lists
=
JSON
.
parse
(
this
.
dataValue
)
||
[]
// this.lists = JSON.parse(this.dataValue) || []
this
.
lists
=
this
.
dataValue
?
JSON
.
parse
(
this
.
dataValue
)
:
[]
},
partsChange
(
val
,
index
)
{
this
.
$set
(
this
.
lists
[
index
],
'quantity'
,
val
)
...
...
src/pages/order/complete.vue
View file @
bf168d02
...
...
@@ -688,7 +688,7 @@
if
(
innerItem
.
fieldsName
===
'pipe'
||
innerItem
.
fieldsName
===
'pipeUseLength'
)
{
// 申请费用计算
this
.
calcMoney
()
}
console
.
log
(
"this.form"
,
this
.
form
)
//
console.log("this.form", this.form)
},
// 申请费用计算
...
...
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