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
5cf7656c
Commit
5cf7656c
authored
Sep 14, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 【ID1001754】【扳手会小程序-订单-完工基本信息页面】:完工基本信息页面,物料信息必填项的处理逻辑不正确。
parent
249473cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
XhParts.vue
src/components/createCom/XhParts.vue
+5
-1
complete.vue
src/pages/order/complete.vue
+6
-1
No files found.
src/components/createCom/XhParts.vue
View file @
5cf7656c
...
...
@@ -72,6 +72,10 @@ export default {
type
:
String
,
default
:
''
,
},
maintainStep
:
{
type
:
String
,
default
:
''
}
},
data
()
{
return
{
...
...
@@ -155,7 +159,7 @@ export default {
}
else
{
this
.
lists
=
[]
}
this
.
valueChange
(
JSON
.
stringify
(
val
?
this
.
lists
:
[{}]
))
this
.
valueChange
(
val
?
JSON
.
stringify
(
this
.
lists
)
:
(
this
.
maintainStep
===
'base'
?
[{}]
:
JSON
.
stringify
(
this
.
lists
)
))
},
toParts
()
{
uni
.
navigateTo
({
...
...
src/pages/order/complete.vue
View file @
5cf7656c
...
...
@@ -252,6 +252,7 @@
:item=
"item"
:value=
"form[item.fieldsName] || ''"
:disabled=
"readOnly"
:maintainStep=
"maintainStep"
@
value-change=
"fieldValueChange"
>
</xh-parts>
...
...
@@ -1092,7 +1093,11 @@ export default {
let
key
=
Object
.
keys
(
data
.
value
)[
0
]
this
.
form
[
key
]
=
data
.
value
[
key
]
}
else
{
this
.
$set
(
this
.
form
,
innerItem
.
fieldsName
,
data
.
value
)
if
(
innerItem
.
fieldsName
===
'orderSpareParts'
&&
data
.
value
===
'[]'
)
{
this
.
$set
(
this
.
form
,
innerItem
.
fieldsName
,
''
)
}
else
{
this
.
$set
(
this
.
form
,
innerItem
.
fieldsName
,
data
.
value
)
}
}
if
(
innerItem
.
fieldsName
===
'paymentMethodsType'
)
{
...
...
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