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
9bae991f
Commit
9bae991f
authored
Jul 08, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签收之后按钮没消失
parent
364b3763
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
appliedPartsCell.vue
src/components/parts/appliedPartsCell.vue
+8
-3
index.vue
src/pages/mine/warehouse/index.vue
+1
-1
partsDetail.vue
src/pages/mine/warehouse/partsDetail.vue
+6
-2
No files found.
src/components/parts/appliedPartsCell.vue
View file @
9bae991f
...
...
@@ -33,7 +33,7 @@
<text
class=
"amount-view"
>
{{
total
}}
</text>
<text>
件
</text>
</view>
<u-button
v-if=
"
buttonText
"
:custom-style=
"customStyle"
shape=
"circle"
@
click
.
stop=
"handleOperate"
type=
"primary"
>
{{
buttonText
}}
</u-button>
<u-button
v-if=
"
showButton
"
:custom-style=
"customStyle"
shape=
"circle"
@
click
.
stop=
"handleOperate"
type=
"primary"
>
{{
buttonText
}}
</u-button>
</view>
</view>
</
template
>
...
...
@@ -74,9 +74,13 @@
'20'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'100'
:
''
'100'
:
''
,
'91'
:
''
}
},
showButton
()
{
return
this
.
info
.
status
==
'1'
||
this
.
info
.
status
==
'15'
},
isHorizontal
()
{
return
this
.
type
==
'horizontal'
},
...
...
@@ -88,7 +92,8 @@
'20'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'100'
:
''
'100'
:
''
,
'91'
:
''
}
},
buttonOperateType
()
{
...
...
src/pages/mine/warehouse/index.vue
View file @
9bae991f
...
...
@@ -168,7 +168,7 @@
this
.
$u
.
api
.
applyList
(
param
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
this
.
pageNumber
==
1
)
{
this
.
partsList
=
[]
this
.
partsList
=
[]
}
let
list
=
res
.
data
||
[]
this
.
partsList
.
push
(...
list
)
...
...
src/pages/mine/warehouse/partsDetail.vue
View file @
9bae991f
...
...
@@ -43,7 +43,7 @@
</view>
</view>
</view>
<view
class=
"bottom-view"
v-if=
"
buttonText
"
>
<view
class=
"bottom-view"
v-if=
"
showButton
"
>
<view
class=
"total-view"
>
<text>
合计:
</text>
<text
class=
"amount-view"
>
{{
total
}}
</text>
...
...
@@ -84,11 +84,15 @@
'20'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'100'
:
''
'100'
:
''
,
'91'
:
''
}
},
buttonText
()
{
return
this
.
texts
[
this
.
info
.
status
]
},
showButton
()
{
return
this
.
info
.
status
==
'1'
||
this
.
info
.
status
==
'15'
},
hasExpress
()
{
return
this
.
$u
.
test
.
isEmpty
(
this
.
info
.
express
)
?
false
:
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