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
f9bbbfaa
Commit
f9bbbfaa
authored
Jun 29, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 配件选择样式
parent
4fc56662
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
17 deletions
+19
-17
index.vue
src/components/select-parts/index.vue
+1
-1
complete.vue
src/pages/order/complete.vue
+16
-14
addParts.vue
src/pages/parts/addParts.vue
+2
-2
No files found.
src/components/select-parts/index.vue
View file @
f9bbbfaa
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#333
;
color
:
#333
;
font-weight
:
bold
;
font-weight
:
bold
;
height
:
50
rpx
;
height
:
48
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.right-content-desc
{
.right-content-desc
{
...
...
src/pages/order/complete.vue
View file @
f9bbbfaa
...
@@ -567,21 +567,23 @@
...
@@ -567,21 +567,23 @@
},
},
// 提交配件信息
// 提交配件信息
submitParts
()
{
submitParts
()
{
const
lists
=
this
.
form
.
orderAccessorys
.
filter
(
v
=>
v
.
quantity
>
0
)
if
(
this
.
form
.
orderAccessorys
)
{
const
params
=
{
const
lists
=
this
.
form
.
orderAccessorys
.
filter
(
v
=>
v
.
quantity
>
0
)
workOrderId
:
this
.
orderId
,
const
params
=
{
applyType
:
'10'
,
workOrderId
:
this
.
orderId
,
parts
:
JSON
.
stringify
(
lists
)
applyType
:
'10'
,
}
parts
:
JSON
.
stringify
(
lists
)
this
.
$u
.
api
.
createParts
(
params
).
then
(
res
=>
{
if
(
res
.
code
!==
200
)
{
this
.
$refs
.
uToast
.
show
({
title
:
res
.
data
,
type
:
'error'
,
})
}
}
})
this
.
$u
.
api
.
createParts
(
params
).
then
(
res
=>
{
if
(
res
.
code
!==
200
)
{
this
.
$refs
.
uToast
.
show
({
title
:
res
.
data
,
type
:
'error'
,
})
}
})
}
},
},
// 提交订单
// 提交订单
orderFinish
(){
orderFinish
(){
...
...
src/pages/parts/addParts.vue
View file @
f9bbbfaa
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
</view>
</view>
<view
class=
"warp u-flex"
>
<view
class=
"warp u-flex"
>
<view
class=
"brand u-flex"
>
<view
class=
"brand u-flex"
v-if=
"brand.length > 0"
>
<view
class=
"label-content u-flex"
v-if=
"brand.length > 0"
>
<view
class=
"label-content u-flex"
>
<scroll-view
<scroll-view
style=
"width:100%;white-space: nowrap;"
style=
"width:100%;white-space: nowrap;"
scroll-x=
"true"
scroll-x=
"true"
...
...
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