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
784f675d
Commit
784f675d
authored
Jun 28, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退件可选数量
parent
f977f50d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
8 deletions
+17
-8
appliedPartsCell.vue
src/components/parts/appliedPartsCell.vue
+3
-3
spareCell.vue
src/components/parts/spareCell.vue
+11
-2
index.vue
src/components/submit-bar/index.vue
+2
-2
detail.vue
src/pages/order/detail.vue
+1
-1
No files found.
src/components/parts/appliedPartsCell.vue
View file @
784f675d
...
@@ -114,15 +114,15 @@
...
@@ -114,15 +114,15 @@
},
},
titleColor
()
{
titleColor
()
{
switch
(
String
(
this
.
info
.
status
))
{
switch
(
String
(
this
.
info
.
status
))
{
case
'-
1
'
:
// 审核未通过
case
'-
2
'
:
// 审核未通过
return
'#FA5A49'
return
'#FA5A49'
case
'1'
:
// 已取消
case
'
-
1'
:
// 已取消
return
'#333333'
return
'#333333'
default
:
default
:
return
'#2272FF'
return
'#2272FF'
}
}
},
},
// 待签收 15
变 已签收 20; 10 待审核 1 变
已取消 -1
// 待签收 15
-> 已签收 20; 10 待审核 1 ->
已取消 -1
willStatuses
()
{
willStatuses
()
{
return
{
return
{
'1'
:
'-1'
,
'1'
:
'-1'
,
...
...
src/components/parts/spareCell.vue
View file @
784f675d
...
@@ -8,7 +8,12 @@
...
@@ -8,7 +8,12 @@
<view>
{{
remarkText
}}
</view>
<view>
{{
remarkText
}}
</view>
</view>
</view>
</view>
</view>
<view
class=
"count-view"
>
x
{{
item
.
quantity
||
0
}}
</view>
<view
class=
"count-view"
>
<view
v-if=
"showChecked"
>
<u-number-box
v-model=
"item.quantity"
:min=
"item.min || 0"
:max=
"item.max || item.quantity"
@
change=
"numChange"
></u-number-box>
</view>
<text
v-else
>
x
{{
item
.
quantity
||
0
}}
</text>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -51,7 +56,11 @@
...
@@ -51,7 +56,11 @@
methods
:
{
methods
:
{
handleChange
()
{
handleChange
()
{
this
.
$emit
(
'change'
)
this
.
$emit
(
'change'
)
}
},
numChange
(
event
)
{
console
.
log
(
event
.
value
)
this
.
$emit
(
'numChange'
,
event
.
value
)
},
}
}
}
}
</
script
>
</
script
>
...
...
src/components/submit-bar/index.vue
View file @
784f675d
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
align-items
:
center
;
align-items
:
center
;
}
}
.bottom-left
{
.bottom-left
{
margin-left
:
30rpx
;
//
margin-left: 30rpx;
.left-list
{
.left-list
{
width
:
100%
;
width
:
100%
;
&
:nth-of-type
(
1
)
{
&
:nth-of-type
(
1
)
{
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
}
}
.bottom-right
{
.bottom-right
{
width
:
360rpx
;
width
:
360rpx
;
margin-right
:
20rpx
;
//
margin-right: 20rpx;
.btn
{
.btn
{
width
:
100%
;
width
:
100%
;
padding
:
30rpx
;
padding
:
30rpx
;
...
...
src/pages/order/detail.vue
View file @
784f675d
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
{
{
label
:
'配件申请'
,
label
:
'配件申请'
,
type
:
'image'
,
type
:
'image'
,
image
:
'
xiancahngpaizhao
.png'
,
image
:
'
peijian
.png'
,
show
:
this
.
allowFeedback
,
show
:
this
.
allowFeedback
,
disabled
:
false
,
disabled
:
false
,
count
:
3
,
count
:
3
,
...
...
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